| | |
| | | <div class="user_name"> |
| | | <input type="text" placeholder="机构代码" v-model="userName" /> |
| | | </div> --> |
| | | <el-input :placeholder="placeholder" size="medium" v-model="phone" clearable @input="handleInput()"> |
| | | <el-input :placeholder="placeholder" size="medium" v-model="phone" clearable @input="handleInput()" maxlength="11"> |
| | | </el-input> |
| | | <!-- <el-input style="margin-top: 0.46rem;" :placeholder="verification" :size="medium" v-model="code" clearable> |
| | | </el-input> --> |
| | |
| | | this.alertShow = false |
| | | }, 2000) |
| | | this.loginBtn = false; |
| | | } else |
| | | // if (isNull(this.code)) { |
| | | // this.texts="请输入验证码" |
| | | // this.alertShow=true |
| | | // setTimeout(()=>{ |
| | | // this.alertShow=false |
| | | // },2000) |
| | | // this.loginBtn = false; |
| | | // } else |
| | | } else { |
| | | if (this.userPassword !== this.rePassword) { |
| | | this.texts = "两次输入的密码不一致" |
| | | this.alertShow = true |
| | |
| | | this.loginBtn = false; |
| | | } |
| | | } |
| | | } |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | // if (isNull(this.code)) { |
| | | // this.texts="请输入验证码" |
| | | // this.alertShow=true |
| | | // setTimeout(()=>{ |
| | | // this.alertShow=false |
| | | // },2000) |
| | | // this.loginBtn = false; |
| | | // } else |
| | | |
| | | }, |
| | | isAgree() { |
| | | this.agree = !this.agree |