keepload 提供默认配置,不再提供自定义参数
parent
1586fffb26
commit
2fff8268b4
|
|
@ -1,6 +1,5 @@
|
||||||
@import url("../../layui/css/layui.css");
|
@import url("../../layui/css/layui.css");
|
||||||
|
|
||||||
|
|
||||||
@import url("pear-module/dtree/font/dtreefont.css");
|
@import url("pear-module/dtree/font/dtreefont.css");
|
||||||
@import url("pear-module/icon/iconfont.css");
|
@import url("pear-module/icon/iconfont.css");
|
||||||
@import url("pear-module/dtree/dtree.css");
|
@import url("pear-module/dtree/dtree.css");
|
||||||
|
|
|
||||||
|
|
@ -136,8 +136,8 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
this.keepLoad = function(param) {
|
this.keepLoad = function(param) {
|
||||||
compatible()
|
compatible()
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$(".loader-main").fadeOut(200);
|
$(".loader-main").fadeOut(400);
|
||||||
}, param.other.keepLoad)
|
}, 2500)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.themeRender = function(option) {
|
this.themeRender = function(option) {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ layui.define(['jquery', 'element','util'], function(exports) {
|
||||||
element = layui.element;
|
element = layui.element;
|
||||||
|
|
||||||
var topBar = new function() {
|
var topBar = new function() {
|
||||||
|
|
||||||
util.fixbar({});
|
util.fixbar({});
|
||||||
}
|
}
|
||||||
exports(MOD_NAME,topBar);
|
exports(MOD_NAME,topBar);
|
||||||
|
|
|
||||||
|
|
@ -198,8 +198,6 @@ layui.define(['layer', 'table'], function (exports) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 给图标列绑定事件
|
// 给图标列绑定事件
|
||||||
$('body').on('click', '.treeTable .treeTable-icon', function () {
|
$('body').on('click', '.treeTable .treeTable-icon', function () {
|
||||||
var treeLinkage = $(this).parents('.treeTable').attr('treeLinkage');
|
var treeLinkage = $(this).parents('.treeTable').attr('treeLinkage');
|
||||||
|
|
|
||||||
|
|
@ -63,8 +63,5 @@
|
||||||
"title": "问答社区",
|
"title": "问答社区",
|
||||||
"href": "http://forum.pearadmin.com/"
|
"href": "http://forum.pearadmin.com/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"other": {
|
|
||||||
"keepLoad": 1200
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue