diff --git a/public/static/admin.js b/public/static/admin.js index cfd6ac0aa..56c9f9f19 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -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'}); } }); });