From 2fff8268b45798e89cfe6af18037615ee26992d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Wed, 30 Sep 2020 13:37:45 +0800 Subject: [PATCH] =?UTF-8?q?keepload=20=E6=8F=90=E4=BE=9B=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE,=E4=B8=8D=E5=86=8D=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/css/pear.css | 1 - component/pear/module/admin.js | 4 ++-- component/pear/module/topBar.js | 1 - component/pear/module/treetable.js | 4 +--- pear.config.json | 5 +---- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/component/pear/css/pear.css b/component/pear/css/pear.css index fea9e57..a9d8dd9 100644 --- a/component/pear/css/pear.css +++ b/component/pear/css/pear.css @@ -1,6 +1,5 @@ @import url("../../layui/css/layui.css"); - @import url("pear-module/dtree/font/dtreefont.css"); @import url("pear-module/icon/iconfont.css"); @import url("pear-module/dtree/dtree.css"); diff --git a/component/pear/module/admin.js b/component/pear/module/admin.js index 4207260..d0fc8fb 100644 --- a/component/pear/module/admin.js +++ b/component/pear/module/admin.js @@ -136,8 +136,8 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'], this.keepLoad = function(param) { compatible() setTimeout(function() { - $(".loader-main").fadeOut(200); - }, param.other.keepLoad) + $(".loader-main").fadeOut(400); + }, 2500) } this.themeRender = function(option) { diff --git a/component/pear/module/topBar.js b/component/pear/module/topBar.js index 64a1cfb..e71c586 100644 --- a/component/pear/module/topBar.js +++ b/component/pear/module/topBar.js @@ -7,7 +7,6 @@ layui.define(['jquery', 'element','util'], function(exports) { element = layui.element; var topBar = new function() { - util.fixbar({}); } exports(MOD_NAME,topBar); diff --git a/component/pear/module/treetable.js b/component/pear/module/treetable.js index 3ae5bfc..6c48cc5 100644 --- a/component/pear/module/treetable.js +++ b/component/pear/module/treetable.js @@ -197,9 +197,7 @@ layui.define(['layer', 'table'], function (exports) { }); } }; - - - + // 给图标列绑定事件 $('body').on('click', '.treeTable .treeTable-icon', function () { var treeLinkage = $(this).parents('.treeTable').attr('treeLinkage'); diff --git a/pear.config.json b/pear.config.json index b518dbe..9fa58de 100644 --- a/pear.config.json +++ b/pear.config.json @@ -63,8 +63,5 @@ "title": "问答社区", "href": "http://forum.pearadmin.com/" } - ], - "other": { - "keepLoad": 1200 - } + ] }