From c99783f6f229884c3745b398a11dd45608696aa5 Mon Sep 17 00:00:00 2001 From: Jmysy <854085467@qq.com> Date: Sat, 18 Apr 2020 15:30:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pear Admin v 2.0/admin/css/pearCommon.css | 4 +- Pear Admin v 2.0/admin/css/pearLoad.css | 6 + Pear Admin v 2.0/admin/data/menu.json | 104 ++-- .../component/layui/lay/extends/pearTab.js | 4 - Pear Admin v 2.0/index.html | 3 +- .../view/common/senior/table.html | 338 +++++++----- .../view/common/senior/treeTable.html | 480 ++++++------------ Pear Admin v 2.0/view/console/console.html | 3 +- 8 files changed, 418 insertions(+), 524 deletions(-) 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 @@