|
@@ -20,7 +20,7 @@
|
|
<!-- <p>手机号</p> -->
|
|
<!-- <p>手机号</p> -->
|
|
<div class="phoneBox">
|
|
<div class="phoneBox">
|
|
<input type="tel" :class="[{ 'error': phoneErrText}]" name="" v-model="phone" maxlength="11" @input="handleTelInput"
|
|
<input type="tel" :class="[{ 'error': phoneErrText}]" name="" v-model="phone" maxlength="11" @input="handleTelInput"
|
|
- @blur="checkPhone" placeholder="请输入用户名或手机号">
|
|
|
|
|
|
+ @blur="checkPhone" placeholder="请输入手机号">
|
|
<span class="tips" v-show="phoneErrText">{{phoneErrText}}</span>
|
|
<span class="tips" v-show="phoneErrText">{{phoneErrText}}</span>
|
|
</div>
|
|
</div>
|
|
<div class="phoneBox">
|
|
<div class="phoneBox">
|
|
@@ -230,7 +230,7 @@
|
|
// message: '手机格式不正确',
|
|
// message: '手机格式不正确',
|
|
// type: 'warning'
|
|
// type: 'warning'
|
|
// });
|
|
// });
|
|
- this.phoneErrText = '手机格式有误'
|
|
|
|
|
|
+ this.phoneErrText = '手机号格式有误'
|
|
|
|
|
|
this.phone = "";
|
|
this.phone = "";
|
|
this.phoneRg = 1;
|
|
this.phoneRg = 1;
|
|
@@ -291,7 +291,7 @@
|
|
let that = this;
|
|
let that = this;
|
|
this.timer = window.setInterval(() => {
|
|
this.timer = window.setInterval(() => {
|
|
if ((that.time--) <= 0) {
|
|
if ((that.time--) <= 0) {
|
|
- that.time = 60;
|
|
|
|
|
|
+ that.time = 180;
|
|
that.timerFlag = false;
|
|
that.timerFlag = false;
|
|
window.clearInterval(that.timer);
|
|
window.clearInterval(that.timer);
|
|
}
|
|
}
|