show:function(){
img = 'http://192.168.0.109:8080/ima/2019-06-24/201906241102346192.png';
layer.open({
type: 2,//1:本地 2:url
title: '图片查看',
shadeClose: true,
shade: 0.6,//遮罩层
area: ['90%', '90%'],
anim:1,//动画 -1不显示
content: img
});
},
layer弹出图片
最新推荐文章于 2023-07-04 18:16:10 发布