docs(plans): 下发 K27.10 发现页封面不裁剪

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-19 18:00:04 +08:00
1 parent 01990259af
commit 317daf4c2b
1 file changed
+23
+23
View File
@@ -20,6 +20,29 @@
---
## [待处理] 2026-10-19 | K27.10 发现页短剧卡片:封面不裁剪、图上不显示剧名
**用户指令(2026-10-19,原文)**:
> 「现在改发现页面的短剧列表 要求图片不做切割 图片上不显示剧名」
**口径**
1. `discover_view.dart` 的 `_HomeDramaCard` 封面:
- `RemoteImage` 的 `fit` 从 `BoxFit.cover` 改为 `BoxFit.contain`,图片完整显示不裁剪;封面区域加中性底色(如 `AppColors.card`),避免留白突兀。
- 封面尺寸(高 120、圆角 10)与卡片网格尺寸保持不变。
2. 删除封面上的剧名:移除盖在图片上的 `Positioned` 标题 `Text`,以及只为该标题服务的底部黑色渐变遮罩。
3. 保留左上角「免费」角标;图片下方的剧名/题材两行照旧显示(`home-drama-title-<id>` 仍存在且只有一处)。
4. 不改变卡片点击、网格列数与间距。
**测试**
1. 封面内不再出现剧名文本(`find.descendant(of: cover, matching: find.text(title))` 为空)。
2. 封面 `RemoteImage.fit == BoxFit.contain`。
3. 图片下方 `home-drama-title-<id>` 仍存在且只有一个;「免费」角标逻辑不变。
4. 既有测试全过。
**流程**:从最新 `develop` 拉 `fix/flutter-discover-cover-contain`;门禁 `dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`;`--no-ff` 合回 develop 并 push;作者 `Zhou Weidong <502333560@qq.com>`;PROGRESS 留痕;真机验收由用户执行。
---
## [待处理] 2026-10-19 | K27.9 发现页顶栏固定(与我的页面一致)
**用户指令(2026-10-19,原文)**: