From f73efc8653742d27f059ad20c3d1be95337fcd0f Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Tue, 20 Oct 2026 14:58:31 +0800 Subject: [PATCH] =?UTF-8?q?docs(plans):=20=E7=95=99=E7=97=95=20K34-B=20?= =?UTF-8?q?=E5=89=A7=E5=9C=BA=E6=90=9C=E7=B4=A2=E6=A1=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/plans/INBOX.md | 22 ++++++++++++++++++++++ docs/plans/PROGRESS.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/docs/plans/INBOX.md b/docs/plans/INBOX.md index aa2472e..39f5735 100644 --- a/docs/plans/INBOX.md +++ b/docs/plans/INBOX.md @@ -1,3 +1,25 @@ +## [已处理] 2026-10-20 | K34-B 剧场搜索框改为参考图样式(浅灰胶囊、无描边无阴影)(仅 App 端) + +**用户指令(2026-10-20,原文)**: +> 「剧场页的搜索框还是不对」 + +**现状**:`lib/pages/discover/widgets/discover_search_field.dart` 为白底 + 1px 边框 + 投影 + 高 40,叠在暖色渐变上像悬浮白胶囊,与参考图(`20261020-131821.jpg` 顶部搜索框:浅灰底、无描边、无阴影、略高的胶囊)不一致。 + +**口径(只改 Flutter,不动后端、不改接口)** +1. 常态:填充 `AppColors.commentInput`(#F5EFE8 浅灰)、无边框、无阴影、高 44、圆角 22;左右内边距 14。 +2. 图标与文字:放大镜 18 `AppColors.subtle`,与文字间距 8;hint/输入 14,hint 色 `AppColors.subtle`;垂直居中。 +3. 聚焦态:填充改白、显示 1px `AppColors.blue` 描边(160ms 过渡);失焦回到浅灰无边框。 +4. 保留 Key `discover-search` 与 `discover-search-shell`;右侧不加任何按钮;`onTapOutside` 失焦行为不变。 +5. 剧场页搜索框高度变化后,吸顶筛选头的偏移量(`edgeOffset`)同步更新,保证下拉刷新指示器仍在筛选头下方。 + +**测试/门禁** +- 更新断言:常态无边框、填充色为 `AppColors.commentInput`、高度 44;聚焦后描边为主题色;下拉刷新指示器位置不回归; +- `dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`。 + +**流程**:从 `develop` 拉 `fix/flutter-k34-theater-search`;作者 `Zhou Weidong <502333560@qq.com>`;`--no-ff` 合回 develop 并 push;PROGRESS 留痕;真机验收由用户执行。 + +--- + ## [已处理] 2026-10-20 | K34-A 剧场页:搜索框精致化 + 筛选区固定吸顶动效 + 下拉刷新精致化(仅 App 端) **用户指令(2026-10-20,原文)**: diff --git a/docs/plans/PROGRESS.md b/docs/plans/PROGRESS.md index cce11c3..487396d 100644 --- a/docs/plans/PROGRESS.md +++ b/docs/plans/PROGRESS.md @@ -20961,3 +20961,31 @@ Running Gradle task 'assembleDebug'... ``` 解读:静态检查零告警,419 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。 + +## 2026-10-20 ReelShort:K34-B 剧场搜索框改为参考图样式 + +- 分支:`fix/flutter-k34-theater-search` +- 功能提交:`eccd3c6 fix(flutter): 剧场搜索框改为浅灰胶囊` +- develop 合并提交:`7a75ee6 merge: 合并 K34-B 剧场搜索框样式`,已推送。 +- 常态:填充 `AppColors.commentInput`、无边框、无阴影、高 44、圆角 22、左右内边距 14。 +- 图标 18 `AppColors.subtle` 与文字间距 8;hint/输入 14,垂直居中;聚焦时填充变白并显示 1px `AppColors.blue` 描边(160ms 过渡),失焦恢复浅灰无边框。 +- Key `discover-search`/`discover-search-shell` 保留,右侧无按钮,onTapOutside 行为不变;吸顶筛选头与 `edgeOffset`(102 + 8)不受影响,刷新指示器仍在筛选头下方。 +- 测试:常态断言圆角 22、填充 commentInput、透明边框、高 44;聚焦后填充 card、描边主题橙。 + +门禁原始输出: + +```text +$ dart analyze lib test +Analyzing lib, test... +No issues found! + +$ flutter test +00:39 +419: All tests passed! + +$ flutter build apk --debug +Running Gradle task 'assembleDebug'... + 12.5s +✓ Built build/app/outputs/flutter-apk/app-debug.apk +``` + +解读:静态检查零告警,419 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。