|
|
|
|
@ -45,18 +45,18 @@
|
|
|
|
|
</span>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
<el-checkbox size="large" style="margin-top: 18px;zoom: 1.3;" v-model="isRemember">记住密码</el-checkbox>
|
|
|
|
|
<el-checkbox size="large" style="margin-top: 12px;" v-model="isRemember">记住密码</el-checkbox>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
:loading="loading"
|
|
|
|
|
type="primary"
|
|
|
|
|
round
|
|
|
|
|
style="
|
|
|
|
|
margin-top: 35px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
letter-spacing: 3px;
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
letter-spacing: 4px;
|
|
|
|
|
border-radius: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
height: 38px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #3d7af6;
|
|
|
|
|
filter: drop-shadow(0px 4px 9px rgba(72, 93, 237, 0.63));
|
|
|
|
|
@ -144,7 +144,6 @@ const handleLogin = () => {
|
|
|
|
|
|
|
|
|
|
userStore.login(loginForm.value).then(res => {
|
|
|
|
|
loading.value = false;
|
|
|
|
|
//ipcRenderer.invoke("create-admin-window")
|
|
|
|
|
ipcRenderer.invoke("toggle-main-window-resizable",true)
|
|
|
|
|
ipcRenderer.invoke("main-window-resize",{
|
|
|
|
|
width: 1200,
|
|
|
|
|
@ -173,7 +172,7 @@ const handleLogin = () => {
|
|
|
|
|
|
|
|
|
|
$bg: #283443;
|
|
|
|
|
$light_gray: #fff;
|
|
|
|
|
$cursor: #fff;
|
|
|
|
|
$cursor: #4c79ee;
|
|
|
|
|
|
|
|
|
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
|
|
|
|
.login-container .el-input input {
|
|
|
|
|
@ -186,9 +185,6 @@ $cursor: #fff;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
.el-input {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
height: 47px;
|
|
|
|
|
width: 70%;
|
|
|
|
|
|
|
|
|
|
input {
|
|
|
|
|
background: transparent;
|
|
|
|
|
@ -197,7 +193,7 @@ $cursor: #fff;
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
padding: 12px 5px 12px 15px;
|
|
|
|
|
color: #666;
|
|
|
|
|
height: 47px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
caret-color: $cursor;
|
|
|
|
|
|
|
|
|
|
&:-webkit-autofill {
|
|
|
|
|
@ -207,14 +203,6 @@ $cursor: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.el-form-item {
|
|
|
|
|
color: #0003;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
@ -224,17 +212,10 @@ $bg: #2d3a4b;
|
|
|
|
|
$dark_gray: #889aa4;
|
|
|
|
|
$light_gray: #eee;
|
|
|
|
|
|
|
|
|
|
.login-container-w {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-container {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: url("../../assets/imgs/login-bkg.png") no-repeat;
|
|
|
|
|
background: url("~@/assets/imgs/login-bkg.png") no-repeat;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: flex;
|
|
|
|
|
@ -243,8 +224,10 @@ $light_gray: #eee;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.form-container {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
|
|
padding: 20px 20px 24px 20px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
box-shadow: 0 2px 16px 0 rgba(0,0,0,.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tips {
|
|
|
|
|
@ -279,7 +262,15 @@ $light_gray: #eee;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.form-item + .form-item {
|
|
|
|
|
margin-top: 22px;
|
|
|
|
|
|
|
|
|
|
::v-deep .el-form-item__content {
|
|
|
|
|
display: flex;
|
|
|
|
|
line-height: 34px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
border-bottom: 1px #aaa6 solid;
|
|
|
|
|
}
|
|
|
|
|
.form-item {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|