修改后台样式

This commit is contained in:
邹景立 2022-03-05 21:58:31 +08:00
parent f760d7bffa
commit 2263a78c4b
4 changed files with 6 additions and 8 deletions

View File

@ -181,6 +181,8 @@ $(function () {
this.$main = $('.think-page-body+.think-page-loader');
this.stat = function () {
return this.$body.is(':visible');
}, this.done = function () {
that.page.$body.fadeOut();
}, this.show = function () {
this.stat() || this.$main.removeClass('layui-hide').show();
}, this.hide = function () {
@ -293,6 +295,7 @@ $(function () {
if (typeof callable === 'function' && callable.call(that, ret) === false) return false;
return typeof ret === 'object' ? $.msg.auto(ret, time || ret.wait || undefined) : that.show(ret);
}, complete: function () {
$.msg.page.done();
$.msg.close(loadidx);
}
});
@ -1042,11 +1045,6 @@ $(function () {
})
});
/*! 延时关闭加载动画 */
window.addEventListener('load', function () {
setTimeout("$('body>.think-page-loader').fadeOut()", 200);
}, true);
/*! 图片加载异常处理 */
document.addEventListener('error', function (event) {
var elem = event.target;

View File

@ -661,7 +661,7 @@
left: 0;
right: 0;
bottom: 0;
z-index: 9999999;
z-index: 1999;
position: fixed;
text-align: center;
background-color: @LoadBackColor;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long