zhengkaixin před 1 rokem
rodič
revize
a19acc7b7d
1 změnil soubory, kde provedl 10 přidání a 5 odebrání
  1. 10 5
      pages/searchPile/chargeProcess/dcCharging.vue

+ 10 - 5
pages/searchPile/chargeProcess/dcCharging.vue

@@ -411,8 +411,9 @@
 							<p class="electrovalence">
 								<text class="num" v-if="chargingRecord.userCardId">{{price.electricityPrice.toFixed(2)}}</text>
 								<text  class="num" v-else>
+									
 									<template v-if="(personInfo&&personInfo.userType==2)&&(chargingStation.giveDiscount||price.discountServicePrice)">
-										<span style="    text-decoration: line-through;">(item.electricityPrice+item.discountServicePrice).toFixed(2)}}</span>折后{{price.discountServicePrice}}
+										<span >{{(price.electricityPrice+price.discountServicePrice).toFixed(2)}}</span>
 									</template>
 									<template v-else>
 										{{(price.electricityPrice+price.servicePrice).toFixed(2)}}
@@ -607,13 +608,15 @@
 				voltageShow:false,
 				showChargingTag:false,
 				chargingTagUrl:false,
-				chargingTag:false,
+				chargingTag:false,
+				personInfo:null,
 			}
 		},
 		onLoad(op) {
 			this.projectName=process.car.ProjectName;
 			
-			var plus=this.carhelp.getPersonInfoPlus()
+			var plus=this.carhelp.getPersonInfoPlus()
+			this.personInfo=this.carhelp.getPersonInfo()
 			if(plus){
 				this.userCard=plus.userCard;
 			}
@@ -1497,9 +1500,11 @@
 			color: rgba(16, 16, 16, 1);
 			padding:24rpx 10rpx;
 			/deep/.chargingTag{
-				color:#ff3d00
+				color:#ff3d00;
+				font-weight: bold;
+				margin: 0 6rpx;
 			}
-			.chargingTag2{
+			/deep/.chargingTag2{
 				color:#00b962
 			}
 			.itemTips1{