|
@@ -46,6 +46,7 @@
|
|
|
<u-tag
|
|
|
class="preference_item"
|
|
|
v-for="(item, index) in info.miles_type"
|
|
|
+ :key="index"
|
|
|
:style="index == preference.miles_index ? 'background-color:#00B962;color:#FFFFFF' : 'background-color:#EFF4F2;color:#926666'"
|
|
|
shape="circle"
|
|
|
:text="item.text"
|
|
@@ -59,6 +60,7 @@
|
|
|
<u-tag
|
|
|
class="preference_item"
|
|
|
v-for="(item, index) in info.obc_type"
|
|
|
+ :key="index"
|
|
|
:style="index == preference.obc_type_index ? 'background-color:#00B962;color:#FFFFFF' : 'background-color:#EFF4F2;color:#926666'"
|
|
|
shape="circle"
|
|
|
:text="item.text"
|
|
@@ -73,6 +75,7 @@
|
|
|
<u-tag
|
|
|
class="preference_item_plus"
|
|
|
v-for="(item, index) in info.obc_status"
|
|
|
+ :key="index"
|
|
|
:style="index == preference.obc_status_index ? 'background-color:#00B962;color:#FFFFFF' : 'background-color:#EFF4F2;color:#926666'"
|
|
|
shape="circle"
|
|
|
:text="item.text"
|
|
@@ -86,6 +89,7 @@
|
|
|
<u-tag
|
|
|
class="preference_item_plus"
|
|
|
v-for="(item, index) in info.obc_voltage"
|
|
|
+ :key="index"
|
|
|
:style="index == preference.obc_voltage_index ? 'background-color:#00B962;color:#FFFFFF' : 'background-color:#EFF4F2;color:#926666'"
|
|
|
shape="circle"
|
|
|
:text="item.text"
|
|
@@ -164,7 +168,7 @@
|
|
|
|
|
|
<view v-if="stations.length>0" class="chargerCard" style="border-radius: 20rpx;" >
|
|
|
<swiper :current="currentIndex" @change="swiperChange" @transition="swiperTransition" style="height: 100%;">
|
|
|
- <swiper-item v-for="(item,index) in stations" style="height: 100%;">
|
|
|
+ <swiper-item v-for="(item,index) in stations" :key="index" style="height: 100%;">
|
|
|
|
|
|
<view class="swiper-item" style="height: 100%; background-color: #ffffff;">
|
|
|
<view class="card_item" style="font-size: 35rpx;padding-top: 5rpx;">
|