适配 element plus 最新版本

This commit is contained in:
RuoYi
2022-01-11 17:24:45 +08:00
parent b132d44489
commit a7b867ff09
35 changed files with 289 additions and 369 deletions

View File

@ -6,6 +6,7 @@
<el-input
v-model="loginForm.username"
type="text"
size="large"
auto-complete="off"
placeholder="账号"
>
@ -16,6 +17,7 @@
<el-input
v-model="loginForm.password"
type="password"
size="large"
auto-complete="off"
placeholder="密码"
@keyup.enter="handleLogin"
@ -26,6 +28,7 @@
<el-form-item prop="code" v-if="captchaOnOff">
<el-input
v-model="loginForm.code"
size="large"
auto-complete="off"
placeholder="验证码"
style="width: 63%"
@ -41,7 +44,7 @@
<el-form-item style="width:100%;">
<el-button
:loading="loading"
size="medium"
size="large"
type="primary"
style="width:100%;"
@click.prevent="handleLogin"
@ -167,15 +170,15 @@ getCookie();
width: 400px;
padding: 25px 25px 5px 25px;
.el-input {
height: 38px;
height: 40px;
input {
height: 38px;
height: 40px;
}
}
.input-icon {
height: 39px;
width: 14px;
margin-left: 2px;
margin-left: 0px;
}
}
.login-tip {
@ -185,7 +188,7 @@ getCookie();
}
.login-code {
width: 33%;
height: 38px;
height: 40px;
float: right;
img {
cursor: pointer;
@ -205,6 +208,7 @@ getCookie();
letter-spacing: 1px;
}
.login-code-img {
height: 38px;
height: 40px;
padding-left: 12px;
}
</style>