From ed72ce3cd1576427dfb3227def527a79d5184276 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Mon, 8 Dec 2025 14:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E5=BF=98=E8=AE=B0=E5=AF=86=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/renderer/src/views/Login.vue | 95 +++++++++++++---------- 1 file changed, 54 insertions(+), 41 deletions(-) diff --git a/frontend/src/renderer/src/views/Login.vue b/frontend/src/renderer/src/views/Login.vue index 8f325a22..05496344 100644 --- a/frontend/src/renderer/src/views/Login.vue +++ b/frontend/src/renderer/src/views/Login.vue @@ -5,7 +5,12 @@
-

欢迎登录

+

+ 欢迎登录 + 注册 + 找回密码 + +

平衡体态检测系统

@@ -67,9 +72,7 @@ - -
注册
- +
@@ -146,8 +149,6 @@ -
找回密码
-
@@ -229,7 +230,7 @@ import { getBackendUrl,systemAPI } from '../services/api.js' const BACKEND_URL = getBackendUrl() const router = useRouter() const authStore = useAuthStore() - +const loginTitle =ref('欢迎登录') // 页面状态控制 const isRegisterMode = ref(false) const isForgotPasswordMode = ref(false) @@ -706,13 +707,14 @@ const copyPassword = async () => { /* 注册卡片 */ .register-card { width: 482px; - background-color: #1D1C21; + background-color: transparent; box-sizing: border-box; border-width: 3px; border-style: solid; - border-color: #1D1C21; + border-color: transparent; border-radius: 5px; - padding: 30px 25px !important; + padding: 0px 0px !important; + box-shadow: 0 0 0 transparent; } /* 卡片头部标题 */ @@ -918,20 +920,13 @@ const copyPassword = async () => { border-color: #999; } -.confirm-btn { - background-color: #266fff ; - border-color: #266fff ; - color: #fff; - font-weight: 500; -} - .confirm-btn:hover { transform: translateY(-1px); } /* 注册表单样式 */ .register-form { - padding: 20px 0; + padding: 0px 0; } .form-item { @@ -942,21 +937,22 @@ const copyPassword = async () => { position: relative; display: flex; align-items: center; - background: transparent; - color: #fff; - font-size: 16px; - height: 49px; + height: 60px; + background-color: rgba(255, 255, 255, 0.1); + box-sizing: border-box; + border-width: 1px; + border-style: solid; + border-color: transparent; + border-radius: 3px; /* background-color: #004080; border-radius: 6px; */ - border: 1px solid rgb(67, 67, 67); padding: 0 15px; transition: all 0.2s ease; } .input-wrapper:focus-within { - border-color: #cccccc; - box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); + border-color: rgba(11, 148, 213, 1); } .input-icon { @@ -971,7 +967,7 @@ const copyPassword = async () => { border: none; outline: none; color: #fff; - font-size: 14px; + font-size: 16px; padding: 12px 0; } @@ -1012,9 +1008,15 @@ const copyPassword = async () => { } .back-btn { - background-color: transparent; - border-color: #266fff; - color: #266fff; + border-color: #597194; + background-color: #597194; + border-radius: 4px; + color: rgba(255, 255, 255, 0.6); + font-family: 'Noto Sans SC'; + font-weight: 400; + font-style: normal; + font-size: 20px; + color: #FFFFFF; } .back-btn:hover { @@ -1024,9 +1026,13 @@ const copyPassword = async () => { } .submit-btn { - background-color: #266fff; - border-color: #266fff; - color: #fff; + background-color: rgba(11, 148, 213, 1); + border-color: rgba(11, 148, 213, 1) !important; + font-family: 'Noto Sans SC'; + font-weight: 400; + font-style: normal; + font-size: 20px; + color: #FFFFFF; } .submit-btn:hover { @@ -1036,17 +1042,18 @@ const copyPassword = async () => { /* 忘记密码页面样式 */ .forgot-password-card { width: 482px; - background-color: #1D1C21; + background-color: transparent; box-sizing: border-box; border-width: 3px; border-style: solid; - border-color: #1D1C21; + border-color: transparent; border-radius: 5px; - padding: 30px 25px !important; + box-shadow: 0 0 0 transparent; + padding: 0px 0px !important; } .forgot-password-form { - padding: 20px 0; + padding: 0px 0px; } .forgot-input { @@ -1127,10 +1134,13 @@ const copyPassword = async () => { font-weight: 500; cursor: pointer; transition: all 0.2s ease; - border: 1px solid; - background-color: #266fff; - border-color: #266fff; - color: #fff; + background-color: rgba(11, 148, 213, 1); + border-color: rgba(11, 148, 213, 1) !important; + font-family: 'Noto Sans SC'; + font-weight: 400; + font-style: normal; + font-size: 20px; + color: #FFFFFF; } .confirm-btn:hover { transform: translateY(-1px); @@ -1140,7 +1150,7 @@ const copyPassword = async () => { display: flex; align-items: center; width: 450px; - height: 60px; + height: 60px; background-color: rgba(255, 255, 255, 0.1); box-sizing: border-box; border-width: 1px; @@ -1148,6 +1158,9 @@ const copyPassword = async () => { border-color: transparent; border-radius: 3px; } +.input-box:focus-within { + border-color: rgba(11, 148, 213, 1); +}