Commit e639b510 authored by 张伯涛's avatar 张伯涛

登录页样式调整

parent 0c5dfef6
This diff is collapsed.
...@@ -3,12 +3,32 @@ ...@@ -3,12 +3,32 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100%; width: 1920px;
background-image: url("../../assets/image/login-background.jpg"); height: 953px;
background-image: url("../../assets/image/login-bg.png");
background-size: cover; background-size: cover;
.el-checkbox__input.is-checked .el-checkbox__inner{
width: 14px;
height: 14px;
background: #214e90;
border-radius: 2px;
border-color: #214e90;
}
.el-checkbox .el-checkbox__inner:hover{
border: 1px solid #214e90!important;
}
.el-checkbox__input.is-focus .el-checkbox__inner{
border: 1px solid #214e90!important;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
font-size: 14px;
font-family: Microsoft YaHei, Microsoft YaHei-400;
font-weight: 400;
color: #333333;
}
.login_logoRow{ .login_logoRow{
padding-top: 10px; padding-top: 50px;
padding-bottom: 10px; padding-bottom: 39px;
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
...@@ -22,7 +42,7 @@ ...@@ -22,7 +42,7 @@
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 20px; margin-bottom: 40px;
.title { .title {
font-size: 24px; font-size: 24px;
font-family: Microsoft YaHei, Microsoft YaHei-700; font-family: Microsoft YaHei, Microsoft YaHei-700;
...@@ -46,7 +66,7 @@ ...@@ -46,7 +66,7 @@
font-size: 16px; font-size: 16px;
} }
.el-form-item { .el-form-item {
margin-bottom: 4vh; margin-bottom: 30px;
} }
} }
...@@ -54,31 +74,23 @@ ...@@ -54,31 +74,23 @@
position: absolute; position: absolute;
backdrop-filter: blur(4px); backdrop-filter: blur(4px);
display: inline; display: inline;
flex-direction: column; width: 499px;
align-items: flex-end; height: 560px;
border-radius: 6px; background-image: url("../../assets/image/loginForm-bg.png");
background: #ffffff no-repeat; border-radius: 20px;
background-size: 59%;
background-position-y: 57px;
width: 650px;
height: 550px;
padding: 25px 25px 5px 25px;
.login-form-content{ .login-form-content{
position: absolute;
top: 40%;
right: 28%;
width: 45%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.el-form-item{ .el-form-item{
width: 343px; width: 343px;
height: 44px;
.el-input__inner{ .el-input__inner{
border-radius: 4px; border-radius: 4px;
} }
} }
.loginCode_formItem{ .loginCode_formItem{
width: 21.4375rem; width: 343px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
//align-items: center; //align-items: center;
...@@ -86,18 +98,25 @@ ...@@ -86,18 +98,25 @@
.el-form-item{ .el-form-item{
width: 400px; width: 400px;
} }
.el-form-item__content{
width: 210px!important;
}
} }
.blue-btn{ .blue-btn{
width: 343px; width: 343px;
height: 40px; height: 44px;
background: #214e90;
border-radius: 4px; border-radius: 4px;
font-size: 18px; font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-700;
font-weight: 700;
color: #ffffff;
} }
} }
.el-input { .el-input {
height: 38px; height: 44px;
input { input {
height: 38px; height: 44px;
} }
} }
.input-icon { .input-icon {
...@@ -113,10 +132,10 @@ ...@@ -113,10 +132,10 @@
} }
.login-code { .login-code {
//width: 33%; //width: 33%;
height: 38px; height: 44px;
//float: right; //float: right;
img { img {
height: 38px; height: 44px;
cursor: pointer; cursor: pointer;
vertical-align: middle; vertical-align: middle;
} }
...@@ -138,7 +157,10 @@ ...@@ -138,7 +157,10 @@
width: 343px; width: 343px;
justify-content: space-between; justify-content: space-between;
.rem-code span{ .rem-code span{
color: $font-dark; font-size: 14px!important;
font-family: Microsoft YaHei, Microsoft YaHei-400;
font-weight: 400!important;
color: #333333!important;
} }
.el-link span{ .el-link span{
color: $color-theme; color: $color-theme;
......
<template> <template>
<div class="login"> <div class="login">
<!-- v-loading="vLoading"--> <el-form ref="loginForm" v-loading="vLoading" :model="loginForm" :rules="rules" class="login-form">
<el-form ref="loginForm" :model="loginForm" :rules="rules" class="login-form">
<!-- <img class="fy-logo" src="../../assets/image/denglu_logo.png">--> <!-- <img class="fy-logo" src="../../assets/image/denglu_logo.png">-->
<div class="login_logoRow"> <div class="login_logoRow">
<div class="login_form_logo" /> <div class="login_form_logo" />
</div> </div>
<div class="loginTitleRow"> <div class="loginTitleRow">
<div class="title">教学资源云平台</div> <div class="title">教学资源云后台管理</div>
</div> </div>
<div class="login-form-content"> <div class="login-form-content">
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input v-model="loginForm.username" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="password"> <el-form-item prop="password">
<el-input <el-input
v-model="loginForm.password" v-model="loginForm.password"
type="password"
auto-complete="off" auto-complete="off"
placeholder="密码" placeholder="密码"
@keypress.enter.native="handleLogin" @keypress.enter.native="handleLogin"
...@@ -87,10 +85,9 @@ ...@@ -87,10 +85,9 @@
:loading="loading" :loading="loading"
size="medium" size="medium"
type="primary" type="primary"
:disabled="!verify"
@click.native.prevent="handleLogin" @click.native.prevent="handleLogin"
> >
<!-- :disabled="!verify"-->
<span v-if="!loading">{{ '登 录' }}</span> <span v-if="!loading">{{ '登 录' }}</span>
<span v-else>登 录 中...</span> <span v-else>登 录 中...</span>
</el-button> </el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment