完善主题
parent
a25d79798b
commit
a400e252a5
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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;}'
|
||||
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -179,15 +179,8 @@
|
|||
<div class="layui-col-md9">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-body">
|
||||
|
||||
<div class="layui-tab custom-tab layui-tab-brief" lay-filter="docDemoTabBrief">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">项目列表</li>
|
||||
<li>数据统计</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>
|
||||
</div>
|
||||
<div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue