From 833e9661908a9d36fb5322ea204461aef70ac615 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 12 Dec 2023 11:32:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/login-container/index.vue | 35 +++++++++++--------- ui/src/components/login-layout/index.vue | 12 +++---- ui/src/styles/app.scss | 4 ++- ui/src/styles/element-plus.scss | 5 +++ ui/src/views/dataset/step/ResultSuccess.vue | 17 +++++++--- ui/src/views/login/forgot-password/index.vue | 16 +++------ ui/src/views/login/index.scss | 1 - ui/src/views/login/index.vue | 23 ++++++------- ui/src/views/login/register/index.vue | 33 +++++------------- ui/src/views/login/reset-password/index.vue | 22 +++++------- 10 files changed, 79 insertions(+), 89 deletions(-) diff --git a/ui/src/components/login-container/index.vue b/ui/src/components/login-container/index.vue index ea1f75334..a87568cb4 100644 --- a/ui/src/components/login-container/index.vue +++ b/ui/src/components/login-container/index.vue @@ -1,13 +1,17 @@ diff --git a/ui/src/components/login-layout/index.vue b/ui/src/components/login-layout/index.vue index 87d83ed9d..3aab70c1b 100644 --- a/ui/src/components/login-layout/index.vue +++ b/ui/src/components/login-layout/index.vue @@ -3,17 +3,17 @@
- + diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss index 84be6f417..6fc56b9ea 100644 --- a/ui/src/styles/app.scss +++ b/ui/src/styles/app.scss @@ -126,7 +126,9 @@ h4 { .mb-16 { margin-bottom: calc(var(--app-base-px) * 2); } - +.mb-24 { + margin-bottom: calc(var(--app-base-px) * 3); +} .ml-4 { margin-left: calc(var(--app-base-px) - 4px); } diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index b3090ad62..d34a4bd0b 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -28,6 +28,11 @@ --el-form-inline-content-width: 100%; } +.el-form-item { + margin-bottom: 24px; + +} + .el-dialog { --el-dialog-title-font-size: 16px; .dialog-sub-title { diff --git a/ui/src/views/dataset/step/ResultSuccess.vue b/ui/src/views/dataset/step/ResultSuccess.vue index 126a5fbce..3889e3b65 100644 --- a/ui/src/views/dataset/step/ResultSuccess.vue +++ b/ui/src/views/dataset/step/ResultSuccess.vue @@ -3,13 +3,13 @@ @@ -54,7 +54,8 @@ \ No newline at end of file + diff --git a/ui/src/views/login/index.scss b/ui/src/views/login/index.scss index 899919730..cf044384a 100644 --- a/ui/src/views/login/index.scss +++ b/ui/src/views/login/index.scss @@ -1,4 +1,3 @@ .login-submit-button { - margin-top: 12px; height: 40px; } diff --git a/ui/src/views/login/index.vue b/ui/src/views/login/index.vue index 3e93437e4..218079ae0 100644 --- a/ui/src/views/login/index.vue +++ b/ui/src/views/login/index.vue @@ -1,20 +1,18 @@ @@ -77,8 +74,8 @@ const rules = ref>({ }, { min: 6, - max: 30, - message: '长度在 6 到 30 个字符', + max: 20, + message: '长度在 6 到 20 个字符', trigger: 'blur' } ] @@ -99,4 +96,4 @@ const login = () => { \ No newline at end of file + diff --git a/ui/src/views/login/register/index.vue b/ui/src/views/login/register/index.vue index dd4fff74a..dd776abf2 100644 --- a/ui/src/views/login/register/index.vue +++ b/ui/src/views/login/register/index.vue @@ -1,7 +1,7 @@