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},