File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3
3
<h3 class =" login-title" >登录</h3 >
4
4
<el-form :model =" form" :rules =" rules" ref =" form" >
5
5
<el-form-item prop =" mobile" >
6
- <el-input v-model =" form.mobile" placeholder =" 请输入手机号" ></el-input >
6
+ <el-input v-model =" form.mobile" tabindex = " 1 " placeholder =" 请输入手机号" ></el-input >
7
7
</el-form-item >
8
8
<el-form-item prop =" password" >
9
9
<el-input
10
10
v-model =" form.password"
11
+ tabindex =" 2"
11
12
type =" password"
12
13
show-password
13
14
placeholder =" 请输入密码"
23
24
<el-button
24
25
class =" login-button"
25
26
type =" primary"
27
+ tabindex =" 3"
26
28
@click =" handleLogin"
27
29
:loading =" loading"
28
30
>
Original file line number Diff line number Diff line change 3
3
<h3 class =" register-title" >注册</h3 >
4
4
<el-form :model =" form" :rules =" rules" ref =" form" >
5
5
<el-form-item prop =" mobile" >
6
- <el-input v-model =" form.mobile" placeholder =" 请输入手机号" ></el-input >
6
+ <el-input v-model =" form.mobile" tabindex = " 1 " placeholder =" 请输入手机号" ></el-input >
7
7
</el-form-item >
8
8
<el-form-item prop =" password" >
9
9
<el-input
10
10
v-model =" form.password"
11
+ tabindex =" 2"
11
12
type =" password"
12
13
show-password
13
14
placeholder =" 请输入密码"
18
19
<el-form-item prop =" smsCode" >
19
20
<el-input
20
21
v-model =" form.smsCode"
22
+ tabindex =" 3"
21
23
placeholder =" 请输入短信验证码"
22
24
class =" sms-code-input"
23
25
>
27
29
class =" sms-code-btn"
28
30
:disabled =" timerSeconds !== 0"
29
31
@click =" handleSendSmsCode"
32
+ tabindex =" 4"
30
33
v-text ="
31
34
timerSeconds === 0 ? '发送验证码' : `重新发送 (${timerSeconds}s)`
32
35
"
41
44
type =" primary"
42
45
@click =" handleRegister"
43
46
:loading =" loading"
47
+ tabindex =" 5"
44
48
>
45
49
注册
46
50
</el-button >
You can’t perform that action at this time.
0 commit comments