6-16更新 新增更多上传功能

This commit is contained in:
Hellohao
2019-06-16 05:39:31 +08:00
parent 50b9a577fb
commit 39e7375762
3 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
#数据库账号picturebed
spring.datasource.username=picturebed
spring.datasource.username=root
#数据库密码
spring.datasource.password=Aa923453645
spring.datasource.password=root
#数据库链接地址
spring.datasource.url=jdbc:mysql://hellohao.cn:3306/picturebed?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
spring.datasource.url=jdbc:mysql://localhost:3306/picturebed?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
#端口
server.port=8088
@@ -421,7 +421,6 @@
var view = {
imgurl: rows.imgurl
};
//var output = Mustache.render('<div class="pin" onclick="win(\'{{&url}}\', \'{{name}}\')"><img class="img" src="{{&imgurl}}" lay-src="{{&imgurl}}"/><p class="description" align="center">{{name}}</p></div>', view);
var output = Mustache.render('<a style="cursor:pointer;" onclick="lookimgs(\'{{&imgurl}}\')">{{imgurl}}</a>', view);
return output;
//return "<a style=\"cursor:pointer;\" onclick='lookimgs(\"" + rows.imgurl + "\");'>" + rows.imgurl + "</a>";
+2 -2
View File
@@ -31,10 +31,10 @@
<ul class="nav navbar-nav">
<li class="hidden-sm hidden-md ">
<!-- <a onclick="guanyu();" target="_blank" style="cursor:pointer;">说明</a>-->
<a href="http://www.hellohao.cn" target="_blank">作者博客</a>
<!-- <a href="http://www.hellohao.cn" target="_blank">作者博客</a>-->
</li>
<li>
<a href="https://github.com/Hello-hao/Tbed" target="_blank">Github开源</a>
<!-- <a href="https://github.com/Hello-hao/Tbed" target="_blank">Github开源</a>-->
</li>
</ul>
<ul id="usersrc" class="nav navbar-nav navbar-right hidden-sm">