From a6882531e2e285c0e4609940583deee9ffb124ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Tue, 11 Mar 2025 16:18:24 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A8=A1=E6=9D=BF=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=20(#15280)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/MarketPreviewV2.vue | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue b/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue index 082439bd10..b2f08e845e 100644 --- a/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue +++ b/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue @@ -507,6 +507,7 @@ onMounted(() => { white-space: nowrap; cursor: pointer; color: var(--TextPrimary, #1f2329); + background: rgba(255, 255, 255, 1); -webkit-appearance: none; text-align: center; box-sizing: border-box; @@ -515,16 +516,14 @@ onMounted(() => { transition: 0.1s; border-radius: 3px; - &:active { - color: #000; - border-color: #3a8ee6; - background-color: red; - outline: 0; + &:hover { + background-color: rgba(245, 246, 247, 1); + border-color: rgba(187, 191, 196, 1); } - &:hover { - background-color: rgba(225, 234, 255, 1); - border-color: rgba(51, 112, 255, 1); + &:active { + background-color: rgba(239, 240, 241, 1); + border-color: rgba(187, 191, 196, 1); } } @@ -646,13 +645,11 @@ onMounted(() => { } .filter-icon-active { - border: 1px solid var(--ed-color-primary); - color: var(--ed-color-primary); -} - -.filter-icon-active { - border: 1px solid var(--ed-color-primary); + border: 1px solid var(--ed-color-primary) !important; color: var(--ed-color-primary); + &:hover { + background-color: rgba(225, 234, 255, 1); + } } .search-area {