From 3e078014df32193ca6b3a8c1cfc8d8994306711b Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Tue, 27 Dec 2022 17:11:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=BD=BB=E5=A5=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/themes/fashion/style.json | 4 +++- src/themes/highend/style.json | 4 +++- src/themes/luxury/style.json | 4 +++- src/themes/main/style.json | 4 +++- src/views/Guide/Guide.vue | 8 ++++---- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/themes/fashion/style.json b/src/themes/fashion/style.json index 6ee28e0..9f84fd1 100644 --- a/src/themes/fashion/style.json +++ b/src/themes/fashion/style.json @@ -77,7 +77,9 @@ "arrowRadius": "100px", "floorColor": "#FFFFFF", "floorActiveColor": "rgba(0, 0, 0, 0.8)", - "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)" + "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)", + "currentBg": "linear-gradient(99.5deg, #F0B92B 0%, #F9D556 100%)", + "currentColor": "rgba(0, 0, 0, 0.8)" }, "search": { "background": "linear-gradient(180deg, #E0E3EE 0%, #D4D9E7 100%)", diff --git a/src/themes/highend/style.json b/src/themes/highend/style.json index 5ab1841..1be32e9 100644 --- a/src/themes/highend/style.json +++ b/src/themes/highend/style.json @@ -77,7 +77,9 @@ "arrowRadius": "4px", "floorColor": "rgba(0, 0, 0, 0.6)", "floorActiveColor": "rgba(0, 0, 0, 0.8)", - "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)" + "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)", + "currentBg": "linear-gradient(99.5deg, #F0B92B 0%, #F9D556 100%)", + "currentColor": "rgba(0, 0, 0, 0.8)" }, "search": { "background": "linear-gradient(180deg, #BA9B7A 0%, #DBC2A1 100%)", diff --git a/src/themes/luxury/style.json b/src/themes/luxury/style.json index 7f87634..aa811a6 100644 --- a/src/themes/luxury/style.json +++ b/src/themes/luxury/style.json @@ -77,7 +77,9 @@ "arrowRadius": "100px", "floorColor": "rgba(0, 0, 0, 0.8)", "floorActiveColor": "#FFFFFF", - "floorActiveBg": "linear-gradient(180deg, #D2A97E 0%, #EDD59E 100%)" + "floorActiveBg": "linear-gradient(180deg, #D2A97E 0%, #EDD59E 100%)", + "currentBg": "#6E5E54", + "currentColor": "#FFFFFF" }, "search": { "background": "linear-gradient(180deg, #E9E9E9 0%, #C9C9C9 100%)", diff --git a/src/themes/main/style.json b/src/themes/main/style.json index 387ec84..67dcc27 100644 --- a/src/themes/main/style.json +++ b/src/themes/main/style.json @@ -77,7 +77,9 @@ "arrowRadius": "100px", "floorColor": "#FFFFFF", "floorActiveColor": "rgba(0, 0, 0, 0.8)", - "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)" + "floorActiveBg": "linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%)", + "currentBg": "linear-gradient(99.5deg, #F0B92B 0%, #F9D556 100%)", + "currentColor": "rgba(0, 0, 0, 0.8)" }, "search": { "background": "linear-gradient(180deg, #E0E3EE 0%, #D4D9E7 100%)", diff --git a/src/views/Guide/Guide.vue b/src/views/Guide/Guide.vue index 4182d75..bd3f1dd 100644 --- a/src/views/Guide/Guide.vue +++ b/src/views/Guide/Guide.vue @@ -265,10 +265,10 @@ watch( height: 20px; display: flex; content: '您在本层'; - background: linear-gradient(99.5deg, #f0b92b 0%, #f9d556 100%); + background: var(--guide-currentBg); font-weight: 700; font-size: 12px; - color: rgba(0, 0, 0, 0.8); + color: var(--guide-currentColor); align-items: center; justify-content: center; } @@ -388,10 +388,10 @@ watch( height: 20px; display: flex; content: '您在本层'; - background: linear-gradient(99.5deg, #f0b92b 0%, #f9d556 100%); + background: var(--guide-currentBg); font-weight: 700; font-size: 12px; - color: rgba(0, 0, 0, 0.8); + color: var(--guide-currentColor); align-items: center; justify-content: center; }