docs(plans): 下发 K27.9 发现页固定顶栏

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-19 17:51:48 +08:00
1 parent 0d2e6ba87f
commit d7e69fac80
1 file changed
+24
+24
View File
@@ -20,6 +20,30 @@
---
## [待处理] 2026-10-19 | K27.9 发现页顶栏固定(与我的页面一致)
**用户指令(2026-10-19,原文)**:
> 「发现页上方的怎么和我的页面不一样 不是固定的」
**问题定位(Trae 勘察)**
- `discover_view.dart` 的 `_header` 被放在 `CustomScrollView` 的 `SliverToBoxAdapter` 里,滚动时会跟随内容消失。
- `mine_view.dart` 的 `_topBar` 在 `List(ListView)` 之外,固定不滚动。
**口径**
1. 把发现页 `_header`(logo + 「发现」标题 + 搜索按钮 + 头像)从 `CustomScrollView` 的 slivers 中移出,放在 `_page` 的 `Column` 顶部、`Expanded(_feed(...))` 之前,实现固定顶栏。
2. 顶栏尺寸与我的页面统一:`SizedBox(height: 46)` + `Padding(horizontal: 14)`,内部布局与样式沿用现有 `_header`。
3. 搜索框、分类 chips、继续观看、快捷入口等内容仍可滚动,不改变顺序与间距。
4. 底部导航行为不变。
**测试**
1. 发现页初始 `discover-search-button` 的位置;
2. 向上拖动内容列表后,`discover-search-button` 的 `dy` 不变,而可滚动内容(如分类 chips / 正在追卡片)位置发生变化;
3. 既有测试全过。
**流程**:从最新 `develop` 拉 `fix/flutter-discover-fixed-header`;门禁 `dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`;`--no-ff` 合回 develop 并 push;作者 `Zhou Weidong <502333560@qq.com>`;PROGRESS 留痕;真机验收由用户执行。
---
## [待处理] 2026-10-19 | K27.8 首页右侧互动下移 + 倍速移入右上角弹窗 + 拖动进度显示时间
**用户指令(2026-10-19,原文)**: