diff --git a/functions/version.txt b/functions/version.txt index 03298bf..8b0ed5d 100644 --- a/functions/version.txt +++ b/functions/version.txt @@ -1 +1 @@ -v1.1(20180504) \ No newline at end of file +v1.1(20180506) \ No newline at end of file diff --git a/static/embed.js b/static/embed.js index 35b1a4b..0a70140 100644 --- a/static/embed.js +++ b/static/embed.js @@ -9,10 +9,13 @@ layui.use(['layer', 'form','element','upload','flow'], function(){ var element = layui.element; var upload = layui.upload; var flow = layui.flow; - //当你执行这样一个方法时,即对页面中的全部带有lay-src的img元素开启了懒加载(当然你也可以指定相关img) - // flow.lazyimg({ - // elem:'#found-img img' - // }); + //图片懒加载 + flow.lazyimg({ + elem:'#found-img img' + }); + flow.lazyimg({ + elem:'#adminpic img' + }); //首页拖拽上传 upload.render({ diff --git a/tpl/user/header.php b/tpl/user/header.php index d9a0846..0aec3d1 100644 --- a/tpl/user/header.php +++ b/tpl/user/header.php @@ -12,7 +12,7 @@ - +