Files
zhangxiang acb6b67357 feat(brand): 首页影像版式与名+号字标上线
- 首页按咨询机构影像版式重排,保留原站文案与“洞察→行业→能力”段序
- 导航/页脚/品牌页换用上下锁定字标,alt 维持法定主体名
- 修复 reduce 下 PageTransition 祖先 opacity 停留导致的白屏
- 4 浏览器 × 9 宽度多端复核,axe 0 violation
- 视觉基线 106 张更新并只读复跑 125/125
2026-10-20 11:09:32 +08:00

23 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 视觉基线变更归因(2026-10-20)
写入口径:`npm run test:visual:update` → **125 passed(11.9m)**;随后只读复跑
`npm run test:visual:all -- --update-snapshots=none` → **125 passed(7.8m)、0 failed**。
- 变更文件:**106 张 modified,0 新增,0 删除**(`git status --short e2e/visual-snapshots`)。
- 授权:用户 2026-10-20「处理完剩余任务,进行收尾工作」概括授权。
## 分组
| 组 | 覆盖 | 变更原因 | 判读 |
|---|---|---|---|
| A · 首页全页与主题 | `home-fullpage`、`theme-light-main`、`theme-dark-main` × 5 project | hero 改版、新闻大图卡、行业影像网格、能力左图右 accordion、全幅 CTA;页面变高(桌面 6451 → 7426px) | 新基线逐张抽查桌面浅色/深色、chromium-mobile 全页;内容、文案、字标均正确,无空态/弹窗/半透明过程态 |
| B · 导航与页脚 | `header-navigation`、`footer-section`、按钮三态 × 5 project | 字标从 name-alone 换为「名 + 号」上下锁定;header 高度 40/48 → 44/56,footer 45 → 56 | 抽查 header / footer:新字标完整、未被裁切;按钮基线是导航「行业」触发器,仅随 header 布局发生亚像素位移 |
| C · 其余全页 | about / contact / products / erp / erp-upgrade / brand / solutions / services / news / team / methodology × 5 project | 页面内容未改;仅 header/footer 字标与页脚高度变化 | 通过只读复跑;未逐张读全部 106 张,抽查了 `about-brand-fullpage`(品牌页 hero 也换完整锁定) |
## 未纳入变更
- 未新增 `manual-acceptance/` 基线;未删除任何基线。
- 未更新 `test-results/`、`playwright-report/` 等运行产物。
- 106 张中超过 5MB 的 9 张集中在首页/主题(移动、平板、webkit 全页);这是页面变高 + 摄影图
的 PNG 体积,不是重复截图。按现有 Playwright PNG 流程保留,不转 WebP(转格式会改变基线口径)。