Browse Source

细节优化

layui
mail_yanpeng@163.com 4 years ago
parent
commit
a449625fd2
  1. 8
      static/css/common.css
  2. 2
      static/css/common.min.css
  3. 3
      views/T.footer.tpl
  4. 11
      views/search.html
  5. 2
      views/us.html
  6. 2
      views/user.html

8
static/css/common.css

@ -90,8 +90,8 @@ a{
}
.img-circle{
width: 36px;
height: 36px;
width: 31px;
height: 31px;
border-radius: 50%;
}
@ -296,8 +296,8 @@ img {
.home-content{
display: flex;
min-height: 50px;
line-height: 50px;
min-height: 36px;
line-height: 36px;
}
.home-content-title{

2
static/css/common.min.css

File diff suppressed because one or more lines are too long

3
views/T.footer.tpl

@ -2,9 +2,10 @@
<div class="footer-root">
<div style="flex: 1">
<div class="footer-friend">
<a href="https://gitea.aiprose.com/nelson" target="_blank" style="padding: 0 5px">码农笔录Git仓库</a>
<a href="http://pan.aiprose.com/" target="_blank" style="padding: 0 5px">码农笔录网盘</a>
<a href="https://blog.csdn.net/yp090416" target="_blank" style="padding: 0 5px">码农笔录-CSDN</a>
<a href="https://www.jianshu.com/u/6baf4cdc7ce1" target="_blank" style="padding: 0 5px">码农笔录-简书</a>
<a href="http://www.alexa.cn" target="_blank" style="padding: 0 5px">ALEXA</a>
</div>
<div class="footer-friend">
<span>© 2018 - © 2019

11
views/search.html

@ -40,7 +40,16 @@
$(function () {
$("#searchVal").keypress(function (e) {
if (e.which == 13) {
search();
}
});
$("#searchBtn").click(function () {
search();
})
function search() {
var searchVal = $("#searchVal").val()
if (!searchVal || searchVal.trim().length == 0) {
layer.msg("请输入查询内容")
@ -81,7 +90,7 @@
//请求出错处理
}
})
})
}
})
</script>
</html>

2
views/us.html

@ -6,7 +6,7 @@
{{template "nav" .}}
<div class="us-root">
<div style="width: 450px">
<p>·项目源码: <a href="https://git.coding.net/yirenyishi/beeblog.git" target="_blank">点击查看</a></p>
<p>·项目源码: <a href="https://gitea.aiprose.com/nelson/beeblog" target="_blank">点击查看</a></p>
<p>·项目框架: </p>
<div style="margin-left: 15px">
<p><span>golang 1.11</span></p>

2
views/user.html

@ -37,7 +37,7 @@
<div class="blog-list">
<p style="margin: 0;font-size: 16px"><a href="/blog/{{.Id}}" target="_blank">{{.Title}}</a></p>
</div>
<hr style="height:1px;border:none;border-top:1px solid #EEE;margin: 0"/>
<hr style="height:1px;border:none;margin: 0"/>
{{end}}
</div>
<div style="text-align: center">

Loading…
Cancel
Save