docs(plans): 留痕 K31-C 频道选中态主题色

This commit is contained in:
Zhou Weidong committed 2026-10-20 12:50:49 +08:00
1 parent c9561edb63
commit 02a675a07c
2 files changed
+47

No files matched your search

+20
View File
@@ -1,3 +1,23 @@
## [已处理] 2026-10-20 | K31-C 首页频道选中态改用主题色(仅 App 端)
**用户指令(2026-10-20,原文)**:
> 「选中的颜色用主题色啊」
**现状**:`lib/pages/home/home_browse_view.dart` 的 `_channelItem()` 中,叠加在轮播图上的选中项文字与下划线都是白色(`Colors.white` / `Colors.white`),未选中为 `Colors.white70`。
**口径(只改 Flutter,不动后端、不改接口)**
1. 选中项文字颜色改为主题色 `AppColors.blue`(`AppColors.primary` 同值),叠加在图上与非叠加场景都用主题色;保留文字阴影保证可读性。
2. 选中项下划线颜色同样改为 `AppColors.blue`。
3. 未选中项保持现状:图上 `Colors.white70`、非叠加 `AppColors.muted`;字重 w600、字号 15 不变。
4. 横线尺寸 18×2、圆角 1、间距 4 不变;Key 不变。
5. 同步更新 `test/home/k28_a_navigation_test.dart` 中选中态颜色断言为主题色。
**测试/门禁**:`dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`。
**流程**:从 `develop` 拉 `fix/flutter-k31-channel-accent`;作者 `Zhou Weidong <502333560@qq.com>`;`--no-ff` 合回 develop 并 push;PROGRESS 留痕;真机验收由用户执行。
---
## [已处理] 2026-10-20 | K31-B 首页频道悬浮轮播图 + 轮播全宽直角 + 频道下划线选中(仅 App 端)
**用户指令(2026-10-20,原文)**: