|
@@ -44,12 +44,12 @@
|
|
|
<el-tab-pane label="手机验证码" name="second">
|
|
<el-tab-pane label="手机验证码" name="second">
|
|
|
|
|
|
|
|
<el-form-item prop="phone">
|
|
<el-form-item prop="phone">
|
|
|
- <el-input v-model="loginForm.phone" type="tel" auto-complete="off" placeholder="手机号" style=" width: 260px; ">
|
|
|
|
|
|
|
+ <el-input v-model="loginForm.phone" type="tel" maxlength="11" auto-complete="off" placeholder="手机号" style=" width: 260px; ">
|
|
|
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
|
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item prop="cade">
|
|
<el-form-item prop="cade">
|
|
|
- <el-input v-model="loginForm.cade" type="text" auto-complete="off" placeholder="短信验证码" id="" onkeydown="enterHandler(event)" style=" width: 120px; ">
|
|
|
|
|
|
|
+ <el-input v-model="loginForm.cade" type="text" maxlength="6" auto-complete="off" placeholder="短信验证码" id="" onkeydown="enterHandler(event)" style=" width: 120px; ">
|
|
|
<svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
|
|
<svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
</el-input>
|
|
|
<el-button :loading="loading" size="min" type="primary" style="width: 120px; margin-left:12px">
|
|
<el-button :loading="loading" size="min" type="primary" style="width: 120px; margin-left:12px">
|