调整代码样式

This commit is contained in:
邹景立 2021-04-09 21:49:24 +08:00
parent 2cb22b376e
commit 05b323d314
4 changed files with 8 additions and 8 deletions

View File

@ -106,7 +106,7 @@
<!-- 主体内容 结束 -->
</div>
<!-- 页面加载动画 -->
<div class="think-page-loader">
<div class="layui-page-loader">
<div class="loader"></div>
</div>
{/block}

View File

@ -217,7 +217,7 @@ $(function () {
/*! 异步加载的数据 */
this.load = function (url, data, method, callback, loading, tips, time, headers) {
// 如果主页面 loader 显示中,绝对不显示 loading 图标
loading = $('.think-page-loader').is(':visible') ? false : loading;
loading = $('.layui-page-loader').is(':visible') ? false : loading;
var index = loading !== false ? $.msg.loading(tips) : 0;
if (typeof data === 'object' && typeof data['_token_'] === 'string') {
headers = headers || {}, headers['User-Form-Token'] = data['_token_'], delete data['_token_'];
@ -893,8 +893,8 @@ $(function () {
/*! 延时关闭加载动画 */
setTimeout(function () {
$('.think-page-loader').fadeOut();
}, 600);
$('.layui-page-loader').fadeOut();
}, 800);
/*! 系统菜单表单页面初始化 */
$.menu.listen(), $.vali.listen(), $.form.reInit($body);

File diff suppressed because one or more lines are too long

View File

@ -518,13 +518,13 @@
}
/*! 首页加载动画 */
.think-page-loader {
.layui-page-loader {
top: 0;
width: 100%;
height: 100%;
z-index: 9999999;
position: fixed;
background-color: whitesmoke;
background-color: #E9E7E7;
.loader {
top: 50%;
@ -533,7 +533,7 @@
margin: -30px auto 40px;
z-index: 999999;
position: relative;
background-color: whitesmoke;
background-color: #E9E7E7;
}
.loader:before {