Kaynağa Gözat

调整页面

zhengkaixin 2 yıl önce
ebeveyn
işleme
ab88595ae4

+ 8 - 6
pages/searchPile/chargeProcess/dcCharging.vue

@@ -192,7 +192,7 @@
 									<view style="
 											font-size: 16px;
 											font-weight: bold;
-										" 	>已充费用{{chargingRecord.dueFee?chargingRecord.dueFee.toFixed(2):'0.00'}}元</view>
+										" 	>预计费用{{chargingRecord.dueFee?chargingRecord.dueFee.toFixed(2):'0.00'}}元</view>
 								</text>
  								
 								
@@ -320,12 +320,14 @@
 					
 					</view>
 					
-					<view class="item" v-if="false">
+					<view class="item" >
 						<view class="title">
-							占位费说明
+							费说明
 						</view>
-						<view class="detail">
-							停止充电后30分钟即开始收取占位费用,1元/分钟
+						<view class="detail" @click="gotoUrl('pages/searchPile/stationAndPile/chargePriceDetails?stationId='+chargingGun.stationId+'&deviceNo='+chargingGun.deviceNo)">
+							
+							<u-icon name="arrow-right" size="28"></u-icon>
+
 						</view>			
 					</view>
 			
@@ -1393,7 +1395,7 @@
 
 	//其他信息
 	.else-infos {
-		padding: 0 12px;
+		padding: 0 12px 12px 12px;
 		background-color: #ffffff;
 		width: 88.2%;
 		margin: 16px auto 0;

+ 12 - 2
pages/searchPile/stationAndPile/chargePriceDetails.vue

@@ -56,7 +56,8 @@
 				elderMode:false,
 				list:[],
 				items:[],
-				current: 0
+				current: 0,
+				deviceNo:'',
 			}
 		},
 		onLoad(op){
@@ -67,6 +68,10 @@
 			if(op.id){
 				this.id=op.id;
 			}
+			if(op.deviceNo){
+				this.deviceNo=op.deviceNo
+			}
+			
 			let date = new Date();
 			let hours = date.getHours();
 			let minutes = date.getMinutes();
@@ -86,7 +91,12 @@
 							_self.list = [];
 							for(let i = 0;i< data.prices.length;i++){
 								let _item = data.prices[i];
-								if(_self.id){
+								if(_self.deviceNo){
+									
+									if(_item.deviceNo==_self.deviceNo){
+										_self.current=i;
+									}
+								}else if(_self.id){
 									
 									if(_item.id==_self.id){
 										_self.current=i;