Browse Source

過度layui

layui
mail_yanpeng@163.com 6 years ago
parent
commit
8d78969223
  1. 1
      static/css/blogs.css
  2. 3
      static/css/common.css
  3. 2
      static/css/login.css
  4. 7
      views/note.html
  5. 13
      views/ublogs.html
  6. 15
      views/uinfo.html
  7. 15
      views/unote.html

1
static/css/blogs.css

@ -61,3 +61,4 @@
text-align: center text-align: center
} }

3
static/css/common.css

@ -122,3 +122,6 @@ a{
.pagination ul .active a{ .pagination ul .active a{
color: #fff; color: #fff;
} }
.breadcrumb-container{
padding: 20px;
}

2
static/css/login.css

@ -1,5 +1,5 @@
.login-root { .login-root {
background: url("/static/img/login.png") no-repeat; background: #f0e7db url("/static/img/login.png") no-repeat;
position: absolute; position: absolute;
min-height: 100%; min-height: 100%;
width: 100%; width: 100%;

7
views/note.html

@ -11,11 +11,14 @@
<link type="text/css" rel="styleSheet" href="/static/css/menu-reset.css"/> <link type="text/css" rel="styleSheet" href="/static/css/menu-reset.css"/>
<link type="text/css" rel="styleSheet" href="/static/css/notemenu.css"/> <link type="text/css" rel="styleSheet" href="/static/css/notemenu.css"/>
<link type="text/css" rel="styleSheet" href="/static/css/menunav.css"/> <link type="text/css" rel="styleSheet" href="/static/css/menunav.css"/>
<link rel="stylesheet" href="/static/layui/css/layui.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js"></script> <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/layer.js"></script>
<link rel="stylesheet" href="/static/layui/css/layui.css">
<script type="text/javascript" src="/static/layui/layui.js"></script>
<script src="/static/js/menu.js"></script> <!-- Modernizr --> <script src="/static/js/menu.js"></script> <!-- Modernizr -->
<script src="/static/js/wangEditor.min.js"></script> <script src="/static/js/wangEditor.min.js"></script>
<script type="text/javascript" src="/static/layui/layui.js"></script>
<style> <style>
.w-e-toolbar { .w-e-toolbar {
height: 40px; height: 40px;

13
views/ublogs.html

@ -9,11 +9,14 @@
<div class="me-blog-root"> <div class="me-blog-root">
<div class="me-blog-list"> <div class="me-blog-list">
<ol class="breadcrumb"> <div class="breadcrumb-container">
<li>个人中心</li> <span class="layui-breadcrumb">
<li>我的博客</li> <a href="/">首页</a>
<li class="active">博客列表</li> <a href="">个人中心</a>
</ol> <a href="/me/blog">我的博客</a>
<a><cite>博客列表</cite></a>
</span>
</div>
{{range .Page.List}} {{range .Page.List}}
<div> <div>
<p><a href="/blog/{{.Id}}">{{.Title}}</a></p> <p><a href="/blog/{{.Id}}">{{.Title}}</a></p>

15
views/uinfo.html

@ -9,13 +9,16 @@
{{template "memenu" .}} {{template "memenu" .}}
<div class="me-blog-root"> <div class="me-blog-root">
<div class="me-blog-list"> <div class="me-blog-list">
<ol class="breadcrumb"> <div class="breadcrumb-container">
<li>个人中心</li> <span class="layui-breadcrumb">
<li>我的资料</li> <a href="/">首页</a>
<li class="active">个人信息</li> <a href="">个人中心</a>
</ol> <a href="/me/info">我的资料</a>
<a><cite>个人信息</cite></a>
</span>
</div>
<div style="display: flex"> <div style="display: flex">
<div style="width: 128px"> <div style="width: 160px">
<img src="{{.HeadImg}}" alt="头像" class="img-circle img-circle-large"> <img src="{{.HeadImg}}" alt="头像" class="img-circle img-circle-large">
<div id="drop_area" style="margin-top: 15px"></div> <div id="drop_area" style="margin-top: 15px"></div>
</div> </div>

15
views/unote.html

@ -9,12 +9,15 @@
<div class="me-blog-root"> <div class="me-blog-root">
<div class="me-blog-list"> <div class="me-blog-list">
<ol class="breadcrumb"> <div class="breadcrumb-container">
<li>个人中心</li> <span class="layui-breadcrumb">
<li>笔记文件夹</li> <a href="/">首页</a>
<li class="active">管理文件夹</li> <a href="">个人中心</a>
<button type="button" class="btn btn-primary" style="margin-left: 30px" id="newBtn">新增</button> <a href="/me/note">我的收藏</a>
</ol> <a><cite>管理文件夹</cite></a>
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" style="margin-left: 30px" id="newBtn">新增</button>
</span>
</div>
</div> </div>
{{range .Note}} {{range .Note}}

Loading…
Cancel
Save