docs(plans): 留痕 K31-C 频道选中态主题色
This commit is contained in:
1 parent
c9561edb63
commit
02a675a07c
2 files changed
+47
No files matched your search
@@ -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,原文)**:
|
||||
|
||||
@@ -20336,3 +20336,30 @@ Running Gradle task 'assembleDebug'...
|
||||
```
|
||||
|
||||
解读:静态检查零告警,401 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
|
||||
|
||||
## 2026-10-20 ReelShort:K31-C 首页频道选中态改主题色
|
||||
|
||||
- 分支:`fix/flutter-k31-channel-accent`
|
||||
- 功能提交:`0e48c07 fix(flutter): 首页频道选中态改用主题色`
|
||||
- develop 合并提交:`cfc41ef merge: 合并 K31-C 频道选中态主题色`,已推送。
|
||||
- `_channelItem()`:选中项文字与下划线统一为 `AppColors.blue`(叠加图上与非叠加场景一致),文字阴影保留;未选中保持图上 `white70` / 非叠加 `muted`,字重 w600、字号 15 不变。
|
||||
- 横线 18×2、圆角 1、间距 4 与所有 Key 不变;其它布局未动。
|
||||
- 测试同步:`should_switch_home_channel_when_underline_tab_is_tapped` 的选中态断言改为 `AppColors.blue`(文字与横线),并补充切换后未选中项回到 white70。
|
||||
|
||||
门禁原始输出:
|
||||
|
||||
```text
|
||||
$ dart analyze lib test
|
||||
Analyzing lib, test...
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:36 +401: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
Running Gradle task 'assembleDebug'...
|
||||
7.0s
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
解读:静态检查零告警,401 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
|
||||
Reference in new issue
Block a user