Selaa lähdekoodia

Merge branch 'VERSIONS-wfhs(危废回收)' into SCHOOL-XiBeiNongLin

dedsudiyu 1 kuukausi sitten
vanhempi
commit
ad148c24dc

+ 8 - 3
pages_basics/views/completeInformation/completeInformation.vue

@@ -40,7 +40,7 @@
 				</view>
 				<view class="text-bottom-p">{{newData.mobile}}</view>
 			</view>
-			<view class="input-max-box" v-if="!newData.mobile">
+			<view class="input-max-box" v-if="!newData.mobile && showType">
 				<view class="input-top-box">
 					<view>*</view>
 					<view>手机号</view>
@@ -48,7 +48,7 @@
 				<input class="input-top-p" :always-embed="true" :cursor-spacing="10"
 				v-model="form.mobile" maxlength="11" focus placeholder="请输入手机号码">
 			</view>
-			<view class="input-button-max-box" v-if="!newData.mobile">
+			<view class="input-button-max-box" v-if="!newData.mobile && showType">
 				<view class="input-top-box">
 					<view>*</view>
 					<view>手机验证码</view>
@@ -173,12 +173,17 @@
 				codeType: false,
 				seconds: 0,
 				timer:null,
+				showType:false,
 			}
 		},
 		onLoad(option) {
-			
 		},
 		onShow() {
+			if(uni.getStorageSync('weChatProgramVersion')){
+				this.$set(this,'showType',true);
+			}else{
+				this.$set(this,'showType',false);
+			}
 			this.getDicts();
 		},
 		methods: {