Browse Source

统一状态显示

zhengkaixin 1 month ago
parent
commit
1b49e85f3c

+ 2 - 5
README.md

@@ -1,8 +1,6 @@
-优电联盟“充值送折扣卡”活动相关原型页面更新:
1.主页-250428新增改动,活动弹窗、banner和瓷片区活动替换及文字修改;----
2.新增“充值送折扣卡”; -----
-
3.充电枪详情页面增加活动弹窗、----
-6折半年卡卡片信息模块;
-
4.充电-会员模式页面,充值弹窗修改充值金额选项、活动说明及链接;----
5.充电结束(直流)页面增加活动弹窗(如充电枪页面已弹窗则此处不弹出);------
6.余额充值页面修改充值金额选项、活动说明及链接;------
7.我的卡包页面,新增半年卡卡片类型,修改原有卡片标题文字;
8.会员卡详情页,增加半年卡模版详情页。
https://modao.cc/app/0kjHsmXrbe0m6JMcoiOxW
+
https://modao.cc/app/0kjHsmXrbe0m6JMcoiOxW
 
+[](https://modao.cc/app/0kjHsmXrbe0m6JMcoiOxW)
 
 
 
@@ -79,7 +77,6 @@ sudo pfctl -ef /etc/pf-tomcat.conf
 
 
 					
-[](https://modao.cc/app/0kjHsmXrbe0m6JMcoiOxW)
 
 
 npm install node-sass --ignore-scripts

+ 11 - 2
pages/searchPile/stationAndPile/charging/chargingPileDetails.vue

@@ -104,14 +104,23 @@
 					</view>
 
 					<view class="text" v-else>
-						<view class="text-1">
+						<view class="text-1" v-if="gun&&gun.workStatus==2">
+							充电中
+						</view>
+						<view class="text-1" v-else >
 							{{isInsert?'可充电':'未插枪'}}
 						</view>
 						<view class="text-2" v-if="station.stationType==50">
 							可进行充电
 						</view>
 						<view class="text-2" v-else>
-							{{isInsert?'充电枪已连接,可进行充电':'未检测到充电枪,若已插枪,请拔出重插'}}
+							<template  v-if="gun&&gun.workStatus==2">
+								
+							</template>
+							<template v-else>
+								{{isInsert?'充电枪已连接,可进行充电':'未检测到充电枪,若已插枪,请拔出重插'}}
+								
+							</template>
 
 						</view>
 					</view>

+ 12 - 3
pages/searchPile/stationAndPile/charging/chargingPileDetailsFamily.vue

@@ -34,15 +34,24 @@
 					</view>
 
 					<view class="text" v-else>
-						<view class="text-1">
+						<view class="text-1" v-if="gun&&gun.workStatus==2">
+							充电中
+						</view>
+						<view class="text-1" v-else >
 							{{isInsert?'可充电':'未插枪'}}
 						</view>
+						
 						<view class="text-2" v-if="station.stationType==50">
 							可进行充电
 						</view>
 						<view class="text-2" v-else>
-							{{isInsert?'充电枪已连接,可进行充电':'未检测到充电枪,若已插枪,请拔出重插'}}
-
+							<template  v-if="gun&&gun.workStatus==2">
+								
+							</template>
+							<template v-else>
+								{{isInsert?'充电枪已连接,可进行充电':'未检测到充电枪,若已插枪,请拔出重插'}}
+								
+							</template>
 						</view>
 					</view>