diff --git a/Pear Admin v 2.0/admin/css/pearMenu.css b/Pear Admin v 2.0/admin/css/pearMenu.css index 5eee826..82e4f43 100644 --- a/Pear Admin v 2.0/admin/css/pearMenu.css +++ b/Pear Admin v 2.0/admin/css/pearMenu.css @@ -18,7 +18,7 @@ .layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover{ - background-color: #5FB878!important; + background-color: #5FB878; } diff --git a/Pear Admin v 2.0/component/layui/lay/extends/pearAdmin.js b/Pear Admin v 2.0/component/layui/lay/extends/pearAdmin.js index 6879fac..3c851ec 100644 --- a/Pear Admin v 2.0/component/layui/lay/extends/pearAdmin.js +++ b/Pear Admin v 2.0/component/layui/lay/extends/pearAdmin.js @@ -140,11 +140,20 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearTab', 'pearMenu', 'pear style += '.light-theme .pear-nav-tree .layui-this a:hover,.light-theme .pear-nav-tree .layui-this,.light-theme .pear-nav-tree .layui-this a,.pear-nav-tree .layui-this a,.pear-nav-tree .layui-this{background-color: ' + color + '!important;}'; + + // 自定义 Logo 标题演示 + style+= + '.pear-admin .layui-logo .title{color:'+ + color+'!important;}'; // 自 定 义 标 签 配 色 style += '.pear-frame-title .dot,.pear-tab .layui-this .pear-tab-active{background-color: ' + color + '!important;}'; + // 自 定 义 快 捷 菜 单 + style += '.bottom-nav li a:hover{background-color:'+ + color +'!important;}'; + // 自 定 义 顶 部 配 色 style += '.pear-admin .layui-header .layui-nav .layui-nav-bar{background-color: ' + color + '!important;}' diff --git a/Pear Admin v 2.0/index.html b/Pear Admin v 2.0/index.html index 153c458..f0c59c9 100644 --- a/Pear Admin v 2.0/index.html +++ b/Pear Admin v 2.0/index.html @@ -109,6 +109,11 @@ layer.msg("当前监听消息" + id + "消息标题:" + title); } }) + + $("body").on("click",".pearson",function(){ + pearTab.addTabOnlyByElem("content" + ,{id:111,title:"个人信息",url:"http://www.baidu.com",close:true}) + }) }) diff --git a/Pear Admin v 2.0/view/console/console.html b/Pear Admin v 2.0/view/console/console.html index 9531f1e..59d3583 100644 --- a/Pear Admin v 2.0/view/console/console.html +++ b/Pear Admin v 2.0/view/console/console.html @@ -179,15 +179,8 @@
-
-
    -
  • 项目列表
  • -
  • 数据统计
  • -
-
-
-
+