From 76f4b772a94912f1c11554094bf997f15ec86c3e Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Tue, 25 Nov 2025 10:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E4=BF=AE=E5=A4=8D=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=92=8C=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Toast通知改为只显示最新一条,避免多条同时出现 2. 修复首页"已有账号"按钮在渐变背景上看不清的问题 - 使用白色边框和文字 - 添加半透明背景和模糊效果 - 移动端也能清晰显示 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- frontend/app.js | 3 ++- frontend/index.html | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/frontend/app.js b/frontend/app.js index 51fcf77..bbd2b6b 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -2049,7 +2049,8 @@ handleDragLeave(e) { hiding: false }; - this.toasts.push(toast); + // 清除之前的所有通知,只保留最新的一个 + this.toasts = [toast]; // 4.5秒后开始淡出动画 setTimeout(() => { diff --git a/frontend/index.html b/frontend/index.html index fb4d5f0..1bf971e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -193,6 +193,22 @@ box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); } + /* Hero区域的outline按钮使用白色配色,在渐变背景上更清晰 */ + .hero .btn-outline { + background: rgba(255, 255, 255, 0.15); + color: white; + border: 2px solid rgba(255, 255, 255, 0.8); + backdrop-filter: blur(10px); + } + + .hero .btn-outline:hover { + background: rgba(255, 255, 255, 0.95); + color: var(--primary); + border-color: white; + transform: translateY(-3px); + box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3); + } + /* Hero Section */ .hero { max-width: 1200px;