Update admin.js

This commit is contained in:
Anyon 2022-04-11 14:19:47 +08:00
parent 0d4d2ba1d7
commit f14f0f81b5

View File

@ -1032,7 +1032,7 @@ $(function () {
event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src});
}) && layer.photos({
anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) {
$ele.find('.layui-layer-close').css({top: 0, right: 0, position: 'fixed'});
$ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'});
}
});
});