docs(plans): 留痕 K30-E 选集条箭头靠右

This commit is contained in:
Zhou Weidong committed 2026-10-20 12:19:36 +08:00
1 parent 8b176a6880
commit 447a767617
2 files changed
+46

No files matched your search

+19
View File
@@ -1,3 +1,22 @@
## [已处理] 2026-10-20 | K30-E 播放页底部选集条箭头靠右(仅 App 端)
**用户指令(2026-10-20,原文)**:
> 「修改 播放页底部选集 上箭头应该在右侧 而不是紧挨着」
**现状**:`lib/pages/player/widgets/player_overlay.dart` 的 `_bottomActions()` 中,选集胶囊内部是 `Flexible(文本) + SizedBox(width: 3) + Icon(keyboard_arrow_up_rounded)`;`Flexible` 只收缩不占满,导致文字后的剩余空白留在箭头右边,箭头紧贴文字,违反 K29.9 之后用户新口径。
**口径(只改 Flutter,不动后端、不改接口)**
1. 选集胶囊文本由 `Flexible` 改为 `Expanded`,让箭头被推到胶囊内最右侧。
2. 文本与箭头间距由 3 提到 8;胶囊左右内边距保持 14,垂直 8 不变。
3. 箭头尺寸 18、颜色 `AppColors.onPrimary`、阴影不变;胶囊背景、圆角 7、点击行为不变。
4. 右侧清屏按钮与胶囊间距 8 不变;其余底部布局、进度条、标题行一律不动。
**测试/门禁**:如有断言涉及选集条布局需同步;`dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`。
**流程**:从 `develop` 拉 `fix/flutter-k30-episodes-arrow`;作者 `Zhou Weidong <502333560@qq.com>`;`--no-ff` 合回 develop 并 push;PROGRESS 留痕;真机验收由用户执行。
---
## [已处理] 2026-10-20 | K30-D 评论输入框尺寸与圆角修正(仅 App 端)
**用户指令(2026-10-20,原文)**:
+27
View File
@@ -20131,3 +20131,30 @@ Running Gradle task 'assembleDebug'...
```
解读:静态检查零告警,395 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
## 2026-10-20 ReelShort:K30-E 选集条箭头靠右
- 分支:`fix/flutter-k30-episodes-arrow`
- 功能提交:`90769de fix(flutter): 选集条箭头靠右排列`
- develop 合并提交:`427e7a7 merge: 合并 K30-E 选集条箭头靠右`,已推送。
- 仅改 `player_overlay.dart` 的 `_bottomActions()`:选集胶囊内文本 `Flexible` → `Expanded`,文本与 `keyboard_arrow_up_rounded` 间距 `SizedBox(width: 3)` → `8`,箭头被推到胶囊内最右侧。
- 胶囊内边距(horizontal 14 / vertical 8)、背景、圆角 7、箭头颜色/尺寸 18/阴影、onTap 行为、右侧清屏按钮间距 8 均未变;进度条、标题行、清屏按钮与其它播放控件未动。
- 测试(先红后绿):新增 `should_push_episodes_arrow_to_pill_right`,在 900 宽视口断言箭头右边缘距胶囊右内边距 14、箭头与文本间距 8;改布局前实测箭头距右边缘 390.25(红灯),改后通过。
门禁原始输出:
```text
$ dart analyze lib test
Analyzing lib, test...
No issues found!
$ flutter test
00:37 +396: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'...
7.6s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
解读:静态检查零告警,396 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。