File tree Expand file tree Collapse file tree
platform/src/app/[locale] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # 网站修复问题 - 2026-03-23
2+
3+ ## 问题分析
4+
5+ ### 问题 1: 亮暗色转换按钮
6+ ** 状态:** ✅ 代码已存在,需要确认是否正常工作
7+
8+ ### 问题 2: Hero 区向下箭头不明显
9+ ** 原因:**
10+ - 向下箭头使用 ` animate-bounce ` 类
11+ - 颜色可能太浅 (` text-on-surface-variant ` )
12+ - 位置在按钮下方,但距离可能不够明显
13+
14+ ** 修复方案:**
15+ 1 . 增强向下箭头的可见性
16+ 2 . 增加向下滚动的动画效果
17+ 3 . 跻加更明显的提示文字
18+
19+ ---
20+
21+ ## 立即修复
Original file line number Diff line number Diff line change @@ -56,15 +56,16 @@ function Hero() {
5656 { t ( 'cta' ) }
5757 </ a >
5858
59- { /* 向下滚动提示 */ }
60- < div className = "mt-12 animate-bounce" >
59+ { /* 向下滚动提示 - 增强可见性 */ }
60+ < div className = "mt-16 animate-bounce" >
6161 < a
6262 href = "#outline"
63- className = "text-on-surface-variant hover:text-primary transition-colors "
64- aria-label = "Scroll down "
63+ className = "inline-flex items-center gap-2 text-on-surface-variant hover:text-primary transition-all group "
64+ aria-label = "向下浏览课程大纲 "
6565 >
66+ < span className = "text-sm" > 查看课程大纲</ span >
6667 < svg
67- className = "w-8 h-8 mx-auto "
68+ className = "w-6 h-6 "
6869 fill = "none"
6970 stroke = "currentColor"
7071 viewBox = "0 0 24 24"
You can’t perform that action at this time.
0 commit comments