瀏覽代碼

白屏问题

zhengkaixin 2 年之前
父節點
當前提交
12bcedfb86
共有 2 個文件被更改,包括 10 次插入8 次删除
  1. 9 7
      pages/searchPile/chargeProcess/dcCharging.vue
  2. 1 1
      pages/searchPile/stationAndPile/stationDetails.vue

+ 9 - 7
pages/searchPile/chargeProcess/dcCharging.vue

@@ -13,7 +13,7 @@
 						</text>
 						
 						<text class='u-progress-info' v-if="chargingGun.gunType==2">
-							<p style="text-align: center;">{{chargingRecord.electricQuantity?(chargingRecord.electricQuantity/10000).toFixed(1):0}}</p>
+							<p style="text-align: center;"   >{{chargingRecord.electricQuantity?(chargingRecord.electricQuantity/10000).toFixed(1):0}}</p>
 							<p class="progress-text">已充电量(度)</p>
 						</text>
 						
@@ -70,7 +70,7 @@
 					<view class="info-name">
 						充电金额
 					</view>
-					<view class="info-text">
+					<view class="info-text"  >
 						{{chargingRecord.actualFee?chargingRecord.actualFee.toFixed(2):0}}元
 					</view>
 				</view>
@@ -223,7 +223,9 @@
 										"
 									
 									>{{chargingRecord.statusText}}</view>
-									<view style="
+									<view
+									 
+									 style="
 											font-size: 14px;
 											font-weight: bold;
 										" 	>预计费用{{chargingRecord.dueFee?chargingRecord.dueFee.toFixed(2):'0.00'}}元</view>
@@ -269,7 +271,7 @@
 						</view>
 					</view>
 					<view class="info-item">
-						<view class="content">
+						<view class="content" >
 							{{chargingGun.kwh?chargingGun.kwh.toFixed(1):0}}
 						</view>
 						<view class="name">
@@ -277,7 +279,7 @@
 						</view>
 					</view>
 					<view class="info-item">
-						<view class="content">
+						<view class="content"  v-if="detail.balance>0||detail.balance==0">
 
 							{{detail.balance>0&&chargingRecord.dueFee?((detail.balance*1000-chargingRecord.dueFee*1000)/1000).toFixed(2):detail.balance.toFixed(2)}}
 
@@ -386,7 +388,7 @@
 						</view>
 			
 					</view>
-					<view class="item">
+					<view class="item" v-if="price.costPrice">
 						<view class="title">
 							<p class="price">当前价格</p>
 							<p class="time">{{price.startTime}}-{{price.endTime}}</p>
@@ -394,7 +396,7 @@
 						<view class="detail">
 							<p class="electrovalence"><text class="num">{{chargingRecord.userCardId?price.electricityPrice.toFixed(2):price.costPrice.toFixed(2)}}</text> 元/度</p>
 							<p class="electrovalence-monthlyCard">电价:{{price.electricityPrice}} | 服务费:
-							{{chargingRecord.userCardId?0+'(包月卡)':''}}
+							
 							<template v-if="chargingRecord.userCardId">
 								0(包月卡)
 							</template>

+ 1 - 1
pages/searchPile/stationAndPile/stationDetails.vue

@@ -913,7 +913,7 @@
 	.qr-code {
 		font-size: 24px;
 		color: #666666;
-		position: absolute;
+		// position: absolute;
 		right: 16px;
 	}