From 8b83b8facf357d1f55e5f582d2adc5297db7712f Mon Sep 17 00:00:00 2001 From: caoxiaozhu Date: Tue, 14 Jul 2026 16:10:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=87=8D=E6=9E=84=E4=B8=BA=E5=8F=8C=E6=A0=8F=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 左侧新增品牌展示区与平台能力介绍,右侧保留登录表单并优化可访问性属性,Element Plus 链接/文本按钮统一样式与焦点表现。 --- frontend/src/styles/index.scss | 10 +- frontend/src/views/login/LoginView.vue | 634 ++++++++++++++++++------- 2 files changed, 464 insertions(+), 180 deletions(-) diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 3f5fe9a..a2f57ef 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -124,10 +124,18 @@ body { .el-button:active { transform: translateY(0); } -.el-button.is-link:hover { +.el-button.is-link:hover, +.el-button.is-text:hover { transform: none; box-shadow: none; } +.el-button.is-link:focus, +.el-button.is-text:focus { + background-color: transparent !important; + border-color: transparent !important; + box-shadow: none !important; + outline: none !important; +} /* 4. 标签 (el-tag) 圆润化 */ .el-tag { diff --git a/frontend/src/views/login/LoginView.vue b/frontend/src/views/login/LoginView.vue index bef2528..91f81fd 100644 --- a/frontend/src/views/login/LoginView.vue +++ b/frontend/src/views/login/LoginView.vue @@ -40,225 +40,308 @@ async function handleLogin() {