搭建框架

This commit is contained in:
Minho
2017-04-20 18:19:32 +08:00
parent 4ebc28a431
commit d58087f723
70 changed files with 33940 additions and 28331 deletions

View File

@@ -1,73 +1,189 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="/static/iview/styles/iview.css">
<link rel="stylesheet" href="/static/css/main.css">
<script type="text/javascript" src="/static/vuejs/vue.min.js"></script>
<script type="text/javascript" src="/static/iview/iview.min.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>用户中心 - Powered by MinDoc</title>
<!-- Bootstrap -->
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="/static/css/main.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="/static/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="/static/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="app">
<template>
<Dropdown placement="bottom-start">
<a href="javascript:void(0)">
菜单(左)
<Icon type="arrow-down-b"></Icon>
</a>
<Dropdown-menu slot="list">
<Dropdown-item>驴打滚</Dropdown-item>
<Dropdown-item>炸酱面</Dropdown-item>
<Dropdown-item>豆汁儿</Dropdown-item>
<Dropdown-item>冰糖葫芦</Dropdown-item>
<Dropdown-item>北京烤鸭</Dropdown-item>
</Dropdown-menu>
</Dropdown>
<Dropdown style="margin-left: 20px">
<a href="javascript:void(0)">
菜单(居中)
<Icon type="arrow-down-b"></Icon>
</a>
<Dropdown-menu slot="list">
<Dropdown-item>驴打滚</Dropdown-item>
<Dropdown-item>炸酱面</Dropdown-item>
<Dropdown-item>豆汁儿</Dropdown-item>
<Dropdown-item>冰糖葫芦</Dropdown-item>
<Dropdown-item>北京烤鸭</Dropdown-item>
</Dropdown-menu>
</Dropdown>
<Dropdown style="margin-left: 20px" placement="bottom-end">
<a href="javascript:void(0)">
菜单(右)
<Icon type="arrow-down-b"></Icon>
</a>
<Dropdown-menu slot="list">
<Dropdown-item>驴打滚</Dropdown-item>
<Dropdown-item>炸酱面</Dropdown-item>
<Dropdown-item>豆汁儿</Dropdown-item>
<Dropdown-item>冰糖葫芦</Dropdown-item>
<Dropdown-item>北京烤鸭</Dropdown-item>
</Dropdown-menu>
</Dropdown>
</template>
<div class="manual-reader manual-container">
{{template "widgets/header.tpl" .}}
<div class="container manual-body">
<div class="row">
<div class="manual-list">
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="{{urlfor "DocumentController.Index" ":key" "test"}}">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png" class="cover">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="list-item">
<dl class="manual-item-standard">
<dt>
<a href="#">
<img src="/uploads/201704/b4c17ca29fe7b7f4dec402d7dd7543c6_100.png">
</a>
</dt>
<dd>
<a href="#" class="name">Docker生产环境实践指南</a>
</dd>
<dd>
<span class="author">
<b class="text">作者</b>
<b class="text">-</b>
<b class="text">Minho</b>
</span>
</dd>
</dl>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
{{template "widgets/footer.tpl" .}}
</div>
<script src="/static/jquery/1.12.4/jquery.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
</body>
<script type="text/javascript">
new Vue({
el: '#app',
data: function(){
return { visible: false }
},
methods : {
hasParent : function () {
return false
}
}
})
</script>
</body>
</html>
</html>