docs(plans): 留痕 K71 首页导航安全区底色

This commit is contained in:
Zhou Weidong committed 2026-10-20 22:16:19 +08:00
1 parent b5f1699240
commit 0b2709339e
2 files changed
+77 -21

No files matched your search

+30
View File
@@ -22509,3 +22509,33 @@ Running Gradle task 'assembleDebug'...
```
解读:静态检查零告警,481 条测试全部通过,debug APK 构建成功。真机验收由用户执行。
## 2026-10-20 ReelShort:K71-A 首页深色底部导航补齐安全区底色
- 前置状态:K70-A 已完成并合并,develop 合并提交 `ac1202c`。
- 分支:`fix/home-nav-safe-area-color`
- 功能提交:`66e9062 fix(home): 首页深色底部导航补齐安全区底色`
- develop 合并提交:`1dbc3ac merge: 合并 K71-A 首页导航安全区底色`,已推送。
- 深色分支改为 `ColoredBox(Colors.black) + SafeArea(top: false) + 纯黑导航条 Container`,底部安全区与导航条统一为纯黑,移除无效的 `BackdropFilter`。
- `barKey` 仍挂在 `AppDimens.navHeight` 的导航条 Container 上;浅色分支继续保留 `ClipRect + BackdropFilter + SafeArea + 0.95` 背景,观感未改。
- 顶部 `Colors.white12` 分隔线保留;无安全区时总高度仍为 64。
测试:新增深色模式底部安全区 34 时总高 98、导航条自身 64、外层背景纯黑三条断言;既有浅色高度和首页深色导航断言同步保持通过。
门禁原始输出:
```text
$ dart analyze lib test
Analyzing lib, test...
No issues found!
$ flutter test
00:55 +482: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'...
8.7s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
解读:静态检查零告警,482 条测试全部通过,debug APK 构建成功。真机验收由用户执行。