| | |
| | | <view class="login_list"> |
| | | <view class="login_list_item"> |
| | | <image src="@/static/login_ic_phone@2x.png" mode="widthFix" /> |
| | | <input v-model="form.phone" :maxlength="11" placeholder="请输入手机号" /> |
| | | <input v-model="form.phone" type="tel" :maxlength="11" placeholder="请输入手机号" /> |
| | | </view> |
| | | <view class="login_list_item"> |
| | | <image src="@/static/ic_captcha.png" mode="widthFix"></image> |
| | | <input |
| | | v-model="form.validCode" |
| | | placeholder="请输入验证码" |
| | | type="text" |
| | | type="number" |
| | | /> |
| | | <text class="captcha" v-if="countDown == 0" @click="initCaptcha" |
| | | >获取验证码</text |
| | |
| | | |
| | | onLoad(option) { |
| | | if(option.phone){ |
| | | this.$set(this.form, 'phone', option.phone) |
| | | this.$set(this.form, 'phone', option.phone || '') |
| | | } |
| | | }, |
| | | |