浏览代码

消息提醒

zhengkaixin 2 年之前
父节点
当前提交
2904755886

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

@@ -30,6 +30,10 @@
 		</view>
 		<!-- 解决fixed定位后导航栏塌陷的问题 -->
 		<view class="u-navbar-placeholder" v-if="isFixed && !immersive" :style="{ width: '100%', height: Number(navbarHeight) + statusBarHeight + 'px' }"></view>
+		
+		<u-alert-tips type="warning" v-if="descriptionShow"  :show-icon="true"  :description="description"></u-alert-tips>
+
+	
 	</view>
 </template>
 
@@ -67,6 +71,7 @@
 	export default {
 		name: "u-navbar",
 		props: {
+			
 			// 导航栏高度,单位px,非rpx
 			height: {
 				type: [String, Number],
@@ -166,6 +171,8 @@
 		},
 		data() {
 			return {
+				description:'',
+				descriptionShow:false,
 				menuButtonInfo: menuButtonInfo,
 				statusBarHeight: systemInfo.statusBarHeight
 			};
@@ -222,7 +229,26 @@
 				// #endif
 			}
 		},
-		created() {},
+		created() {
+			console.log('aaaa')
+			let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
+			let curRoute = routes[routes.length - 1].route
+			console.log(curRoute);
+			var message =this.carhelp.getConfig().message
+			if(message){
+				var list=JSON.parse(message);
+				for(var i in list){
+					if(list[i].name=='*'){
+						this.descriptionShow=true;
+						this.description=list[i].value;
+					}
+					if(list[i].name==curRoute){
+						this.descriptionShow=true;
+						this.description=list[i].value;
+					}
+				}
+			}
+		},
 		methods: {
 			goBack() {
 					//console.log("修复bug, 刷新后不能返回问题")

+ 2 - 2
pages/login/completeInfo.vue

@@ -20,8 +20,8 @@
 				</u-form>
 			</view>
 			<p class="car-num"  @tap="keyShow=!keyShow" >车牌号码<span style="color: #9e9e9e;float: right;padding-right: 10px;">(点击唤起键盘)</span></p>
-			<p class="car-num" style="padding: 10px 0 0 40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
-			
+<!-- 			<p class="car-num"  style="padding: 10px 0 0 40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
+ -->			
 			<view class="key-input"
 			 
 			 @tap="keyShow=!keyShow">

+ 8 - 8
pages/monthlyCardActivity/monthlyCardBuy.vue

@@ -26,13 +26,12 @@
 			限时活动结束时间2022年8月8日0点结束
 		</view> -->
 		<view class="slogan-3" >
-			 
-				包月卡仅限车主使用,且只允许绑定一位车主和一个车牌号。包月卡一经激活,在有效期内车主无法更换已绑定的帐号及车牌号。如因车主填写错误导致需要修改车牌号码,请致电售后客服进行修改。
+			 <view  v-html="ykgz"></view>
 				
 			 
-		<view class="slogan-4" @click="gotoUrl('pages/monthlyCardActivity/monthlyCardList?cardId='+cardId)">
-			查看本活动适用站点
-		</view>
+			<view class="slogan-4" @click="gotoUrl('pages/monthlyCardActivity/monthlyCardList?cardId='+cardId)">
+				查看本活动适用站点
+			</view>
 		</view>
 		
 		
@@ -144,7 +143,8 @@
 					text: '支付宝'
 				}],
 				show: false,
-				submitForm:{},
+				submitForm:{},
+				ykgz:'',
 				detail:{},
 				ispay:true,
 				show2:false,
@@ -159,7 +159,7 @@
 			
 		},
 		onReady() {
-			
+			this.ykgz=this.carhelp.getConfig().ykgz
 			//this.checkSubscribe()
 			
 		},
@@ -434,7 +434,7 @@
 	}
 
 	.slogan-1 {
-		margin-top: 50px;
+		margin-top: 40px;
 		height: 36px;
 		color: rgba(234, 217, 180, 100);
 		font-size: 48rpx;

+ 1 - 1
pages/searchPile/chargeProcess/dcCharging.vue

@@ -95,7 +95,7 @@
 					<view class="info-name">
 						结束原因
 					</view>
-					<view class="info-text">
+					<view class="info-text" style="color: red;"  >
 						{{chargingRecord.remark}}
 					</view>
 				</view>

+ 2 - 2
pages/user/car/carAdd.vue

@@ -26,8 +26,8 @@
 		</view>
 		<u-button class="login-btn" type="success" shape="circle" @click="keepCar">保存</u-button>
 		
-		<p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
-		
+<!-- 		<p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
+ -->		
 	</view>
 </template>
 

+ 2 - 2
pages/user/car/carDet.vue

@@ -2,8 +2,8 @@
 	<view class="wrap">
 		<ujp-navbar title="添加车牌">
  		</ujp-navbar>
-		<p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
-		
+		<!-- <p class="car-num" style="padding: 10px  40px;" >根据平台要求,车牌号码输入后暂时<span style="color:red">不可以修改</span>,后续修改需要联系客服人员,请认真填写</p>
+		 -->
 		<view class="key-input">
 			<u-message-input :focus="true" :value="form.carNum" :maxlength="maxlength" :disabled-keyboard="true"></u-message-input>
 		</view>

+ 26 - 21
pages/user/dataSet.vue

@@ -76,8 +76,12 @@
 					</view>
 					<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="48"></u-icon>
 				</view>
+				
 			</view>
-
+			<p style="
+		text-align: end;
+		padding: 0 20px;
+		color: #999999;">生日填写后不可修改,仅作为活动营销使用</p>
 		</view>
 		<u-line color="#F2F2F2 100%" length="87.2%" margin="8px auto 0" />
 		<!-- 账户与安全 -->
@@ -308,32 +312,33 @@ import {
 					
 					if(now<datetime){
 						//this.monthlyCardBuy();
-						uni.showModal({
-							title: '提示',
-							confirmText:'修改车牌',
-							//showCancel:false,
-							content: '根据平台要求,8月1日后将暂停车牌号修改,修改请需要联系客服人员',
-							success: res => {
-								if (res.confirm) {
-									// uni.navigateTo({
-									// 	url: '/pages/monthlyCardActivity/monthlyCardBuy'
-									// })
-									uni.navigateTo({
-										url: '/pages/user/car/carAdd?id=' + this.carList.id
-									})
-								} else if (res.cancel) {
-									//('用户点击取消');
-								}
-							}
-						});
+						// uni.showModal({
+						// 	title: '提示',
+						// 	confirmText:'修改车牌',
+						// 	//showCancel:false,
+						// 	content: '根据平台要求,8月1日后将暂停车牌号修改,修改请需要联系客服人员',
+						// 	success: res => {
+						// 		if (res.confirm) {
+						// 			// uni.navigateTo({
+						// 			// 	url: '/pages/monthlyCardActivity/monthlyCardBuy'
+						// 			// })
+									
+						// 		} else if (res.cancel) {
+						// 			//('用户点击取消');
+						// 		}
+						// 	}
+						// });
+						uni.navigateTo({
+							url: '/pages/user/car/carAdd?id=' + this.carList.id
+						})
 					}else{
 						
 						
 						uni.showModal({
-							title: '提示',
+							title: '车牌号不可修改',
 							//confirmText:'查看活动',
 							showCancel:false,
-							content: '车牌号码输入后暂时不可以修改,修改请需要联系客服人员',
+							content: '如需修改请需要联系客服人员',
 							success: res => {
 								if (res.confirm) {
 									// uni.navigateTo({