feat(home): 首屏改拼贴构图 + 外壳三修收口(Batch 1)
ADR-0009 的首屏读数取自对标 `opacity:0` 的视频轮播层(只在 ~13s 淡入 0.8s), 据此做出的「居中巨型声明」复刻的是一段过渡帧。本轮按静止态拼贴重做,并把 同批发现的四处结构缺陷收口。 首屏(拼贴) - 黑底半透明文字块(左 7/12)+ 右手错位副图(右 5/12,lg 起)+ 副图角上双 V + 深色影像上的斜线纹;素材复用既有 hero-architecture / industry-manufacturing, 禁人物入镜,题材换建筑/工业、语法不变 - title 字阶 90px → 桌面 44px(对标 100/700 是过渡帧字号,静止态短句是 40/700) - 诚实信号前置为 eyebrow:`2026 年 1 月成立 · 首批客户共创中`(均取常量单一真源) 令牌与面积纪律 - `--spacer-band` 7.5rem → 6.6667rem:原值注释称「16px 根字号下 120px」, 但 ≥1024px 根字号是 18px ⇒ 实测 135px,比对标的 120px 大 12.5% - 斜线纹加面积封顶(收束段原 h-full w-[38%] 实测 606×569,越过 ≤640×520) 新门禁 R20(check:grammar) - 裸 alpha 必须在 Tailwind opacity scale 内。`bg-[#0B0A08]/92` 与审计抓到的 `bg-bg-primary/98` 同根因:scale 外的值被编译器静默丢弃,computed 退化为 rgba(0,0,0,0)。type-check / lint / build / 单测四道全绿也拦不住 - 三向自证 + 真实树负对照(/95→/92 判红,改回即绿);上线当天即抓到本人 第二处同类失误(to-[#0B0A08]/88) 守卫与基线 - e2e/chrome-persistence.spec.ts:页头吸顶(1500/3000)、抽屉背景不透明、 mega 不被裁切。两处装配缺陷已修(`data-content-ready` 门控替代猜毫秒数; mega 必须 hover 打开,click 面板根本不挂载);注回缺陷 8/8 全红做负对照 - 视觉基线按授权重采 55 张(归因:同一棵树全量回滚后旧基线 26/26 全绿 ⇒ 失败全由本轮改动引起;只回滚外壳修复则 mobile 从 20 降到 4) 独立只读复跑 129 passed / 1 failed,那 1 条为并发抖动(单跑绿、连跑两轮 26/26) 文档 - ADR-0009 增「更正一」(首屏校准);签名件「逐字移植」改「同构再造」 - lessons §5.53–5.58;CONTEXT 决策表 4 行;quality-gates 记 R20 门禁:type-check / type-check:e2e / lint(0 error) / 158 套件 1854 例 / check:grammar 20-20 + selftest / check:motion / check:accents / check:brand-token / check:a11y / test:e2e:prod 80 passed / 视觉 129+ passed
No files matched your search
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.3 MiB |