From a7c1da825f14e5bf7c2f11c69695b90d9f49ac68 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: Mon, 18 Jan 2021 20:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=20select=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/css/pear-module/select.css | 4 ++-- component/pear/modules/theme.js | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/component/pear/css/pear-module/select.css b/component/pear/css/pear-module/select.css index 22a17d2..d301327 100644 --- a/component/pear/css/pear-module/select.css +++ b/component/pear/css/pear-module/select.css @@ -220,7 +220,7 @@ select[xm-select] { .xm-select-parent dl dd.xm-select-this div i { border: none; - color: #67c23a; + color: #5FB878; font-size: 18px; } @@ -294,7 +294,7 @@ select[xm-select] { .xm-select-parent .xm-select-title div.xm-select-label>span { position: relative; padding: 2px 5px; - background-color: #67c23a; + background-color: #5FB878; border-radius: 2px; color: #FFF; display: inline-block; diff --git a/component/pear/modules/theme.js b/component/pear/modules/theme.js index 4dccfc4..b2a982f 100644 --- a/component/pear/modules/theme.js +++ b/component/pear/modules/theme.js @@ -60,7 +60,11 @@ layui.define(["jquery","layer"], function (exports) { style += '.step-item-head{border: 3px solid '+color+';}' style += '.step-item-tail i{background-color:'+color+'}' style += '.step-item-head{color:' + color + '}' - + style += 'div[xm-select-skin=normal] .xm-select-title div.xm-select-label>span i {background-color:'+color+'!important}' + style += 'div[xm-select-skin=normal] .xm-select-title div.xm-select-label>span{border: 1px solid '+color+'!important;background-color:'+color+'!important}' + style += 'div[xm-select-skin=normal] dl dd:not(.xm-dis-disabled) i{border-color:'+color+'!important}' + style += 'div[xm-select-skin=normal] dl dd.xm-select-this:not(.xm-dis-disabled) i{color:'+color+'!important}' + style += 'div[xm-select-skin=normal].xm-form-selected .xm-select, div[xm-select-skin=normal].xm-form-selected .xm-select:hover{border-color:'+color+'!important}' var colorPane = $("#pear-admin-color"); if(colorPane.length>0){ colorPane.html(style);