style: 固定登录页样式 (#5197)

This commit is contained in:
ssongliu 2024-05-29 15:15:10 +08:00 committed by GitHub
parent 312c19e3cc
commit fe00cb8015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 10 deletions

View file

@ -123,10 +123,7 @@
<el-form-item prop="agreeLicense">
<el-checkbox v-model="loginForm.agreeLicense">
<template #default>
<span
style="white-space: pre-wrap; line-height: 14px"
v-html="$t('commons.login.licenseHelper')"
></span>
<span class="agree" v-html="$t('commons.login.licenseHelper')"></span>
</template>
</el-checkbox>
<span
@ -451,6 +448,8 @@ onMounted(() => {
width: 100%;
height: 45px;
margin-top: 10px;
background-color: #005eeb;
color: #ffffff;
}
.demo {
@ -471,11 +470,24 @@ onMounted(() => {
}
}
.l-select {
:deep(.el-input__wrapper) {
background: none !important;
box-shadow: none !important;
}
.agree {
white-space: pre-wrap;
line-height: 14px;
color: #005eeb;
}
:deep(.el-checkbox__input .el-checkbox__inner) {
background-color: #fff !important;
border-color: #fff !important;
}
:deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
background-color: #005eeb !important;
border-color: #005eeb !important;
}
:deep(.el-checkbox__input.is-checked .el-checkbox__inner::after) {
border-color: #fff !important;
}
}
</style>

View file

@ -174,7 +174,7 @@ onMounted(() => {
text-align: right;
margin-right: 10%;
span:first-child {
color: $primary-color;
color: #005eeb;
font-size: 40px;
font-family: pingFangSC-Regular;
font-weight: 600;