From 6c2d717e3e5ef595953476bb2c5a16de0e52fb51 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 14 Mar 2019 15:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=87=92=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/embed.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/embed.js b/static/embed.js index a768e6a..50b076f 100644 --- a/static/embed.js +++ b/static/embed.js @@ -10,13 +10,15 @@ // }); // }); // 这个东西没值,你拿不到 -layui.use(['upload','form','element','layer'], function(){ +layui.use(['upload','form','element','layer','flow'], function(){ var upload = layui.upload; var form = layui.form; var element = layui.element; var layer = layui.layer; var storage = $('#storage input[name="storage"]:checked ').val(); - + //图片懒加载 + var flow = layui.flow; + flow.lazyimg(); //图片查看器 layer.photos({ photos: '#found'