Browse Source

详情 & 个人中心底部去掉

layui
mail_yanpeng@163.com 6 years ago
parent
commit
1e1f42630a
  1. 9
      static/css/blog.css
  2. 11
      views/blog.html
  3. 5
      views/ublogs.html
  4. 5
      views/uinfo.html
  5. 5
      views/ulike.html
  6. 5
      views/unote.html

9
static/css/blog.css

@ -27,16 +27,17 @@
} }
.blog-info .blog-author .blog-label{ .blog-info .blog-author .blog-label{
flex: 1; flex: 1;
height: 28px; height: 22px;
line-height: 28px; line-height: 22px;
text-align: right; text-align: right;
padding-top: 20px; padding-top: 26px;
} }
.blog-info .blog-author .blog-label label{ .blog-info .blog-author .blog-label label{
color: #888; color: #888;
border:1px dotted #aaa; border:1px dotted #aaa;
padding: 0 5px; padding: 0 5px;
border-radius: 5px; border-radius: 5px;
font-size: 10px;
} }
.blog-info .blog-author .author-headimg .img-circle{ .blog-info .blog-author .author-headimg .img-circle{
width: 48px !important; width: 48px !important;
@ -86,6 +87,6 @@ img {
} }
.blog-referral{ .blog-referral{
width: 65%; width: 100%;
margin: 40px auto; margin: 40px auto;
} }

11
views/blog.html

@ -59,20 +59,21 @@
</div> </div>
{{end}} {{end}}
</div> </div>
<div style="margin-top: 50px">
{{template "footer"}}
</div>
<div class="blog-referral"> <div class="blog-referral">
{{range .Top}} {{range .Top}}
<div> <div>
<a href="/blog/{{.Id}}"><p <a href="/blog/{{.Id}}"><p
style="max-width:290px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
{{.Title}}</p> {{.Title}}</p>
</a> </a>
</div> </div>
{{end}} {{end}}
</div> </div>
<div style="margin-top: 50px">
{{template "footer"}}
</div>
</div> </div>
</div> </div>
</div> </div>

5
views/ublogs.html

@ -2,7 +2,7 @@
<title>博客 - 云悦</title> <title>博客 - 云悦</title>
<link type="text/css" rel="styleSheet" href="/static/css/me.css"/> <link type="text/css" rel="styleSheet" href="/static/css/me.css"/>
</head> </head>
<body> <body style="background-color: #f9f9f9">
<div class="root-container"> <div class="root-container">
{{template "nav" .}} {{template "nav" .}}
{{template "memenu" .}} {{template "memenu" .}}
@ -49,9 +49,6 @@
</nav> </nav>
</div> </div>
</div> </div>
<div class="me-blog-footer">
{{template "footer"}}
</div>
</div> </div>
</div> </div>
</div> </div>

5
views/uinfo.html

@ -3,7 +3,7 @@
<link type="text/css" rel="styleSheet" href="/static/css/me.css"/> <link type="text/css" rel="styleSheet" href="/static/css/me.css"/>
<script type="text/javascript" src="/static/js/upload.js"></script> <script type="text/javascript" src="/static/js/upload.js"></script>
</head> </head>
<body> <body style="background-color: #f9f9f9">
<div class="root-container"> <div class="root-container">
{{template "nav" .}} {{template "nav" .}}
{{template "memenu" .}} {{template "memenu" .}}
@ -50,9 +50,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="me-footer">
{{template "footer"}}
</div>
</div> </div>
</div> </div>
</div> </div>

5
views/ulike.html

@ -2,7 +2,7 @@
<title>博客 - 云悦</title> <title>博客 - 云悦</title>
<link type="text/css" rel="styleSheet" href="/static/css/me.css"/> <link type="text/css" rel="styleSheet" href="/static/css/me.css"/>
</head> </head>
<body> <body style="background-color: #f9f9f9">
<div class="root-container"> <div class="root-container">
{{template "nav" .}} {{template "nav" .}}
{{template "memenu" .}} {{template "memenu" .}}
@ -48,9 +48,6 @@
</nav> </nav>
</div> </div>
</div> </div>
<div class="me-blog-footer">
{{template "footer"}}
</div>
</div> </div>
</div> </div>
</div> </div>

5
views/unote.html

@ -2,7 +2,7 @@
<title>博客 - 云悦</title> <title>博客 - 云悦</title>
<link type="text/css" rel="styleSheet" href="/static/css/me.css"/> <link type="text/css" rel="styleSheet" href="/static/css/me.css"/>
</head> </head>
<body> <body style="background-color: #f9f9f9">
<div class="root-container"> <div class="root-container">
{{template "nav" .}} {{template "nav" .}}
{{template "memenu" .}} {{template "memenu" .}}
@ -30,9 +30,6 @@
</div> </div>
{{end}} {{end}}
<div class="me-footer">
{{template "footer"}}
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save