Kaynağa Gözat

问题处理

zkx 2 yıl önce
ebeveyn
işleme
d357e05af8

+ 3 - 1
components/u-navbar/u-navbar.vue

@@ -351,7 +351,9 @@
 
 <style scoped lang="scss">
 	// @import "../../libs/css/style.components.scss";
-
+	.u-line-1{
+		    overflow: unset;
+	}
 	.u-navbar {
 		width: 100%;
 	}

+ 20 - 7
pages/monthlyCardActivity/monthlyCardBuy.vue

@@ -168,7 +168,8 @@
 			<view class="slogan-4"
 			 v-if="cardId||ispay"
 			 @click="gotoUrl('pages/monthlyCardActivity/monthlyCardList?cardId='+(ispay?userCard.rentCardId:cardId))">
-				查看本活动适用站点
+				适用<br/>
+				站点
 			</view>
 		</view>
 		
@@ -731,11 +732,23 @@
 		}
 	}
 	.slogan-4 {
-		margin-top: 10px;
-		text-decoration: underline;
-		height: 20px;
-		color: #9F9C99;
-		font-size: 32rpx;
-		text-align: center;
+		    margin-top: 10px;
+		        /* text-decoration: underline; */
+		        color: #9F9C99;
+		      
+		        text-align: center;
+		        position: fixed;
+		        /* top: 40px; */
+		        bottom: 40px;
+		        right: 20px;
+				height: 55px;
+		        width: 55px;
+				line-height: 20px;
+		        font-size: 16px;
+		       background: linear-gradient(45deg,#4BD2C0,rgb(72,218,149));
+			   box-shadow: 0 4rpx 24rpx 0 rgb(72,218,149) ;
+		        padding-top: 8px;
+		        color: #fff;
+		        border-radius: 25px;
 	}
 </style>

+ 8 - 3
pages/monthlyCardActivity/monthlyCardList.vue

@@ -112,11 +112,16 @@
 				uni.showLoading({
 					title: "加载中",
 					mask: true,
-				})
-				API.getChargingStationData({
+				})
+				var data={
 					monthlyRentCardId:this.monthlyRentCardId,
 					online:0
-				}).then((response) => {
+				}
+				if (this.carhelp.getPersonInfo()) {
+						data.openId=this.carhelp.getOpenId()
+				}
+				
+				API.getChargingStationData(data).then((response) => {
 					console.log(response)
 					this.list = [
 						...this.list,