|
@@ -141,7 +141,7 @@
|
|
|
<view v-show="!viewMode" >
|
|
|
|
|
|
<view v-for="(item,index) in stationslist" :key="item.id" class="charing-slow" @click="stationDetail(item)">
|
|
|
- <text :class="item.type == '快充' ? 'fast-charge':'trickle-charge'">{{item.type}}</text> <text class="station-items">{{item.name}}</text>
|
|
|
+ <text :class="item.type == '快充' ? 'fast-charge':(item.type == '慢充' ? 'trickle-charge':'fast-trickle-charge')">{{item.type}}</text> <text class="station-items">{{item.name}}</text>
|
|
|
<view class="address">
|
|
|
{{item.position}}
|
|
|
</view>
|
|
@@ -184,7 +184,7 @@
|
|
|
<view class="swiper-item" style="height: 100%; background-color: #ffffff;" @click="stationDetail(item)">
|
|
|
<view class="card_item" style="font-size: 35rpx;padding-top: 5rpx;">
|
|
|
<view style="display: flex;flex-direction: row;">
|
|
|
- <view :class="item.type == '快充'? 'fast-charge':'trickle-charge'" >
|
|
|
+ <view :class="item.type == '快充' ? 'fast-charge':(item.type == '慢充' ? 'trickle-charge':'fast-trickle-charge')" >
|
|
|
{{item.type}}
|
|
|
</view>
|
|
|
<view>
|
|
@@ -1118,6 +1118,18 @@ export default {
|
|
|
font-size: 12px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+
|
|
|
+ .fast-trickle-charge {
|
|
|
+ display: inline-block;
|
|
|
+ width: 66px;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ border-radius: 50px;
|
|
|
+ background-color: #00BAC8;
|
|
|
+ color: rgba(255, 255, 255, 100);
|
|
|
+ font-size: 12px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
.trickle-charge {
|
|
|
display: inline-block;
|
|
|
width: 44px;
|