|
@@ -2,12 +2,12 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view id="forgotPassword">
|
|
<view id="forgotPassword">
|
|
|
<view class="page-title">忘记密码</view>
|
|
<view class="page-title">忘记密码</view>
|
|
|
- <view class="input-max-box">
|
|
|
|
|
|
|
+ <view class="input-max-box" v-if="showType">
|
|
|
<view>手机号</view>
|
|
<view>手机号</view>
|
|
|
<input v-model="form.mobile" :always-embed="true" :cursor-spacing="10"
|
|
<input v-model="form.mobile" :always-embed="true" :cursor-spacing="10"
|
|
|
maxlength="11" focus placeholder="请输入手机号码" />
|
|
maxlength="11" focus placeholder="请输入手机号码" />
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="input-button-max-box">
|
|
|
|
|
|
|
+ <view class="input-button-max-box" v-if="showType">
|
|
|
<view>手机验证码</view>
|
|
<view>手机验证码</view>
|
|
|
<view class="input-button-box">
|
|
<view class="input-button-box">
|
|
|
<input maxlength="6" :always-embed="true" :cursor-spacing="10"
|
|
<input maxlength="6" :always-embed="true" :cursor-spacing="10"
|
|
@@ -52,6 +52,7 @@
|
|
|
codeType: false,
|
|
codeType: false,
|
|
|
seconds: 0,
|
|
seconds: 0,
|
|
|
timer: null,
|
|
timer: null,
|
|
|
|
|
+ showType:false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -59,7 +60,11 @@
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
-
|
|
|
|
|
|
|
+ if(uni.getStorageSync('weChatProgramVersion')){
|
|
|
|
|
+ this.$set(this,'showType',true);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.$set(this,'showType',false);
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
//返回上级页面
|
|
//返回上级页面
|