mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改后台样式
This commit is contained in:
parent
f760d7bffa
commit
2263a78c4b
@ -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;
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user