From 75459b0472a1159b51f9f76d7b56216ac7183eb0 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Mon, 29 Mar 2021 16:38:38 +0800 Subject: [PATCH 1/3] * Finish task #37125,#37097. --- module/index/css/index.css | 5 +++-- module/index/js/index.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/index/css/index.css b/module/index/css/index.css index b9766ee0c6..3a4e82a8d8 100644 --- a/module/index/css/index.css +++ b/module/index/css/index.css @@ -53,8 +53,9 @@ body.menu-hide {padding-left: 0;} #bars {position: absolute; left: 0; top: 0; bottom: 0; padding: 0 5px;} #bars > li {padding: 8px 2px;} #bars > li > a {height: 24px; color: #000; padding: 2px 8px; line-height: 20px; border-radius: 2px;} -#bars > li > a:hover, #bars > li > a:active, #bars > li > a:focus {background: #16a8f8;} -#bars > li.active > a, #bars > li.active > a:active, #bars > li.active > a:focus {font-weight: 600; border-bottom: 2px solid #16a8f8;} +#bars > li.active > a {background: #fff!important;} +#bars > li > a:hover, #bars > li > a:active, #bars > li > a:focus {background: #16a8f8!important; color: #fff;} +#bars > li.active > a > span, #bars > li.active > a:active > span, #bars > li.active > a:focus > span {padding-bottom: 2px; font-weight: 600; border-bottom: 2px solid #16a8f8;} #bars > li.active:after {content: ' '; display: block; position: absolute; height: 3px; left: 5px; right: 5px; bottom: 0; border-radius: 2px;} #bars > li.divider{margin-right: 5px; margin-top: 10px; height: 20px; border-right: 1px solid #d9d9d9;} diff --git a/module/index/js/index.js b/module/index/js/index.js index 09cc085a75..e7a35349cd 100644 --- a/module/index/js/index.js +++ b/module/index/js/index.js @@ -229,7 +229,7 @@ var $link= $('') .attr('data-app', appCode) .attr('class', 'show-in-app') - .html(app.text); + .html('' + app.text + ''); var barCount = $('#bars li').length; if(barCount) $bar = $('
').appendTo($bars); From 669b0794abae4195aea576310798216a599fede2 Mon Sep 17 00:00:00 2001 From: qiyu-xie