From 89559e2e83cd5d93ecffb188ea94b75c19feec93 Mon Sep 17 00:00:00 2001 From: ovo Date: Thu, 5 Dec 2024 22:39:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E5=86=8C=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/LoginView.vue | 187 ++++++++++++++++++++++++++++++++++++- src/views/RegisterView.vue | 45 +++++++-- 2 files changed, 220 insertions(+), 12 deletions(-) diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index 87307df..ac1e52e 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -119,6 +119,39 @@ + + + + @@ -150,10 +183,10 @@ \ No newline at end of file diff --git a/src/views/RegisterView.vue b/src/views/RegisterView.vue index 763ed3f..35e9d64 100644 --- a/src/views/RegisterView.vue +++ b/src/views/RegisterView.vue @@ -480,23 +480,27 @@ const sendEmailCode = () => { margin-bottom: 15px; } -.verify-title { - display: flex; - align-items: center; - gap: 8px; - color: #409EFF; - font-size: 16px; - font-weight: 500; +.verify-section .el-form-item { margin-bottom: 20px; } -.verify-title .el-icon { - font-size: 20px; +.verify-section .el-form-item__label { + height: 20px; + line-height: 20px; + margin-bottom: 6px; + color: #606266; + font-size: 14px; +} + +.verify-section .el-form-item__content { + width: 100%; } .verify-code-input { display: flex; gap: 10px; + align-items: flex-start; + width: 100%; } .verify-code-input .el-input { @@ -506,6 +510,27 @@ const sendEmailCode = () => { .verify-code-input .el-button { width: 120px; height: 50px; + margin-top: 0; + flex-shrink: 0; +} + +.verify-section .el-form-item:not(:first-child) .el-input { + width: calc(100% - 130px); + margin-left: 130px; +} + +.verify-title { + display: flex; + align-items: center; + gap: 8px; + color: #409EFF; + font-size: 16px; + font-weight: 500; + margin-bottom: 16px; +} + +.verify-title .el-icon { + font-size: 20px; } /* 优化输入框样式 */ @@ -584,7 +609,7 @@ const sendEmailCode = () => { flex-direction: column; } - .verify-section .verify-code-input + .el-form-item .el-input { + .verify-section .el-form-item:not(:first-child) .el-input { width: 100%; margin-left: 0; }