mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
调整代码样式
This commit is contained in:
parent
2cb22b376e
commit
05b323d314
@ -106,7 +106,7 @@
|
||||
<!-- 主体内容 结束 -->
|
||||
</div>
|
||||
<!-- 页面加载动画 -->
|
||||
<div class="think-page-loader">
|
||||
<div class="layui-page-loader">
|
||||
<div class="loader"></div>
|
||||
</div>
|
||||
{/block}
|
||||
|
@ -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
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user