From d7e69fac8098dcbe9ece0c11db149f161db5bd81 Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Mon, 19 Oct 2026 17:51:48 +0800 Subject: [PATCH] =?UTF-8?q?docs(plans):=20=E4=B8=8B=E5=8F=91=20K27.9=20?= =?UTF-8?q?=E5=8F=91=E7=8E=B0=E9=A1=B5=E5=9B=BA=E5=AE=9A=E9=A1=B6=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/plans/INBOX.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/plans/INBOX.md b/docs/plans/INBOX.md index dc77d89..bca8ecb 100644 --- a/docs/plans/INBOX.md +++ b/docs/plans/INBOX.md @@ -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,原文)**: