From f9b65f5f3fc0b32d4333c8cbaf3da0e364b4d639 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: Thu, 3 Dec 2020 17:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/css/pear-module/menu.css | 10 ++++++++-- component/pear/modules/admin.js | 8 ++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/component/pear/css/pear-module/menu.css b/component/pear/css/pear-module/menu.css index 60e929b..1a40e9b 100644 --- a/component/pear/css/pear-module/menu.css +++ b/component/pear/css/pear-module/menu.css @@ -83,13 +83,19 @@ font-size: 14px; } +.pear-nav-control.pc li{ + display: inline-block; +} + .pear-nav-control.pc .layui-nav-bar { top: 0px !important; } .pear-nav-control.pc .layui-this * { - color: #5FB878!important; - font-weight: 600; + background-color: whitesmoke; +} +.pear-nav-control.pc *{ + color: darkslategray!important; } .pear-nav-control.pc .layui-nav-bar{ display: none!important; diff --git a/component/pear/modules/admin.js b/component/pear/modules/admin.js index 58cdd70..3d03565 100644 --- a/component/pear/modules/admin.js +++ b/component/pear/modules/admin.js @@ -215,14 +215,10 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'], style += '.layui-nav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this{background-color:' + color + '!important}'; - - style += ".pear-nav-control.pc .layui-this *{color:" + color + "!important}"; - + style += '.pear-social-entrance {background-color:' + color + '!important}'; style += '.pear-admin .pe-collaspe {background-color:' + color + '!important}'; - /* if ($("iframe").contents().find("#customTheme").length > 0) { - $("iframe").contents().find("#customTheme").remove(); - } */ + $("#pearadmin-bg-color").html(style); } };