|
@@ -7,9 +7,9 @@
|
|
|
v-model="loginForm.username"
|
|
|
type="text"
|
|
|
auto-complete="off"
|
|
|
- placeholder="账号"
|
|
|
+ placeholder="请输入账号"
|
|
|
>
|
|
|
- <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
|
|
+ <svg-icon slot="prefix" icon-class="user-new" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="password">
|
|
@@ -17,17 +17,17 @@
|
|
|
v-model="loginForm.password"
|
|
|
type="password"
|
|
|
auto-complete="off"
|
|
|
- placeholder="密码"
|
|
|
+ placeholder="请输入密码"
|
|
|
@keyup.enter.native="handleLogin"
|
|
|
>
|
|
|
- <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
|
|
|
+ <svg-icon slot="prefix" icon-class="password-new" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="code" v-if="captchaEnabled">
|
|
|
+ <el-form-item prop="code-new" v-if="captchaEnabled">
|
|
|
<el-input
|
|
|
v-model="loginForm.code"
|
|
|
auto-complete="off"
|
|
|
- placeholder="验证码"
|
|
|
+ placeholder="请输入验证码"
|
|
|
style="width: 63%"
|
|
|
@keyup.enter.native="handleLogin"
|
|
|
>
|
|
@@ -37,13 +37,13 @@
|
|
|
<img :src="codeUrl" @click="getCode" class="login-code-img"/>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
- <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
|
|
|
+ <!-- <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> -->
|
|
|
<el-form-item style="width:100%;">
|
|
|
<el-button
|
|
|
:loading="loading"
|
|
|
size="medium"
|
|
|
type="primary"
|
|
|
- style="width:100%;"
|
|
|
+ style="width:100%;height: 64px;background: #5680FF;border-radius: 32px;font-size: 22px;"
|
|
|
@click.native.prevent="handleLogin"
|
|
|
>
|
|
|
<span v-if="!loading">登 录</span>
|
|
@@ -55,9 +55,9 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<!-- 底部 -->
|
|
|
- <div class="el-login-footer">
|
|
|
+ <!-- <div class="el-login-footer">
|
|
|
<span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -174,7 +174,7 @@ export default {
|
|
|
<style rel="stylesheet/scss" lang="scss">
|
|
|
.login {
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
+ justify-content: flex-end;
|
|
|
align-items: center;
|
|
|
height: 100%;
|
|
|
background-size: cover;
|
|
@@ -195,21 +195,33 @@ export default {
|
|
|
}
|
|
|
|
|
|
.login-form {
|
|
|
- border-radius: 6px;
|
|
|
- background: rgba(255,255,255,0.62);
|
|
|
- backdrop-filter: blur(5px);
|
|
|
- width: 400px;
|
|
|
- padding: 25px 25px 5px 25px;
|
|
|
+ .el-form-item--mini.el-form-item{
|
|
|
+ margin-bottom: 28px;
|
|
|
+ }
|
|
|
+ margin-right: 152px;
|
|
|
+ border-radius: 15px;
|
|
|
+ background: rgba(255,255,255,1);
|
|
|
+ // width: 400px;
|
|
|
+ padding: 93px 113px 90px 116px;
|
|
|
.el-input {
|
|
|
- height: 38px;
|
|
|
+ height: 58px;
|
|
|
input {
|
|
|
- height: 38px;
|
|
|
+ height: 58px;
|
|
|
+ border-radius: 29px;
|
|
|
+ padding-left: 65px;
|
|
|
+ font-size: 14px;
|
|
|
+ border-color: #DCE9FD;
|
|
|
+ background-color: #F6F9FF;
|
|
|
}
|
|
|
}
|
|
|
.input-icon {
|
|
|
- height: 39px;
|
|
|
- width: 14px;
|
|
|
- margin-left: 2px;
|
|
|
+ height: 25px;
|
|
|
+ width: 22px;
|
|
|
+ }
|
|
|
+ .el-input__prefix{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ left: 26px;
|
|
|
}
|
|
|
}
|
|
|
.login-tip {
|
|
@@ -224,6 +236,7 @@ export default {
|
|
|
img {
|
|
|
cursor: pointer;
|
|
|
vertical-align: middle;
|
|
|
+ margin-top: 10px;
|
|
|
}
|
|
|
}
|
|
|
.el-login-footer {
|
|
@@ -241,4 +254,13 @@ export default {
|
|
|
.login-code-img {
|
|
|
height: 38px;
|
|
|
}
|
|
|
+@media screen and (max-width: 1200px) {
|
|
|
+ .login{
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ .login-form{
|
|
|
+ margin-right: 0;
|
|
|
+ padding: 24px;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|