[ { "file": "client/harmony/entry/src/main/ets/pages/MainPage.ets", "pat": "\\.backgroundBlurStyle\\(NAV_MATERIAL_OF\\[navMaterialFor\\(this\\.bgPlan\\.blurPx\\)\\] \\?\\? Theme\\.navMaterial\\)", "repl": ".backgroundBlurStyle(BlurStyle.COMPONENT_THICK)", "test": "cross", "why": "导航条绕开 Theme.navMaterial ⇒ navMaterial 变孤儿(pi 抓到的那个形状)", "retired": "这是方案 (b) 的漏洞形状(查表 + `?? Theme.navMaterial` 死兜底)。(a) 之下导航条**直接**写 `Theme.navMaterial`,该形状不可能出现 ⇒ 变异体作废" }, { "file": "client/harmony/entry/src/main/ets/model/Appearance.ts", "pat": " if \\(tier === 'NONE'\\) \\{\n // 壁纸可以清晰,导航条仍然要有玻璃\n return 'COMPONENT_THIN';\n \\}\n return tier;", "repl": " return tier;", "test": "nav", "why": "去掉下限 ⇒ bg_blur=0 时导航条变透明(pi 抓到的那个真缺陷)", "retired": "(a) 之下不存在\"导航条下限\"这条代码路径(`navMaterialFor` 已删)。同类保护改由 harmony-nav 的契约判据承担(导航条不许出现 blurPx/blurStyleFor)" }, { "file": "client/harmony/entry/src/main/ets/model/Appearance.ts", "pat": "export function navMaterialFor\\(bgBlur: number\\): string \\{\n const tier: string = blurStyleFor\\(bgBlur\\);", "repl": "export function navMaterialFor(bgBlur: number): string {\n const tier: string = 'COMPONENT_THIN';", "test": "nav", "why": "恒定最薄档 ⇒ 滑杆在导航条上是死控件(判据该红)", "retired": "(a) 之下导航条**本来就不跟随滑杆**(这是有意的契约)⇒ \"滑杆在导航条上是死控件\"不再是一个缺陷,这个变异体失去意义" }, { "file": "client/harmony/entry/src/main/ets/pages/MainPage.ets", "pat": " 'COMPONENT_THICK': BlurStyle\\.COMPONENT_THICK\n\\};", "repl": "};", "test": "appearance", "why": "导航空表里漏最厚档(该档静默回落成 fallback)", "retired": "同上:表已删,没有\"漏一档\"这回事了" } ]