From 1a4c7175843bbadaac04a280f5e4b8207f04bce9 Mon Sep 17 00:00:00 2001 From: preschool Date: Tue, 13 Aug 2024 16:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=E4=BC=98=E5=8C=96=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E7=AA=97=E5=8F=A3=E9=AB=98=E5=BA=A6=E3=80=81=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E5=85=A5=E5=9C=BA=E5=8A=A8=E7=94=BB=E3=80=81?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E6=9A=97=E9=BB=91=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E5=88=86=E5=89=B2=E7=BA=BF=E5=92=8C=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E8=83=8C=E6=99=AF=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/index.scss | 1 + src/styles/theme.scss | 11 +++++++++++ src/views/Login/Login.vue | 10 ++++++---- src/views/Login/SocialLogin.vue | 12 +++++++----- src/views/Login/components/QrCodeForm.vue | 2 +- src/views/Login/components/RegisterForm.vue | 2 +- src/views/ai/write/index/components/Left.vue | 2 +- .../components/history/MemberBrowsingHistory.vue | 2 +- 8 files changed, 29 insertions(+), 13 deletions(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index fbe76f23..766f983e 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -1,5 +1,6 @@ @import './var.css'; @import './FormCreate/index.scss'; +@import './theme.scss'; @import 'element-plus/theme-chalk/dark/css-vars.css'; .reset-margin [class*='el-icon'] + span { diff --git a/src/styles/theme.scss b/src/styles/theme.scss index 39b03b3d..149002cf 100644 --- a/src/styles/theme.scss +++ b/src/styles/theme.scss @@ -4,3 +4,14 @@ // .dark .dark\:text-color { // color: rgba(255, 255, 255, var(--dark-text-color)); // } + +// 登录页 +.dark .login-form { + .el-divider__text { + background-color: var(--login-bg-color); + } + + .el-card { + background-color: var(--login-bg-color); + } +} diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 5d349ce3..e1245757 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -5,7 +5,7 @@ >
@@ -27,7 +27,9 @@
-