一点优化

pull/16/head
xiaoz 2018-05-06 23:25:34 +08:00
parent ec9c9ead33
commit 93bb0735bc
3 changed files with 9 additions and 6 deletions

View File

@ -1 +1 @@
v1.1(20180504)
v1.1(20180506)

View File

@ -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({

View File

@ -12,7 +12,7 @@
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="favicon.ico" />
<link rel="stylesheet" href="./static/layui/css/layui.css">
<link rel="stylesheet" href="./static/style.css?v=1.1">
<link rel="stylesheet" href="./static/style.css?v=1.10506">
<script src = "https://libs.xiaoz.top/clipBoard.js/clipBoard.min.js"></script>
</head>
<body>