//点击图片前置图片
$("selector img").click(function(){
layer.open({
type: 1, //page层
area: ['808px', '423px'],
title: 'hello',
shade: 0.8, //遮罩透明度
moveType: 0, //拖拽风格,0是默认,1是传统拖动
shift: 0, //0-6的动画形式,-1不开启
content: $(".slidepic-01 li").html()
});
});
layui点击打开图片窗口
最新推荐文章于 2023-07-04 18:16:10 发布