File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 52
52
</el-form-item >
53
53
<el-form-item prop =" mobileCode" >
54
54
<el-input v-model =" loginForm.mobileCode" type =" text" auto-complete =" off" placeholder =" 短信验证码"
55
+ class =" sms-login-mobile-code-prefix"
55
56
@keyup.enter.native =" handleLogin" >
56
- <template v-slot = " icon " >
57
+ <template >
57
58
<svg-icon slot =" prefix" icon-class =" password" class =" el-input__icon input-icon" />
58
59
</template >
59
- <template v- slot =" append " >
60
+ <template slot="append">
60
61
<span v-if =" mobileCodeTimer <= 0" class =" getMobileCode" @click =" getSmsCode" style =" cursor : pointer ;" >获取验证码</span >
61
62
<span v-if =" mobileCodeTimer > 0" class =" getMobileCode" >{{ mobileCodeTimer }}秒后可重新获取</span >
62
63
</template >
@@ -335,4 +336,9 @@ export default {
335
336
text-decoration : underline red ;
336
337
color : red ;
337
338
}
339
+ .sms-login-mobile-code-prefix {
340
+ :deep (.el-input__prefix ) {
341
+ top : 22% ;
342
+ }
343
+ }
338
344
</style >
You can’t perform that action at this time.
0 commit comments