docs(plans): 留痕 K32-A 剧场页重做

This commit is contained in:
Zhou Weidong committed 2026-10-20 13:24:38 +08:00
1 parent 83f7890851
commit 3755b766af
2 files changed
+89

No files matched your search

+32
View File
@@ -20478,3 +20478,35 @@ Running Gradle task 'assembleDebug'...
```
解读:静态检查零告警,403 条测试全部通过(较 K31-F 新增 1 条铃铛入口用例),debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
## 2026-10-20 ReelShort:K32-A 剧场页按参考图重做
- 分支:`feature/flutter-k32-theater-redesign`
- 功能提交:`5a51af4 feat(flutter): 剧场页按参考图重做`
- develop 合并提交:`edfef61 merge: 合并 K32-A 剧场页重做`,已推送。
- 顶栏:去掉头像,搜索框整行(高 40、白底、圆角 18),右侧内嵌「识剧」胶囊(Key `discover-identify`,浅灰底 + 定位图标 + 文案),点击显示 SnackBar;`discover-search` Key 未变。
- 分类:去掉 ChoiceChip,改为 44 高横向纯文字 tab(间距 20、左右 14),选中 16 w800 onSurface、未选中 15 w500 muted;Key `theater-category-chips` / `theater-category-*` 保留。
- 工具行:筛选/排行榜/新剧/预约 四个等宽按钮(白底、圆角 10、1px 边框、高 36、彩色图标),Key `theater-toolbar-*`;筛选打开底部面板(`theater-filter-sheet`、选项 Key `theater-filter-option-*`)并调用 `selectCategory`,其余三个提示即将上线。
- 卡片:去掉白卡底/阴影/内边距/锁定/总集数/加号;封面 3/4 圆角 10 全宽 `BoxFit.cover`;左上绿色「免费/原创」角标;左下热度角标(火焰 + `formatInteractionCount` + 热度,Key `drama-heat-*`);标题最多两行 15 w700;题材标签最多 3 个灰底胶囊(Key `drama-tag-chip-<id>-<index>`)。网格左右 12、列距 8、行距 14。
- l10n:新增 `reserve` / `identifyDrama` / `heatLabel(count)`,`comingSoon` 中文改为「即将上线」,三份 arb 后 `flutter gen-l10n`。
- 搜索态、刷新、错误/空态、详情跳转与底部 4 槽导航均未改。
测试:新增工具按钮/热度/题材标签断言、筛选面板用例、识剧 SnackBar 用例;`discover-profile` 断言改为 `discover-identify`;横向分类 ListView 与纵向列表并存导致的两处 `find.byType(ListView)` 歧义改为只匹配纵向列表。
门禁原始输出:
```text
$ dart analyze lib test
Analyzing lib, test...
No issues found!
$ flutter test
00:36 +405: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'...
12.7s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
解读:静态检查零告警,405 条测试全部通过(较 K31-G 新增 2 条),debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。