mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改图片加载
This commit is contained in:
parent
b680baca58
commit
51d7432ba4
@ -1058,7 +1058,7 @@ $(function () {
|
|||||||
event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src});
|
event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src});
|
||||||
}) && layer.photos({
|
}) && layer.photos({
|
||||||
anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) {
|
anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) {
|
||||||
$ele.find('img').attr('referrer-policy', 'no-referrer');
|
$ele.find('img').attr('referrerpolicy', 'no-referrer');
|
||||||
$ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'});
|
$ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user