|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2021-10-19 14:14:52
|
|
|
|
|
* @LastEditTime: 2021-10-19 16:21:48
|
|
|
|
|
* @LastEditTime: 2021-10-19 16:42:11
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: In User Settings Edit
|
|
|
|
|
* @FilePath: /data-show/src/views/Login/loginForm/index.vue
|
|
|
|
@ -10,16 +10,16 @@
|
|
|
|
|
<div class="lgf-outter">
|
|
|
|
|
<a-form-model layout="horizontal" :model="form" :rules="rules" ref="loginForm">
|
|
|
|
|
<a-form-model-item label="用户名" prop="phone">
|
|
|
|
|
<a-input v-model="form.phone" placeholder="请输入账号" />
|
|
|
|
|
<a-input v-model="form.phone" placeholder="请输入账号" autocomplete="off"/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="密码" prop="pwd">
|
|
|
|
|
<a-input v-model="form.pwd" :type="pwdType" placeholder="请输入密码">
|
|
|
|
|
<a-input v-model="form.pwd" :type="pwdType" placeholder="请输入密码" autocomplete="off">
|
|
|
|
|
<span slot="suffix" class="iconfont icon-zhengyan-21 login-eye" v-if="pwdType==='password'" @click="changePwdType"></span>
|
|
|
|
|
<span slot="suffix" class="iconfont icon-in_biyan login-eye" v-else @click="changePwdType"></span>
|
|
|
|
|
</a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="验证码" prop="code">
|
|
|
|
|
<a-input v-model="form.code" placeholder="请输入验证码">
|
|
|
|
|
<a-input v-model="form.code" placeholder="请输入验证码" autocomplete="off">
|
|
|
|
|
<a-button slot="addonAfter" style="width: 100px" @click="countdown" v-if="showCode">FNMAK</a-button>
|
|
|
|
|
<a-button slot="addonAfter" style="width: 100px" v-else>{{count}}</a-button>
|
|
|
|
|
</a-input>
|
|
|
|
|