Commit ca01d38d by cy

start to write a simple slider

parent e3f111e8
<nav class="page-nav hide-on-small-only"> <nav class="page-nav hide-on-small-only">
<div class="nav-wrapper <%= theme.color.page_nav %>"> <div class="nav-wrapper <%= theme.color.page_nav %>" style="background-color: #187cc2 !important;">
<span class="breadcrumb"><%= nav_head %></span> <span class="breadcrumb"><%= nav_head %></span>
<% if (partial_path) { %> <% if (partial_path) { %>
<%- partial(partial_path) %> <%- partial(partial_path) %>
......
<% if (item.tags && item.tags.length > 0){ %>
<div class="tags-row">
<% item.tags.forEach(function(tag) { %>
<a href="#" class="chip <%= theme.color.tag %>"><%= tag %></a>
<% }); %>
</div>
<% } %>
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en" flag="team">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
......
...@@ -468,14 +468,14 @@ ...@@ -468,14 +468,14 @@
</div> </div>
<div class="row" style="width: 80%;margin: 0 auto;"> <div class="row" style="width: 80%;margin: 0 auto;">
<div class="col-md-6"> <div class="col-md-6">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
...@@ -486,35 +486,35 @@ ...@@ -486,35 +486,35 @@
<br/><br/> <br/><br/>
<div class="row student"> <div class="row student">
<div class="col-md-2"> <div class="col-md-2">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
...@@ -530,28 +530,28 @@ ...@@ -530,28 +530,28 @@
</div> </div>
<div class="row student"> <div class="row student">
<div class="col-md-3"> <div class="col-md-3">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
</div></a> </div></a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<a href="#"><div class="st-feature"> <a href="/about/caiyu.html"><div class="st-feature">
<img src="/images/fr.jpg"> <img src="/images/fr.jpg">
<strong class="st-feature-title">唐坤杰(博士生)</strong> <strong class="st-feature-title">唐坤杰(博士生)</strong>
<p style="color: #000;">执行策划</p> <p style="color: #000;">执行策划</p>
......
...@@ -357,8 +357,8 @@ $(document).ready(function() { ...@@ -357,8 +357,8 @@ $(document).ready(function() {
<h4><span class="author">Author: 唐坤杰</span> <h4><span class="author">Author: 唐坤杰</span>
</h4> </h4>
<p> <p>
<span class="plink"><a href="http:www.baidu.com">查看详情</a></span> <span class="plink"><a href="/testcase/潮流计算.html">测试案例</a></span>
<span class="plink"><a href="http:www.baidu.com">查看详情</a></span> <span class="plink"><a href="/usage/潮流计算.html">使用说明</a></span>
</p> </p>
</figcaption> </figcaption>
...@@ -432,8 +432,8 @@ $(document).ready(function() { ...@@ -432,8 +432,8 @@ $(document).ready(function() {
<h4><span class="author">Author: 唐坤杰</span> <h4><span class="author">Author: 唐坤杰</span>
</h4> </h4>
<p> <p>
<span class="plink"><a href="http:www.baidu.com">查看详情</a></span> <span class="plink"><a href="/testcase/潮流计算.html">测试案例</a></span>
<span class="plink"><a href="http:www.baidu.com">查看详情</a></span> <span class="plink"><a href="/usage/潮流计算.html">使用说明</a></span>
</p> </p>
</figcaption> </figcaption>
......
<div class="container main-container" relag="page"> <% if ((page.categories == "testcase") || (page.categories == "usage")) { %>
<%- partial('_partial/article', {item: page, index: false, extra: false}) %> <%- partial('post') %>
</div> <% } else { %>
<%- partial('_partial/teams/teamMember') %>
<% } %>
\ No newline at end of file
<% if (page.categories == 'news') { %>
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
...@@ -71,8 +69,5 @@ ...@@ -71,8 +69,5 @@
</body> </body>
</html> </html>
<% } else { %>
<p> <%= page.categories[0] %> </p>
<%- partial('_partial/teams/teamMember') %>
<% } %>
@import 'nib'
// 全局变量
@import '_base/variable'
@import '_base/icons.css'
// 重置基础库
@import '_base/lib_customize'
// 基本布局
@import '_base/layout'
// 各组件布局
@import '_partial/link_context'
@import '_partial/header'
@import '_partial/search'
@import '_partial/article'
@import '_partial/footer'
@import '_partial/slider'
@import '_partial/side_nav'
@import '_partial/tablecontents'
@import '_partial/other'
// 语法高亮
@import '_partial/syntax'
// 读书页面
@import '_partial/reading'
// 关于页面
@import '_partial/about'
// @import '_partial/archive'
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论