diff --git a/Pear Admin v 2.0/admin/css/pearCommon.css b/Pear Admin v 2.0/admin/css/pearCommon.css index d7e2818..40c2779 100644 --- a/Pear Admin v 2.0/admin/css/pearCommon.css +++ b/Pear Admin v 2.0/admin/css/pearCommon.css @@ -19,7 +19,9 @@ .layui-table-tool .layui-inline{border-radius: 3px!important;width: 30px!important;height: 30px!important;line-height: 20px!important;} .layui-table-view .layui-table[lay-skin=line]{border: none!important;} - +.layui-elem-quote{ + border-left: 5px solid #5FB878!important; +} .pear-btn { diff --git a/Pear Admin v 2.0/admin/css/pearLoad.css b/Pear Admin v 2.0/admin/css/pearLoad.css index 36e0f2d..63c2737 100644 --- a/Pear Admin v 2.0/admin/css/pearLoad.css +++ b/Pear Admin v 2.0/admin/css/pearLoad.css @@ -57,6 +57,12 @@ animation: spin 1.5s linear infinite; } +.preloader .preloader-message { + display: block; + position: relative; + left: 50%; + top: 50%; +} @keyframes spin { 0% { diff --git a/Pear Admin v 2.0/admin/data/menu.json b/Pear Admin v 2.0/admin/data/menu.json index 3991d6d..f32e091 100644 --- a/Pear Admin v 2.0/admin/data/menu.json +++ b/Pear Admin v 2.0/admin/data/menu.json @@ -23,6 +23,42 @@ "spread": true }] }, + { + "id": 4, + "title": "系统管理", + "icon": "layui-icon layui-icon-face-cry", + "type": 0, + "href": "", + "spread": true, + "children": [{ + "id": 41, + "title": "用户管理", + "icon": "layui-icon layui-icon-username", + "type": 1, + "openType": "_iframe", + "href": "view/system/user.html", + "spread": true + }, + { + "id": 42, + "title": "角色管理", + "icon": "layui-icon layui-icon-user", + "type": 1, + "openType": "_iframe", + "href": "view/system/role.html", + "spread": true + }, + { + "id": 43, + "title": "权限管理", + "icon": "layui-icon layui-icon-user", + "type": 1, + "openType": "_iframe", + "href": "view/system/power.html", + "spread": true + } + ] + }, { "id": 2, "title": "扩展组件", @@ -151,74 +187,10 @@ "type": 0, "href": "", "spread": true, - "children": [{ - "id": 31, - "title": "数据统计", - "icon": "layui-icon layui-icon-face-smile", - "type": 0, - "openType": "_iframe", - "href": "view/error/403.html", - "spread": true, - "children": [] - }, - { - "id": 32, - "title": "数据表格", - "icon": "layui-icon layui-icon-face-cry", - "type": 0, - "openType": "_iframe", - "href": "view/error/404.html", - "spread": true, - "children": [] - }, - - { - "id": 33, - "title": "卡片列表", - "icon": "layui-icon layui-icon-face-cry", - "type": 0, - "openType": "_iframe", - "href": "view/error/500.html", - "children": [] - } + "children": [ ] }, - { - "id": 4, - "title": "系统管理", - "icon": "layui-icon layui-icon-face-cry", - "type": 0, - "href": "", - "spread": true, - "children": [{ - "id": 41, - "title": "用户管理", - "icon": "layui-icon layui-icon-username", - "type": 1, - "openType": "_iframe", - "href": "view/system/user.html", - "spread": true - }, - { - "id": 42, - "title": "角色管理", - "icon": "layui-icon layui-icon-user", - "type": 1, - "openType": "_iframe", - "href": "view/system/role.html", - "spread": true - }, - { - "id": 43, - "title": "权限管理", - "icon": "layui-icon layui-icon-user", - "type": 1, - "openType": "_iframe", - "href": "view/system/power.html", - "spread": true - } - ] - }, { + { "id": "error", "title": "错误页面", "icon": "layui-icon layui-icon-face-cry", diff --git a/Pear Admin v 2.0/component/layui/lay/extends/pearTab.js b/Pear Admin v 2.0/component/layui/lay/extends/pearTab.js index 64227eb..13728ce 100644 --- a/Pear Admin v 2.0/component/layui/lay/extends/pearTab.js +++ b/Pear Admin v 2.0/component/layui/lay/extends/pearTab.js @@ -195,11 +195,7 @@ layui.define(['jquery', 'element'], function (exports) { } } - element.tabChange(elem,opt.id); - - - } diff --git a/Pear Admin v 2.0/index.html b/Pear Admin v 2.0/index.html index 23631f6..7828465 100644 --- a/Pear Admin v 2.0/index.html +++ b/Pear Admin v 2.0/index.html @@ -73,6 +73,7 @@
+
系统初始化...
@@ -87,7 +88,7 @@ * 框架初始化配置 * */ var config = { - keepLoad: false, // 主 页 加 载 过 度 时 长 可为 false + keepLoad: 1200, // 主 页 加 载 过 度 时 长 可为 false muiltTab: true, // 是 否 开 启 多 标 签 页 true 开启 false 关闭 control: false, // 是 否 开 启 多 系 统 菜 单 true 开启 false 关闭 theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题 diff --git a/Pear Admin v 2.0/view/common/senior/table.html b/Pear Admin v 2.0/view/common/senior/table.html index c062053..639bfe7 100644 --- a/Pear Admin v 2.0/view/common/senior/table.html +++ b/Pear Admin v 2.0/view/common/senior/table.html @@ -2,138 +2,224 @@ - 数据表格 - + - - - - + -
-
数据表格封装
-
- -
- - - -
-
+ +
+
+
+
+ +
+ +
+ +
+ +
+ + +
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + diff --git a/Pear Admin v 2.0/view/common/senior/treeTable.html b/Pear Admin v 2.0/view/common/senior/treeTable.html index 95fca5b..94db235 100644 --- a/Pear Admin v 2.0/view/common/senior/treeTable.html +++ b/Pear Admin v 2.0/view/common/senior/treeTable.html @@ -2,344 +2,176 @@ - Layui树形表格2.x演示 - - - + Title + + -
-
-
-
- -
- - - - - -
- -
- - -
- - -
-
-
-
- - - - - - - - - - - -
-
- +
+
+
+
+ + + + + + + + + + + + - \ No newline at end of file diff --git a/Pear Admin v 2.0/view/console/console.html b/Pear Admin v 2.0/view/console/console.html index 8ed2271..9531f1e 100644 --- a/Pear Admin v 2.0/view/console/console.html +++ b/Pear Admin v 2.0/view/console/console.html @@ -7,8 +7,7 @@ - -