1410417013 7 місяців тому
батько
коміт
e9129b8ba0
1 змінених файлів з 7 додано та 3 видалено
  1. 7 3
      my/vip/index.vue

+ 7 - 3
my/vip/index.vue

@@ -94,7 +94,7 @@
 				<view style="text-align: center;font-size: 18px;color: #001713;">推广码</view>
 				<view class="cu-form-group">
 					<view class="title">推广码</view>
-					<input placeholder="没有可不填" style="border: 1rpx solid;padding-left: 10px;" name="input" v-model="tuiguangma" maxlength="11"></input>
+					<input placeholder="请输入推广码" style="border: 1rpx solid;padding-left: 10px;" name="input" v-model="tuiguangma" maxlength="11"></input>
 				</view>
 				<view style="display: flex;margin-top: 20px;">
 					<view class="nuan_butt" style="margin-left: 70px;" @click="tuiguang()">确定</view>
@@ -239,8 +239,12 @@
 		methods: {
 			//推广码弹框
 			tuiguang(){
-				this.popupShow2=false
-				this.showpay=true
+				if (!this.tuiguangma) {
+					this.$queue.showToast("请输入推广码");
+				}else{
+					this.popupShow2=false
+					this.showpay=true
+				}
 			},
 			//暖心认证
 			natNuan(){