浏览代码

显示问题

zhengkaixin 1 月之前
父节点
当前提交
2f09bde19d
共有 3 个文件被更改,包括 18 次插入7 次删除
  1. 3 2
      config/.env.dev.ud.js
  2. 6 1
      pages/record/details.vue
  3. 9 4
      pages/temporary/activity20250501.vue

+ 3 - 2
config/.env.dev.ud.js

@@ -2,7 +2,7 @@ const UNI_APP = {
 	ProjectName :"优电联盟",
 	ProjectName :"优电联盟",
 	BASE_URL: 'https://youdian.hbjp.com.cn/charging-station-server/',
 	BASE_URL: 'https://youdian.hbjp.com.cn/charging-station-server/',
 	//
 	//
-	BASE_URL: 'http://charging.xiaoxinda.com/charging-station-test/',
+	//BASE_URL: 'http://charging.xiaoxinda.com/charging-station-test/',
 	//BASE_URL: 'https://youdian-test.hbjp.com.cn/charging-station-test/',
 	//BASE_URL: 'https://youdian-test.hbjp.com.cn/charging-station-test/',
 	
 	
 	//BASE_URL: 'http://192.168.77.162:8081/charging-station/' ,
 	//BASE_URL: 'http://192.168.77.162:8081/charging-station/' ,
@@ -23,10 +23,11 @@ const UNI_APP = {
 
 
 	openId:"oSruR6YkhP7QDroLnZGxWis43Kn0",//zkx
 	openId:"oSruR6YkhP7QDroLnZGxWis43Kn0",//zkx
 	//openId:"oSruR6dsG6wrbiQCwyftfgnp5690",//sz
 	//openId:"oSruR6dsG6wrbiQCwyftfgnp5690",//sz
-	openId:"oSruR6dZcmSM4ATuweZ5fjHGQsiA",//ys
+	//openId:"oSruR6dZcmSM4ATuweZ5fjHGQsiA",//ys
 	//openId:"oSruR6RWLdQp-HGmcQgXEy2tNUmw",//家桩
 	//openId:"oSruR6RWLdQp-HGmcQgXEy2tNUmw",//家桩
 	//openId:"oSruR6fYa0yzdMsDinzNOlePTotk",//zq
 	//openId:"oSruR6fYa0yzdMsDinzNOlePTotk",//zq
 	//openId:"oSruR6RXae3ZNpux_YN8o6U0xMhA",
 	//openId:"oSruR6RXae3ZNpux_YN8o6U0xMhA",
+	//openId:"oSruR6VWX3ZKsGOGIdTt2WSpGAx8",
 	//小鹏管家appid
 	//小鹏管家appid
 	//VUE_APP_WXAPPID:"wx7e70eb62a8459869",
 	//VUE_APP_WXAPPID:"wx7e70eb62a8459869",
 	branchParameter:"youdian",//team51,youdian
 	branchParameter:"youdian",//team51,youdian

+ 6 - 1
pages/record/details.vue

@@ -245,6 +245,11 @@
 				</view>
 				</view>
 				<view class="details-row">
 				<view class="details-row">
 					<p>充电桩编号</p><span>{{chargeDetail.deviceName}}</span>
 					<p>充电桩编号</p><span>{{chargeDetail.deviceName}}</span>
+					
+				</view>
+				<view class="details-row" v-if="chargeDetail.sortNo">
+					<p>枪编号</p><span>{{chargeDetail.sortNo}}号</span>
+					
 				</view>
 				</view>
 				<view class="details-row">
 				<view class="details-row">
 					<p>充电车辆</p><span>{{chargeDetail.carNumber}}</span>
 					<p>充电车辆</p><span>{{chargeDetail.carNumber}}</span>
@@ -876,7 +881,7 @@
 					}
 					}
 					// this.useFreeCoupon=res.data.useFreeCoupon;
 					// this.useFreeCoupon=res.data.useFreeCoupon;
 					// this.useFreeMinute=res.data.useFreeMinute;
 					// this.useFreeMinute=res.data.useFreeMinute;
-					
+					this.chargeDetail.sortNo=res.data.sortNo
 					this.userParkingCoupon=res.data.userParkingCoupon
 					this.userParkingCoupon=res.data.userParkingCoupon
 					
 					
 					this.userCouponObj = res.data.userCoupon;
 					this.userCouponObj = res.data.userCoupon;

+ 9 - 4
pages/temporary/activity20250501.vue

@@ -281,7 +281,9 @@
 					width: 160rpx;
 					width: 160rpx;
 					height: 160rpx;
 					height: 160rpx;
 					background: url(@/assets/img/20250501/index3.png) ;
 					background: url(@/assets/img/20250501/index3.png) ;
-					background-size: cover;
+					
+					background-size: cover;
+					    background-size: 100%;
 
 
 					.view31 {
 					.view31 {
 						padding-top:8rpx;
 						padding-top:8rpx;
@@ -313,7 +315,8 @@
 		.bottom {
 		.bottom {
 			width: 458rpx;
 			width: 458rpx;
 			height: 88rpx;
 			height: 88rpx;
-			background: url(@/assets/img/20250501/index4.png) 100% 100% round;
+			background: url(@/assets/img/20250501/index4.png) 100% 100% round;
+			    background-size: 100%;
 			margin: auto;
 			margin: auto;
 			display: flex;
 			display: flex;
 			align-items: center;
 			align-items: center;
@@ -332,7 +335,8 @@
 		align-items: center;
 		align-items: center;
 		width: 750rpx;
 		width: 750rpx;
 		height: 552rpx;
 		height: 552rpx;
-		background: url(@/assets/img/20250501/index1.png) 100% 100% round;
+		background: url(@/assets/img/20250501/index1.png) 100% 100% round;
+		    background-size: 100%;
 	}
 	}
 
 
 	.blur-overlay {
 	.blur-overlay {
@@ -352,6 +356,7 @@
 		margin-top: -80rpx;
 		margin-top: -80rpx;
 		width: 600rpx;
 		width: 600rpx;
 		height: 372rpx;
 		height: 372rpx;
-		background: url(@/assets/img/20250501/index2.png) 100% 100% round;
+		background: url(@/assets/img/20250501/index2.png) 100% 100% round;
+		    background-size: 100%;
 	}
 	}
 </style>
 </style>