docs(plans): 记录 K27.12 瀑布流刷新
This commit is contained in:
1 parent
01911016d2
commit
76e6c3546f
1 file changed
+37
@@ -5755,3 +5755,40 @@ cabc0e7 merge: 点击页面取消搜索焦点
|
||||
|
||||
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
|
||||
`develop` 与 `fix/flutter-discover-search-unfocus` 已推送。真机验收由用户执行。
|
||||
|
||||
### K27.12 发现页瀑布流 + 下拉刷新(2026-10-19)
|
||||
|
||||
- 发现页短剧列表改为手动两列瀑布流:奇偶索引分列,列间距 10、卡片间距 10、
|
||||
左右 14;保留 `home-all-dramas-section/grid`、卡片/封面/标题 Key。
|
||||
- 封面改用 `Image.network(fit: BoxFit.fitWidth)`,高度按原图比例自适应、不裁剪;
|
||||
加载中/失败使用 3:4 占位,免费角标仍叠加左上角,图上不再有剧名/渐变。
|
||||
- `CustomScrollView` 外包 `RefreshIndicator`(`AlwaysScrollableScrollPhysics`,
|
||||
主色指示器),`onRefresh` 并行执行 `categories.load()` 与
|
||||
`logic.refreshResume()`,完成后自动收起。
|
||||
- 搜索、分类选择、快捷入口、底部导航不变。
|
||||
|
||||
门禁原始输出:
|
||||
|
||||
```text
|
||||
$ dart analyze lib test
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:30 +360: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
Running Gradle task 'assembleDebug'... 22.3s
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
构建在 `/tmp/reelshort-discover-masonry` 独立 worktree 完成。
|
||||
|
||||
Git:
|
||||
|
||||
```text
|
||||
d271c43 feat(discover): 增加瀑布流与下拉刷新
|
||||
75dacf2 merge: 增加瀑布流与下拉刷新
|
||||
```
|
||||
|
||||
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
|
||||
`develop` 与 `fix/flutter-discover-masonry-refresh` 已推送。真机验收由用户执行。
|
||||
Reference in new issue
Block a user