From a26be5013b568dee5cf0dbbd2d110cd562223b39 Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 3 Mar 2023 18:31:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=E4=BF=AE=E6=94=B9=E5=AD=A6=E4=B9=A0?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=9B=BE=E5=AD=97=E4=BD=93=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PathDetailImage.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index a3a4740..8c0bf75 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -16,7 +16,7 @@ backgroundSize:'100%', width:`${current===i?107:93}px`, height:`${current===i?imgAttr.cheightC:imgAttr.cheight}px`, - lineHeight:'50px',color: current===i?'#FFF':'#A06438'}"> + lineHeight:'50px',color: current===i?imgAttr.ccolors:imgAttr.colors}"> {{ item.name }} @@ -54,6 +54,8 @@ const imageAttrs = { backurl: back, currentBack: currentBack, nameBack: nameBack, + ccolors: '#FFF', + colors: '#FFF', positions: [ {left: 50, top: 425}, {left: 440, top: 425}, @@ -73,6 +75,8 @@ const imageAttrs = { backurl: back2, currentBack: currentBack2, nameBack: nameBack2, + ccolors: 'rgb(253,191,117)', + colors: '#FFF', positions: [ {left: 40, top: 380}, {left: 160, top: 290}, @@ -92,6 +96,8 @@ const imageAttrs = { backurl: back1, currentBack: currentBack1, nameBack: nameBack1, + ccolors: '#FFF', + colors: '#A06438', positions: [ {left: 20, top: 390}, {left: 210, top: 380},