🎨 修复通知和按钮显示问题

1. Toast通知改为只显示最新一条,避免多条同时出现
2. 修复首页"已有账号"按钮在渐变背景上看不清的问题
   - 使用白色边框和文字
   - 添加半透明背景和模糊效果
   - 移动端也能清晰显示

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-25 10:27:14 +08:00
parent 406b93019c
commit 76f4b772a9
2 changed files with 18 additions and 1 deletions

View File

@@ -2049,7 +2049,8 @@ handleDragLeave(e) {
hiding: false
};
this.toasts.push(toast);
// 清除之前的所有通知,只保留最新的一个
this.toasts = [toast];
// 4.5秒后开始淡出动画
setTimeout(() => {