|
@@ -33,10 +33,13 @@
|
|
|
|
|
|
>
|
|
>
|
|
<view class="deviceList-main">
|
|
<view class="deviceList-main">
|
|
-
|
|
|
|
- <span class="btn12 " v-if="item.type=='1,2'" >快/慢</span>
|
|
|
|
- <span class="btn12 btn2" v-if="item.type=='1'" >快充</span>
|
|
|
|
- <span class="btn12 btn1" v-if="item.type=='2'" >慢充</span>
|
|
|
|
|
|
+ <template v-if="item.category=='超充'"> <span class="btn12 btn3" >超充</span></template>
|
|
|
|
+ <template v-else >
|
|
|
|
+ <span class="btn12 " v-if="item.type=='1,2'" >快/慢</span>
|
|
|
|
+ <span class="btn12 btn2" v-if="item.type=='1'" >快充</span>
|
|
|
|
+ <span class="btn12 btn1" v-if="item.type=='2'" >慢充</span>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
{{item.name}}
|
|
{{item.name}}
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -48,7 +51,10 @@
|
|
<view class="deviceList-foot" v-else >
|
|
<view class="deviceList-foot" v-else >
|
|
|
|
|
|
<view class="deviceList-label" style="color: #333333;" >总数<b>{{item.totalNum}}</b></view>
|
|
<view class="deviceList-label" style="color: #333333;" >总数<b>{{item.totalNum}}</b></view>
|
|
- <view class="deviceList-label" style="color: #7a68f6;" v-if="item.fastNum" >/直流快充<b>{{item.fastNum}}</b></view>
|
|
|
|
|
|
+
|
|
|
|
+ <view class="deviceList-label" style="color: #7a68f6;" v-if="item.category=='超充'&& item.fastNum" >/直流超充<b>{{item.fastNum}}</b></view>
|
|
|
|
+
|
|
|
|
+ <view class="deviceList-label" style="color: #185AC6;" v-else-if="item.fastNum" >/直流快充<b>{{item.fastNum}}</b></view>
|
|
|
|
|
|
<view class="deviceList-label" style="color: #5cbe7d;" v-if="item.slowNum" >/交流慢充<b>{{item.slowNum}}</b></view>
|
|
<view class="deviceList-label" style="color: #5cbe7d;" v-if="item.slowNum" >/交流慢充<b>{{item.slowNum}}</b></view>
|
|
|
|
|
|
@@ -261,10 +267,15 @@
|
|
background-color: #5cbe7d;
|
|
background-color: #5cbe7d;
|
|
|
|
|
|
}
|
|
}
|
|
- .btn2{
|
|
|
|
|
|
+ .btn3{
|
|
|
|
|
|
background-color: #7a68f6;
|
|
background-color: #7a68f6;
|
|
|
|
|
|
|
|
+ }
|
|
|
|
+ .btn2{
|
|
|
|
+
|
|
|
|
+ background-color: #185AC6;
|
|
|
|
+
|
|
}
|
|
}
|
|
.deviceDropdown{
|
|
.deviceDropdown{
|
|
background-color: #fff;
|
|
background-color: #fff;
|