docs(acceptance): 两轮全站验收读数 + 复现脚本 + 企微资产包入库(OPEN-12)
按「这条结论怎么来的必须入库,排查当时的截图只服务当时」的既有口径,
把此前一直悬在 git status 里、归属未定的产物逐组落定:
入库(7.2MB):
- docs/acceptance/2026-10-21-full-qa/、2026-10-24-full-qa/ 的文字与结构化读数
(README / defects*.json / sweep/summary.json / axe evidence / lighthouse /
report.json 逐 run 原始读数 / tools 复现脚本)
- docs/acceptance/2026-11-26-axe/ 本轮 axe 复跑证据(35 路由 × 4 组合 140 rows 全 0)
- scripts/acceptance/{sweep-routes,contact-sheet}.mjs —— 两轮 README 里被引用的
复现脚本,不提交则结论不可复算
- deliverables/.../wecom-pack.cjs + check-wecom.py + WECOM-MANIFEST.md +
assets-wecom/pack-report.json(生成器/校验器/清单;18 张 PNG 可由脚本从已入库
SVG 重新栅格化,故仍按既有规则忽略)
忽略(不提交,已写进 .gitignore 并注明归属):
- 两轮验收的逐页截图(172MB):只在排查当时有用
- infra/cicd/gitea{,-custom}/ + 2026-10-22-gitea-branding/(340KB):
归 feature/gitea-branding,逐文件 sha256 与该分支 50/50 完全一致,
在本分支提交会造成同一批文件的两份历史
判据:提交后 git status -uall 只剩被忽略项;每条 ?? 都能回答「归谁、为什么在这里」。
This commit is contained in:
1 parent
938af25030
commit
763e159ac4
45 files changed
+257540
No files matched your search
@@ -0,0 +1,82 @@
|
||||
# 修复轮(2026-10-24,接全站验收)
|
||||
|
||||
本轮按用户选择修复四条线:V3 新缺陷、GA 隐私、Admin 移动端、E2E 仪器。**未提交、未推送、未部署。**
|
||||
|
||||
## 1. 改了什么
|
||||
|
||||
### V3(DEF-06 / DEF-07 / DEF-08)
|
||||
|
||||
| 文件 | 改动 |
|
||||
|---|---|
|
||||
| `src/components/detail/metric-value.ts`(新增) | 只对「单数字 + 前后缀」做动画;`3-6个月` 等多数字值原样返回,不再被 `replace(/[^0-9.]/g,'')` 拼成 `36` |
|
||||
| `src/components/detail/detail-product-value.tsx` | `MetricCard` 使用解析器;新增 `showDataProofs` 开关 |
|
||||
| `src/components/detail/detail-trust-section.tsx` | 本地 `AnimatedCounter` 使用同一解析器 |
|
||||
| `src/components/detail/detail-cta-section.tsx` | 去掉 `bg-brand-section` 满幅红面,改为 `bg-bg-primary` + 红字/红按钮的中性 CTA(ADR-0008) |
|
||||
| `src/app/(marketing)/products/erp-upgrade-v3/page.tsx` | `showDataProofs={false}`,只保留 DetailTrustSection 的一组指标 |
|
||||
|
||||
### GA 隐私(DEF-09)
|
||||
|
||||
| 文件 | 改动 |
|
||||
|---|---|
|
||||
| `src/lib/analytics.ts` | `DEFAULT_PREFERENCES.analytics` 改为 `false`(opt-in) |
|
||||
| `src/components/analytics/GoogleAnalytics.tsx` | consent default 改为 `analytics_storage: 'denied'`;在 `config` 前从 localStorage 回放已存偏好,避免 `window.gtag` 尚未定义时 update 被丢弃 |
|
||||
| `src/components/analytics/GoogleAnalyticsWrapper.tsx` | 新增 `shouldRenderAnalytics()`;`/admin*` 不加载 GA |
|
||||
|
||||
### Admin 移动端(DEF-03 / DEF-04)
|
||||
|
||||
| 文件 | 改动 |
|
||||
|---|---|
|
||||
| `src/components/layout/mobile-tab-bar-gate.tsx`(新增) | 按 pathname 在 `/admin*` 返回 null;仍留在根布局(main/PageTransition 之外,fixed 定位不受 transform 影响) |
|
||||
| `src/app/layout.tsx` | 用 `MobileTabBarGate` 替换无条件 `MobileTabBar` |
|
||||
| `src/app/admin/content/[modelCode]/page.tsx` | 表格 `min-w-[760px]` + 关键列 `whitespace-nowrap`,让 `overflow-x-auto` 真正横向滚动 |
|
||||
| `src/app/admin/users/page.tsx` | 同上(用户名/昵称/邮箱/表头 nowrap) |
|
||||
|
||||
### E2E 仪器(TA-11 / TA-12)
|
||||
|
||||
| 文件 | 改动 |
|
||||
|---|---|
|
||||
| `e2e/user-journey.spec.ts` / `e2e/mobile-user-journeys.spec.ts` | UJ-10 过滤断言改为两篇种子 slug 的可见/缺席,不再依赖全局恰 1/2 条 |
|
||||
| `e2e/website-acceptance.spec.ts` | `pollBoundingBox` 要求连续 5 次取样稳定(80ms 间隔),避免入场 transform 中途值 |
|
||||
|
||||
## 2. 验证读数
|
||||
|
||||
### RED(修复前)
|
||||
|
||||
- 目标单测 5 failed + `metric-value.ts` 模块缺失:`3-6个月` 解析、CTA 红面、重复指标、GA 默认同意、Admin 不加载 GA。
|
||||
- E2E gate 修复前:133 passed / 2 failed / 9 skipped(UJ-10 读到并发写库新闻);并行只读 1046 / 3 failed(Logo 取样竞态)。
|
||||
|
||||
### GREEN(修复后)
|
||||
|
||||
| 检查 | 读数 |
|
||||
|---|---|
|
||||
| 目标单测 | **169 passed**(detail + analytics + layout gate) |
|
||||
| 全量单测 + 覆盖率 | **151 suites / 1830 tests passed**;All files **89.6 / 88.25 / 88.28 / 89.6** |
|
||||
| type-check / type-check:e2e | 0 error / 0 error |
|
||||
| lint | **0 error / 84 warning** |
|
||||
| check:visual / check:motion / check:a11y | EXIT=0 / 0 违规 / EXIT=0(34 页 headings 0 问题) |
|
||||
| GA consent 运行时 | 无偏好 **gcs=G100**、`analytics:false` **gcs=G100**、`analytics:true` **gcs=G101**;default 为 denied,update 在 config 前 |
|
||||
| V3 运行时 | `.bg-brand-section` **0**;CTA 背景 **rgb(255,255,255)**;`3-6个月` **1 次**;`36-个月` / 裸 `36` **0**;旧标题 0、新标题 1 |
|
||||
| Admin 390 运行时 | tab bar **false**(content/news 与 users);表格 **760px / 容器 356px**,`scrollWidth 760 > clientWidth 356`;首列 `white-space: nowrap` |
|
||||
| E2E prod gate | **135 passed / 0 failed / 9 skipped / EXIT=0** |
|
||||
| GA4 TC-GA4-001 | 4 project **4 passed** |
|
||||
| UJ-10 firefox 隔离 | **1 passed**(上一轮曾出现导航超时抖动,未复现) |
|
||||
| Logo 3 project | **3 passed**(稳定取样) |
|
||||
| 视觉 V3 基线 | 5 张重采并逐张看过(白底 CTA、单组指标、`3-6个月`) |
|
||||
| 全量视觉只读 | **225 passed / 0 failed / EXIT=0**(先 `npm run build` 清 ISR 缓存) |
|
||||
| Admin sweep | **45 runs / 0 hard / tabBarOn390 = 0**(390 档 9 路由 × 明暗) |
|
||||
|
||||
> 视觉复验的一个操作前提:写库 E2E 会把临时新闻写进 `dist/standalone/dist/server/app/news.html` 的 ISR 缓存;之后跑视觉必须先 `npm run build`,否则 `/news` 会因缓存里的 E2E 新闻假红(本轮实测 5/5 project 同型红,重建后 225/225 绿)。
|
||||
|
||||
## 3. 修复后仍未闭合
|
||||
|
||||
- **DEF-01 P2 网格空槽**、**DEF-02 P2 指标大字换行**、**DEF-05 P2 联系表单不在首屏**:属布局/设计分档,需设计/产品裁定后改源码。
|
||||
- **P3-01…04**:Admin 触控目标、拒绝态入口、最近通知空态、暗色活动项对比;未在本轮范围内。
|
||||
- **DEF-09 残余口径**:拒绝时仍有 GA cookieless collect(`gcs=G100`),符合 GA consent mode;若要求「同意前零请求」,需改为同意后才注入 GA 脚本,属独立裁定。
|
||||
- **TA-14**:firefox UJ-10 在 gate 并行轮次出现过一次导航超时(隔离 1 passed);登记为残余超时抖动,不洗成已修。
|
||||
- **视觉基线**:本轮只重采 V3 5 张;DEF-01/02/05 修复后受影响页面需再重采。
|
||||
|
||||
## 4. 工作树
|
||||
|
||||
本轮新增/修改:`metric-value.ts`、`mobile-tab-bar-gate.tsx`、对应测试;V3/GA/Admin/E2E 文件;V3 5 张基线;`FIXES.md`。未提交。
|
||||
|
||||
> 过程记录:写 RED 时曾用 Write 覆盖既有 `src/lib/analytics.test.ts`(31 个用例);已从 `HEAD` 恢复并只改默认 analytics 断言,恢复后该文件 **31 passed**。全量读数因此从误覆盖时的 1801 纠正为 **1830**。
|
||||
@@ -0,0 +1,183 @@
|
||||
# 2026-10-24 全站系统性验收(UI/UE/UX 视觉为重点)
|
||||
|
||||
> 状态:**已完成**(sweep / axe / E2E / Lighthouse / 线上只读均已取得读数)。本文件只写已经实际执行的读数,未执行项标「未做」。
|
||||
>
|
||||
> **修复轮(2026-10-24 续)**:用户选定四条线后已修 DEF-03/04/06/07/08/09 与 TA-11/12,读数与剩余项见 [FIXES.md](FIXES.md) 与 [defects-after-fix.json](defects-after-fix.json)。本文件 §0–§10 保留验收时快照,不随修复改写。
|
||||
|
||||
## 0. 结论
|
||||
|
||||
**有条件通过(conditional-pass)**:无 P0/P1;静态门禁、35 页视觉回归(225 例)、axe 双跑、34 页标题层级、Lighthouse 33 次断言、全路由 sweep 240 次运行、线上只读 35 路由均取得干净读数。仍存在 **8 条 P2**(DEF-01…07、DEF-09)与 **5 条 P3**(DEF-08 + P3-01…04),且 E2E 的 2 条 UJ-10 红已隔离证明为测试/缓存污染(TA-11)、3 条 Logo 红为取样竞态(TA-12),故不判 pass。
|
||||
|
||||
核心读数:`npm run build` EXIT=0;type-check / lint / coverage(149 suites / 1818 tests)/ integration / check:visual / check:motion / package-keys / contrast / brand-token 全 0;视觉 `--update-snapshots=none` **225 passed / 0 failed**;sweep **public 195 + admin 45 = 240 runs / 0 hard**;axe 两次 **140 rows/跑、0 违规**;headings **34/34**;Lighthouse **33/33**;线上 **34×200 + `/_not-found` 404**,8/8 渲染无硬失败,安全头 **8/8**。
|
||||
|
||||
## 1. 环境与产物
|
||||
|
||||
| 项 | 读数 |
|
||||
|---|---|
|
||||
| 分支 / HEAD | `dev` / `03be1c9e362a7009465b2792eb2b5e498cf61f2a` |
|
||||
| 构建 | `npm run build` EXIT=0,13s;视觉/sweep 主产物 `dist/BUILD_ID` = `dist/standalone/dist/BUILD_ID` = `Es_G_8BY-bB9rpDpy0thO`;E2E/Lighthouse 前为清 ISR 缓存再次重建,最终 `dist/BUILD_ID` 为 `-NZuPkiesehXht8qCPWcT` |
|
||||
| standalone 装配 | `server.js` + `dist/static`(58 files) + `public`(40 files)齐备 |
|
||||
| 主服务 | `node dist/standalone/server.js` on `127.0.0.1:3100`,`DATABASE_URL=file:/tmp/novalon-qa-20261024/dev.db`,运行时 `ENCRYPTION_SECRET` 取 `.env.local` 的 public secret |
|
||||
| 路由分母 | `check:axe:routes` 35 条;与 2026-10-21 的 35 条逐条对账:新增 0 / 消失 0 |
|
||||
| 副本库 | `prisma/dev.db` → `/tmp/novalon-qa-20261024/dev.db`;原库 sha256 `0ba87ce1…`,副本 `c13163af…` |
|
||||
| DB 指纹注意 | 构建前 sha256 `8bd6b7ad…`、构建后 `0ba87ce1…`(size 1,241,088→1,257,472)。`journal_mode=wal`,构建期 Prisma 连接触发 checkpoint;逻辑行数与最新通知时间未变(Notification 最新仍为 2026-10-21 16:50:52)。⇒ 「只比 sha256」的指纹守卫会把 checkpoint 误判为写入。 |
|
||||
|
||||
## 2. 静态门禁
|
||||
|
||||
| 检查 | 命令 | EXIT | 读数 |
|
||||
|---|---|---|---|
|
||||
| 类型 | `npm run type-check` | 0 | 0 error(7s) |
|
||||
| E2E 类型 | `npm run type-check:e2e` | 0 | 0 error(1s) |
|
||||
| Lint | `npm run lint` | 0 | **0 error / 84 warning**(11s) |
|
||||
| 单元 + 覆盖率 | `npm run test:coverage` | 0 | **149 suites / 1818 tests**;All files **89.56 stmts / 88.28 branch / 88.18 funcs / 89.56 lines** |
|
||||
| 真库集成 | `npm run test:integration:real` | 0 | **4 suites / 23 tests** |
|
||||
| 视觉语法 | `npm run check:visual` | 0 | grammar/accents 及 selftest 通过 |
|
||||
| 动效约束 | `npm run check:motion` | 0 | 252 文件、0 违规 |
|
||||
| 包键一致性 | `npm run check:package-keys` | 0 | 通过 |
|
||||
| 对比度 | `npm run check:contrast` | 0 | 44/44 配对 ≥ AA |
|
||||
| 品牌令牌 | `npm run check:brand-token` | 0 | 通过 |
|
||||
| 安全头(本地 3100) | `npm run test:security:headers -- --url http://127.0.0.1:3100` | 0 | 7/7 PASS;本地无 Cookie |
|
||||
|
||||
## 3. 视觉回归(35 公开路由 × 5 project)
|
||||
|
||||
- `VISUAL_TEST_PAGES` 从 15 扩到 **35**;`--list` = **225 例**(45/project × 5)。
|
||||
- 缺基线用 `--update-snapshots=missing` 生成:**100 张新增**(20 路由 × 5 project),既有 127 张 0 修改;每 project 45 张、全仓 227 张(含 `manual-acceptance/` 2)。
|
||||
- 生成轮读数:**125 passed / 100 failed(缺失写入信号)/ 11.0m**;失败全部是 Playwright 对「snapshot 不存在、已写 actual」的判定,不是像素回归。
|
||||
- 独立只读复跑:**225 passed / 0 failed / EXIT=0 / 9.5m**(`--update-snapshots=none`)。
|
||||
- 新基线评审:5 个 project 的 20 条首屏拼版逐张看过;chromium desktop + mobile 的 20 条全页拼版逐张看过;firefox/webkit/tablet 首屏确认无引擎差异;`blankSuspicion=0`。
|
||||
- 评审发现:新页面均正常出内容,无空白/未显影;但把既有 P2 固化进了参照(见 §9),manifest 已标 `known_defects`。
|
||||
|
||||
## 4. 全路由 sweep
|
||||
|
||||
脚本:`scripts/acceptance/sweep-routes.mjs`(复用 2026-10-21 版本,跑前/跑后 sha256 一致),`MODE=both`,BASE=3100。
|
||||
|
||||
### 4.1 公开层(35 × 5 组合 + firefox/webkit 抽样)
|
||||
|
||||
- **195 runs / 0 hard failure**;`opacity<0.99`、横向溢出、破图、pageerror 均为 **0**。
|
||||
- console error 仅 **5 次**,全部是 `/_not-found` 的文档 404(契约)。
|
||||
- `_rsc` 预取在滚动/导航时被 abort:160 runs(Next 正常噪声,不计失败);同源 HTTP 4xx/5xx:**0**;其它网络失败:**0**。
|
||||
- 检测器:
|
||||
- `gridGapRoutes` **19 条 / 73 处**(`/products`、5 个产品详情、`/services`+3 个服务详情、`/solutions`+5 个方案详情)。
|
||||
- `orphanColSpanRoutes` **7 条 / 129 处**(`/products` 与 6 个方案详情;`lg:col-span-*` 挂在非 grid 父级)。
|
||||
- `wrappedNumberRoutes` **`/products/crm`、`/products/erp`,8 处**。
|
||||
- 已知 DEF-01 / DEF-02 均复现;细节见 §9。
|
||||
- 仪器边界:`/products/erp-upgrade-v3` 的区间指标文本异常(DEF-07)与满幅红面(DEF-06)在视觉上可见,但 sweep 的 `wrappedNumbers`/`gridGaps` 均未命中(选择器/底色条件不覆盖该组件);红像素判据只匹配 `#C41E3A ±28`,不匹配 `#8B1530`。
|
||||
|
||||
### 4.2 Admin 层(9 × 5 组合)
|
||||
|
||||
- **45 runs / 0 hard**;`opacity<0.99`、横向溢出、pageerror、console error 均为 **0**。
|
||||
- 登录成功;Dashboard 实测 16 模型 / 38 条目 / 6 区域 / 3 活跃用户 / 38 已发布;错误密码提示「用户名或密码错误」。
|
||||
- **DEF-03 复现**:390 档 **18/18** 运行出现公共 `mobile-tab-bar`(9 路由 × 明暗)。
|
||||
- **DEF-04 复现**:`/admin/content/news` 与 `/admin/users` 的 390 档标题/状态列逐字竖排;sweep 的 `clipping` 检测为 0(单元格无 `overflow:hidden`),以截图为准。
|
||||
- **P3**:45/45 运行至少命中 1 个 <44px 触控目标;拒绝态仍显示创建入口与表头;Dashboard 全部已读时「最近通知」显示空态;暗色活动项对比偏低。
|
||||
- 证据:`sweep/summary.json`、`contact-sheets/sweep-admin/`、`sweep/screenshots/admin/`。
|
||||
|
||||
## 5. 可访问性
|
||||
|
||||
- **axe run1:PASSED=true,EXIT=0**;35 路由 × 4 组合 = **140 rows**;`chromium/firefox × light/dark` 四组的 `violationNodes / contrastNodes / bgMismatch / themeMismatch / extraRulePagesUnderCovered` **全部为 0**;每页三条规则级通道分母 `105/105` 闭合;唯一 `non2xxResponses=1` 是 `/_not-found` 的正确 404。
|
||||
- **axe run2:PASSED=true,EXIT=0**;同一清单、同一命令的第二跑读数与 run1 完全一致(140 rows,四组全 0)。⇒ TA-05 修复后红绿可复现,不再是「失败集合漂移」。
|
||||
- **headings:EXIT=0**;`PAGES` 从 11 扩到 **34**,扫描 34 / 通过 34 / 失败 0 / 问题 0;`/_not-found` 按 404 契约不参与标题层级。证据 `heading-hierarchy-report.json`。
|
||||
- 静态层:`check:contrast` 44/44、`check:brand-token`、`check:a11y` 三条均 EXIT=0(见 §2)。
|
||||
|
||||
## 6. 功能 E2E
|
||||
|
||||
- **prod gate**(4 project,`@smoke|@critical|@journey`,副本库):**133 passed / 2 failed / 9 skipped / EXIT=1**。
|
||||
- 两红同因:`user-journey.spec.ts` 与 `mobile-user-journeys.spec.ts` 的 UJ-10 在点「公司新闻」后数到 2 条,第二条是**同一轮写库用例 UJ-03 刚创建的 `E2E 测试新闻`**;`/news` 的 ISR 缓存把这版缓存进了 `dist/standalone/dist/server/app/news.html`。
|
||||
- 隔离验证:新建干净副本库 + `npm run build` 清 ISR 缓存后单跑 UJ-10(desktop + mobile,`--workers=1`)⇒ **2 passed / EXIT=0**;串行 `user-journey.spec.ts`(含 UJ-03 写库与 UJ-10)⇒ **8 passed / EXIT=0**。⇒ 产品筛选逻辑正常,红因是**测试隔离/共享缓存污染**,登记为 TA-11。
|
||||
- 全量串行(4 project × 全部 spec,`--workers=1`)按实测速度需 3–4 小时,**已中止**(日志末尾标 `ABORTED_FULL_SERIAL`);改按三层取证:
|
||||
- **并行只读 spec**(22 个 spec,排除 `user-journey` / `mobile-user-journeys` / `cms-workflow` / 视觉):**1046 passed / 3 failed / 19 skipped / 10.3m / EXIT=1**。三红全部是 `website-acceptance.spec.ts` 的同一例「公司Logo可见且不被覆盖」(chromium-mobile / firefox / webkit):`logoBox.y=10` 与 `headerBox.y=29.936` 的取样竞态。2.5s 后独立几何探针实测 `header y=0 / h=80`、`logo y=10 / h=44`,四条包含关系全部成立 ⇒ **产品侧正确,红因是入场 transform 未落定时的取样**(TA-12)。
|
||||
- **移动旅程串行**:`mobile-user-journeys.spec.ts`(4 project,`--workers=1`,独立副本库)⇒ **20 passed / 0 failed / 2.7m / EXIT=0**。
|
||||
- **写库 CMS 串行**:`cms-workflow.spec.ts`(4 project,`--workers=1`,独立副本库)⇒ **3 passed / 9 skipped / EXIT=0**;9 skipped 为非 chromium project 的设计性跳过。
|
||||
- 另:`user-journey.spec.ts` 串行 **8 passed / EXIT=0**;UJ-10 隔离 **2 passed / EXIT=0**(见上)。
|
||||
- 跑后复核:`prisma/dev.db` 未被 E2E 写入(写库全部打 `/tmp` 副本)。
|
||||
|
||||
## 7. Lighthouse
|
||||
|
||||
- `npm run lighthouse` **EXIT=0**;11 URL × 3 run = **33/33 断言通过**。
|
||||
- 四类目中位数:performance **0.98–1.00**(仅首页 0.98)、accessibility / best-practices / SEO **全部 1.00**。
|
||||
- Core Web Vitals 中位数:FCP **245–329ms**、LCP **607–1184ms**、CLS **0**、TBT **0ms**、SI **245–327ms**。
|
||||
- 这是门禁固定 11 URL 的抽样,**不代表 35 页全量**;汇总见 `lighthouse/summary.json`。
|
||||
|
||||
## 8. 线上只读
|
||||
|
||||
- **35 路由 GET:34×200 + `/_not-found` 404(契约)**。
|
||||
- **8 次同口径渲染**(`/`、`/about`、`/contact`、`/products` × 1440/390):**hard=0 / 8**;opacity 乘积全为 1、`scrollWidth` 无横向溢出、`complete && naturalWidth=0` 的破图 **0**;console/pageerror 0;同源 4xx/5xx 0(`_rsc` 预取 abort 已单独排除)。
|
||||
- 懒加载图片在 5s 窗口内仍有 0–5 张 pending(`decode()` 未完成),逐 URL curl 均 200;登记为探针时序边界,不判破图。
|
||||
- **安全头:8/8 PASS**(CSP / HSTS / XFO / nosniff / Referrer / Permissions / XSS / ACAO)。
|
||||
- 线上仍是 `BUILD_ID=KO7S41-qvKY89xp5Kczbl`(2026-10-20 发布 `2f86c441`),**不等于当前 HEAD `03be1c9e`**;线上只作冒烟与版本对照,不作像素回归判据。
|
||||
|
||||
### 8.1 清单外的两个路由契约
|
||||
|
||||
- `/products/standalone/novavis`:本地与线上均 **307 → `https://novavis.p.novalon.cn`**(`generateStaticParams` 按 `externalUrl` 过滤,本地不渲染该页,属设计)。
|
||||
- Admin 既有条目编辑器:`/admin/content/news/cmsppk1wc008n1mndfjlu8g36` 登录后正常渲染,`h1=编辑新闻资讯`,标题/slug/摘要/日期/分类/图片/正文均回填;无 pageerror。控制台有 GA collect 被 CSP 拦截的报错,归入 DEF-09 的隐私/控制台噪声。
|
||||
|
||||
## 9. 缺陷
|
||||
|
||||
### 已知(2026-10-21 登记)复现情况
|
||||
|
||||
| ID | 状态 | 本轮读数 |
|
||||
|---|---|---|
|
||||
| DEF-01 P2 网格空槽 | **仍存在** | sweep `gridGapRoutes` **19 条 / 73 处**;本轮新增覆盖的 13 条路由(5 个产品详情、3 个服务详情、5 个方案详情)全部命中。源码:`products/product-detail-content-v3.tsx:232`(6 步/4 列)、`components/content/sections.tsx:355`(3 指标/4 列)、`components/detail/service-value.tsx:56`(5 项/3 列)、`solutions/solution-detail-content-v3.tsx:296-325`(5 列;`+` 与配套服务在 grid 外)。 |
|
||||
| DEF-02 P2 指标大字换行 | **仍存在** | `/products/erp` 3 条 + `/products/crm` 1 条 × 明暗 = **8 处**;实测 `81px` 字号、`209px` 内容宽、`lh=134`、`h=267`(两行)。源码 `components/content/sections.tsx:363`。 |
|
||||
| DEF-03 P2 公共 tab bar 泄漏到 Admin | **仍存在** | Admin `390` 档 **18/18** 命中(9 路由 × 明暗);`src/app/layout.tsx:218` 无条件渲染 `<MobileTabBar />`。截图 `sweep/screenshots/admin/*__390__*__hero.jpg`。 |
|
||||
| DEF-04 P2 Admin 移动端表格塌陷 | **仍存在** | `/admin/content/news` 390 档标题列逐字竖排、状态竖排;`/admin/users` 同型。sweep 的 `clipping` 检测为 0(单元格无 `overflow:hidden`),以截图为准。源码 `admin/content/[modelCode]/page.tsx:179-180`、`admin/users/page.tsx:289-290`。 |
|
||||
| DEF-05 P2 联系表单不在首屏 | **仍存在** | form top:**1064 @1440×900、1547 @834、1254 @390**;9 次运行全部 `inViewport=false`。 |
|
||||
|
||||
### 本轮新增
|
||||
|
||||
- **DEF-06 P2 满幅饱和红面回到 `/products/erp-upgrade-v3`**:`DetailCTASection` 使用 `bg-brand-section`(`src/components/detail/detail-cta-section.tsx:24`),被 `src/app/(marketing)/products/erp-upgrade-v3/page.tsx:75` 使用;实测 1440×842、y=4018,占整页高度约 **14.4%**。ADR-0008 把「饱和红用作面 = 0」作为对标语法,首页 FounderQuote 已因此删除;`home-content-v16.tsx:34` 的「全站唯一」注释已与现状不符。全站扫描仅此 1 条路由命中;`/products/standalone/[id]/client.tsx:270` 也使用该组件(当前 novavis 走外链,未渲染)。现有红像素判据只匹配 `#C41E3A ±28`,**不匹配 `#8B1530`**,所以自动 sweep 没报。
|
||||
- **DEF-07 P2 V3 区间指标被解析成 `36-个月` / `36`**:CMS 原值 `3-6个月`。`MetricCard` 用 `value.replace(/[^0-9.]/g,'')` 得 `36`、`suffix` 得 `-个月` ⇒ `36-个月`(`components/detail/detail-product-value.tsx:69-70`);同页 `DetailTrustSection` 的本地 `AnimatedCounter` 用 `^([^\d.]*)[\d.]+([^\d.]*)$` 匹配失败 ⇒ 只显示 `36`(`detail-trust-section.tsx:31-38`)。同一指标在相距约 500px 的两块里出现两种错误文本。
|
||||
- **DEF-09 P2 拒绝 / 未选择 analytics 时 GA4 仍发送 collect**:`GoogleAnalytics.tsx:95-96` 把 `analytics_storage` 默认写死为 `'granted'`,`GoogleAnalyticsWrapper` 在根布局全局挂载(`src/app/layout.tsx:205`,含 `/admin`);实测「无偏好 / analytics:false / analytics:true」三情景各发出 **3 个** GA 请求(`gtag/js` + 2×`google-analytics.com/g/collect`)。Cookie 横幅的 analytics 开关未作用于 gtag consent,属隐私/合规缺陷(非视觉)。证据 `visual/ga-consent-probe.json`。
|
||||
- **DEF-08 P3 V3 同一组指标重复渲染两次**:`ProductValueSection` 的「以可量化的目标约束交付」与 `DetailTrustSection` 的「以设计目标约束交付,在首批共创中转为可核验数据」渲染同一组 3 条 dataProofs(仅标题不同),页面出现重复内容。
|
||||
- **仪器缺口 TA-06**:红像素占比判据只数 `#C41E3A`,漏 `bg-brand-section #8B1530`;「面积 ≤10%」不能只看该读数。
|
||||
- **仪器缺口 TA-07**:`prisma/dev.db` 的 sha256 会因 WAL checkpoint 变化;指纹守卫需同时比对逻辑行数/最新时间戳(见 §1)。
|
||||
- **仪器缺口 TA-08**:sweep 的 `gridGaps` / `wrappedNumbers` 未覆盖 V3 的两处指标组件;`_rsc` 预取 abort 会进入原始 `failedRequests`,汇总时须单独分离。
|
||||
- **仪器缺口 TA-11(E2E 隔离)**:并行 gate 中 UJ-03 写库创建 `E2E 测试新闻`,UJ-10 同时在「公司新闻」筛选后数到 2 条;`/news` 的 ISR 缓存被写进 `dist/standalone/dist/server/app/news.html`,后续干净库复跑仍会读到。修法:写库 spec 串行/独立库,或在 UJ-10 断言前限定到种子 slug;本轮以「清缓存 + 干净库 + 串行」取得 2 passed。
|
||||
- **仪器缺口 TA-12(Logo 取样竞态)**:`website-acceptance.spec.ts` 的 Logo 包含断言在入场 transform 未落定时取样,读到 `header y=29.936`;2.5s 后几何探针实测 `header y=0 / h=80`、`logo y=10 / h=44`,四条包含关系成立。修法:`pollBoundingBox` 增加连续稳定帧或等 transition 结束。
|
||||
- **仪器缺口 TA-13(线上探针 lazy 图)**:`prod-readonly` 的 `complete` 判据会把 lazy-load 未完成误判为破图;已改为 `decode()` + `complete && naturalWidth=0`,并单独记录 pending。
|
||||
- **覆盖缺口已修**:`check:headings` 原先只扫 11 页,本轮扩到 34 页;`check:axe` 的 settle 原先一次跳底,本轮改为逐屏 dwell + 等显影(TA-05)。
|
||||
|
||||
## 10. 未做 / 不可自动判
|
||||
|
||||
- 真机 iOS/Android、VoiceOver/NVDA 屏幕阅读器、显示器色差校准、真实邮件送达、生产库一致性。
|
||||
- Admin 像素基线(数据/登录态相关,本轮只做 sweep 5 组合 + 评审)。
|
||||
- webkit axe(现有 axe 矩阵只有 chromium + firefox)。
|
||||
- hover / 半透明 / 伪元素对比度、framer 运行时动效时长。
|
||||
- 产品修复:本轮只验收,不改产品源码。
|
||||
- 单命令全量 E2E 串行按实测速度需 3–4 小时,已中止;改用「并行只读 + 串行旅程 + 串行写库」覆盖(见 §6)。
|
||||
- 线上像素对照:线上仍是 `KO7S41…`(`2f86c441`),与当前 HEAD 不同,只做冒烟与版本对照。
|
||||
- `website-acceptance.spec.ts` 的 3 条 Logo 红为取样竞态(TA-12),未在本轮修改测试;以 2.5s 后的几何探针为产品侧证据。
|
||||
- Lighthouse 只覆盖门禁固定的 11 URL,不是 35 页全量。
|
||||
|
||||
## 11. 复跑命令
|
||||
|
||||
```bash
|
||||
# 构建 + 装配(postbuild 自动完成)
|
||||
npm run build
|
||||
|
||||
# 副本库
|
||||
sqlite3 prisma/dev.db ".backup '/tmp/novalon-qa-20261024/dev.db'"
|
||||
|
||||
# 本地服务
|
||||
set -a; source .env.local; set +a
|
||||
DATABASE_URL=file:/tmp/novalon-qa-20261024/dev.db \
|
||||
ENCRYPTION_SECRET="$NEXT_PUBLIC_ENCRYPTION_SECRET" \
|
||||
HOSTNAME=127.0.0.1 PORT=3100 node dist/standalone/server.js
|
||||
|
||||
# 路由清单
|
||||
BASE=http://127.0.0.1:3100 OUT=docs/acceptance/2026-10-24-full-qa/routes.xml \
|
||||
MANIFEST=dist/standalone/dist/server/app npm run check:axe:routes
|
||||
|
||||
# 视觉:只读复跑(不写基线)
|
||||
cd e2e
|
||||
E2E_TARGET=production DATABASE_URL=file:/tmp/novalon-qa-20261024/dev.db \
|
||||
ENCRYPTION_SECRET="$NEXT_PUBLIC_ENCRYPTION_SECRET" \
|
||||
npx playwright test visual-regression.spec.ts --update-snapshots=none
|
||||
|
||||
# 全路由 sweep
|
||||
BASE=http://127.0.0.1:3100 ROUTES=docs/acceptance/2026-10-24-full-qa/routes.xml \
|
||||
OUT=docs/acceptance/2026-10-24-full-qa/sweep MODE=both \
|
||||
node scripts/acceptance/sweep-routes.mjs
|
||||
```
|
||||
|
||||
证据:`logs/`、`baseline-manifest.json`、`contact-sheets/`、`sweep/`、`axe/`、`lighthouse/`、`prod-readonly/`、`visual/bg-brand-section.json`。
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,63 @@
|
||||
# 覆盖矩阵(2026-10-24)
|
||||
|
||||
- 公开页分母:`routes.json` = **35** 条(sitemap ∪ 预渲染 ∪ BFS)。
|
||||
- 像素基线:35 条 × 5 project;新增 100 张,工作树共 227 张。
|
||||
- Sweep:35 × 5 组合(chromium)+ firefox/webkit 抽样;Admin 9 × 5。
|
||||
- axe:chromium/firefox × light/dark,每页两遍(tag + rules)。
|
||||
- Lighthouse:门禁固定 11 URL(抽样,不是全站)。
|
||||
- E2E:按关键路径覆盖,不是逐路由像素级。
|
||||
- 清单外契约:/products/standalone/novavis 本地与线上均 307 → https://novavis.p.novalon.cn;Admin 既有条目编辑器 1 条(登录态,/admin/content/news/<id>)已验证渲染与字段回填。
|
||||
|
||||
## 公开页
|
||||
|
||||
| 路由 | 像素基线 | Sweep | axe | Lighthouse | E2E |
|
||||
|---|---|---|---|---|---|
|
||||
| `/` | 5/5 | 5/5 +4 跨引擎 | 4/4 | ✓ | 关键路径 |
|
||||
| `/_not-found` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/about` | 5/5 | 5/5 +4 跨引擎 | 4/4 | ✓ | 关键路径 |
|
||||
| `/about/brand` | 5/5 | 5/5 | 4/4 | ✓ | — |
|
||||
| `/cases` | 5/5 | 5/5 | 4/4 | ✓ | — |
|
||||
| `/contact` | 5/5 | 5/5 +4 跨引擎 | 4/4 | ✓ | 关键路径 |
|
||||
| `/insights` | 5/5 | 5/5 | 4/4 | ✓ | 关键路径 |
|
||||
| `/methodology` | 5/5 | 5/5 | 4/4 | — | 关键路径 |
|
||||
| `/news` | 5/5 | 5/5 | 4/4 | ✓ | 关键路径 |
|
||||
| `/news/company-founded` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/news/digital-transformation-solution` | 5/5 | 5/5 +4 跨引擎 | 4/4 | — | — |
|
||||
| `/privacy` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products` | 5/5 | 5/5 +4 跨引擎 | 4/4 | ✓ | 关键路径 |
|
||||
| `/products/bi` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/cms` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/crm` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/erp` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/erp-upgrade` | 5/5 | 5/5 | 4/4 | ✓ | — |
|
||||
| `/products/erp-upgrade-v3` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/oa` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/products/sds` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/services` | 5/5 | 5/5 | 4/4 | ✓ | 关键路径 |
|
||||
| `/services/consulting` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/services/data` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/services/software` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/services/solutions` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/solutions` | 5/5 | 5/5 | 4/4 | — | 关键路径 |
|
||||
| `/solutions/education` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/solutions/finance` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/solutions/healthcare` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/solutions/logistics` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/solutions/manufacturing` | 5/5 | 5/5 | 4/4 | ✓ | — |
|
||||
| `/solutions/retail` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
| `/team` | 5/5 | 5/5 | 4/4 | — | 关键路径 |
|
||||
| `/terms` | 5/5 | 5/5 | 4/4 | — | — |
|
||||
|
||||
## Admin
|
||||
|
||||
| 路由 | Sweep 5 组合 | 390 tab bar | 像素基线 |
|
||||
|---|---|---|---|
|
||||
| `/admin/login` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/content/news` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/content/news/new` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/media` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/notifications` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/roles` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/users` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
| `/admin/zones` | 5/5 | 390 档 2/2 命中 | 无像素基线(数据/登录态) |
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"cycle": "2026-10-24-fixes",
|
||||
"head": "03be1c9e362a7009465b2792eb2b5e498cf61f2a",
|
||||
"verdict": "conditional-pass",
|
||||
"fixedThisRound": [
|
||||
{ "id": "DEF-03", "detail": "MobileTabBarGate:/admin* 不渲染公共 tab bar;Admin 390 运行时 tabBar=false。" },
|
||||
{ "id": "DEF-04", "detail": "内容/用户表 min-w-[760px] + 关键列 nowrap;390 实测表格 760 / 容器 356,可横向滚动。" },
|
||||
{ "id": "DEF-06", "detail": "DetailCTASection 去 bg-brand-section,改中性 bg-bg-primary + 红按钮;V3 运行时 bgBrandSection=0、CTA 背景 rgb(255,255,255)。" },
|
||||
{ "id": "DEF-07", "detail": "metric-value 解析器保留 3-6个月;V3 运行时 3-6个月 1 次、36-个月/裸 36 均为 0。" },
|
||||
{ "id": "DEF-08", "detail": "V3 ProductValueSection showDataProofs=false;旧标题 0、新标题 1,指标只渲染一组。" },
|
||||
{ "id": "DEF-09", "detail": "GA consent 默认 denied + 存偏好回放 + /admin 不加载;运行时无偏好/拒绝 gcs=G100、同意 gcs=G101。" },
|
||||
{ "id": "TA-11", "detail": "UJ-10 断言限定两篇种子 slug;prod gate 135 passed / 0 failed。" },
|
||||
{ "id": "TA-12", "detail": "pollBoundingBox 连续 5 次稳定取样;Logo 3 project 3 passed。" }
|
||||
],
|
||||
"remaining": [
|
||||
{ "id": "DEF-01", "severity": "P2", "title": "网格空槽", "detail": "19 路由 / 73 处;布局分档,待设计裁定。" },
|
||||
{ "id": "DEF-02", "severity": "P2", "title": "指标大字换行", "detail": "/products/erp、/products/crm 8 处;待设计裁定。" },
|
||||
{ "id": "DEF-05", "severity": "P2", "title": "联系表单不在首屏", "detail": "1064/1547/1254;待设计裁定。" },
|
||||
{ "id": "P3-01", "severity": "P3", "title": "Admin 触控目标 <44px", "detail": "未在本轮范围。" },
|
||||
{ "id": "P3-02", "severity": "P3", "title": "Admin 拒绝态入口/表头", "detail": "未在本轮范围。" },
|
||||
{ "id": "P3-03", "severity": "P3", "title": "最近通知空态", "detail": "未在本轮范围。" },
|
||||
{ "id": "P3-04", "severity": "P3", "title": "Admin 暗色活动项对比", "detail": "未在本轮范围。" }
|
||||
],
|
||||
"residualNotes": [
|
||||
"DEF-09:拒绝时仍有 GA cookieless collect(gcs=G100),符合 GA consent mode;若要求同意前零请求,需改为同意后才注入脚本(独立裁定)。",
|
||||
"TA-14:firefox UJ-10 在并行 gate 中曾出现一次导航超时,隔离复跑 1 passed;登记为残余超时抖动。",
|
||||
"视觉复验:跑过写库 E2E 后必须先 npm run build 清 ISR 缓存,否则 /news 会因缓存中的 E2E 新闻假红(本轮 5/5 同型红,重建后 225/225 绿)。"
|
||||
],
|
||||
"readings": {
|
||||
"targetedTests": "169 passed",
|
||||
"fullUnit": "151 suites / 1830 tests passed; 89.6/88.25/88.28/89.6",
|
||||
"typecheck": "0 error",
|
||||
"typecheckE2E": "0 error",
|
||||
"lint": "0 error / 84 warning",
|
||||
"checkVisual": "EXIT=0",
|
||||
"checkMotion": "0 violations",
|
||||
"checkA11y": "EXIT=0; headings 34/34",
|
||||
"e2eProdGate": "135 passed / 0 failed / 9 skipped",
|
||||
"ga4TC001": "4 projects / 4 passed",
|
||||
"logo3Projects": "3 passed",
|
||||
"visual": "225 passed / 0 failed (after clean rebuild)",
|
||||
"v3Baselines": "5 re-taken and reviewed",
|
||||
"adminSweep": "45 runs / 0 hard / tabBarOn390=0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"cycle": "2026-10-24-full-qa",
|
||||
"head": "03be1c9e362a7009465b2792eb2b5e498cf61f2a",
|
||||
"buildId": "Es_G_8BY-bB9rpDpy0thO",
|
||||
"verdict": "conditional-pass",
|
||||
"counts": { "P0": 0, "P1": 0, "P2": 8, "P3": 5 },
|
||||
"defects": [
|
||||
{
|
||||
"id": "DEF-01",
|
||||
"severity": "P2",
|
||||
"type": "ui-layout",
|
||||
"title": "网格列数与内容量不匹配,产生可见空槽",
|
||||
"detail": "6 步放进 4 列、3 指标放进 4 列、5 项能力放进 3 列、2 产品放进 5 列(+ 与配套服务在 grid 外);空槽被 bg-border-primary 画成整块灰底。",
|
||||
"status": "still-present",
|
||||
"blastRadius": "19 条路由 / 73 处(sweep gridGapRoutes)",
|
||||
"routes": ["/products", "/products/bi", "/products/cms", "/products/crm", "/products/oa", "/products/sds", "/services", "/services/consulting", "/services/data", "/services/software", "/services/solutions", "/solutions", "/solutions/education", "/solutions/finance", "/solutions/healthcare", "/solutions/logistics", "/solutions/manufacturing", "/solutions/retail", "/products/erp"],
|
||||
"source": [
|
||||
"src/app/(marketing)/products/product-detail-content-v3.tsx:232",
|
||||
"src/components/content/sections.tsx:355",
|
||||
"src/components/detail/service-value.tsx:56",
|
||||
"src/app/(marketing)/solutions/solution-detail-content-v3.tsx:296-325"
|
||||
],
|
||||
"evidence": ["sweep/summary.json", "sweep/report.json", "contact-sheets/baselines/visual-chromium-desktop__full-02.jpg", "contact-sheets/baselines/visual-chromium-desktop__full-03.jpg"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-02",
|
||||
"severity": "P2",
|
||||
"type": "ui-typography",
|
||||
"title": "指标大字在 1440 宽度断行",
|
||||
"detail": "81px 字号落在 209px 内容宽里,line-height=134,实际高度 267(两行);40%+ / 99.2% / 3-6个月 / +113% 被拆行。",
|
||||
"status": "still-present",
|
||||
"blastRadius": "8 处(/products/erp 6、/products/crm 2)",
|
||||
"routes": ["/products/erp", "/products/crm"],
|
||||
"source": ["src/components/content/sections.tsx:363"],
|
||||
"evidence": ["sweep/report.json (wrappedNumbers)"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-03",
|
||||
"severity": "P2",
|
||||
"type": "ui-cross-route-leak",
|
||||
"title": "公共移动 tab bar 泄漏到 Admin",
|
||||
"detail": "根布局无条件渲染 MobileTabBar;/admin 与 /admin/login 及全部子页在 390 档显示「首页/行业/能力/洞察/联系」,fixed 覆盖 admin 内容。",
|
||||
"status": "still-present",
|
||||
"blastRadius": "9 个 admin 路由 / 390 档 18/18",
|
||||
"routes": ["/admin/login", "/admin", "/admin/content/news", "/admin/content/news/new", "/admin/media", "/admin/notifications", "/admin/roles", "/admin/users", "/admin/zones"],
|
||||
"source": ["src/app/layout.tsx:218"],
|
||||
"evidence": ["sweep/summary.json (admin.tabBarOn390=18)", "contact-sheets/sweep-admin/admin-390-light-chromium.jpg"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-04",
|
||||
"severity": "P2",
|
||||
"type": "ui-responsive",
|
||||
"title": "Admin 移动端表格塌陷",
|
||||
"detail": "390 档内容列表标题列逐字竖排、状态签竖排;用户管理表同样压缩;外层 overflow-x-auto + table w-full 只压缩不横向滚动。",
|
||||
"status": "still-present",
|
||||
"blastRadius": "/admin/content/*、/admin/users 等表格页 390 档",
|
||||
"routes": ["/admin/content/news", "/admin/users"],
|
||||
"source": ["src/app/admin/content/[modelCode]/page.tsx:179-180", "src/app/admin/users/page.tsx:289-290"],
|
||||
"evidence": ["contact-sheets/sweep-admin/admin-390-light-chromium.jpg", "sweep/screenshots/admin/admin-content_news__390__light__chromium__full.webp"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-05",
|
||||
"severity": "P2",
|
||||
"type": "ue-above-the-fold",
|
||||
"title": "联系表单不在首屏",
|
||||
"detail": "form top:1064 @1440×900、1547 @834、1254 @390;9 次运行全部 inViewport=false。DESIGN.md 称 contact 为紧凑档、表单回首屏。",
|
||||
"status": "still-present",
|
||||
"blastRadius": "/contact 全视口",
|
||||
"routes": ["/contact"],
|
||||
"source": ["src/app/(marketing)/contact/contact-content-v3.tsx"],
|
||||
"evidence": ["sweep/summary.json (form.contact)", "contact-sheets/baselines/visual-chromium-desktop__full-01.jpg"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-06",
|
||||
"severity": "P2",
|
||||
"type": "design-grammar",
|
||||
"title": "满幅饱和红面回到 /products/erp-upgrade-v3",
|
||||
"detail": "DetailCTASection 使用 bg-brand-section #8B1530;实测 1440×842、y=4018,占整页高度约 14.4%。ADR-0008 明确「饱和红用作面 = 0」,首页 FounderQuote 已因此删除;全站扫描仅此 1 条路由命中。",
|
||||
"status": "new",
|
||||
"blastRadius": "1 条路由;/products/standalone/[id]/client.tsx 也使用该组件(当前 novavis 外链未渲染)",
|
||||
"routes": ["/products/erp-upgrade-v3"],
|
||||
"source": ["src/components/detail/detail-cta-section.tsx:24", "src/app/(marketing)/products/erp-upgrade-v3/page.tsx:75", "src/app/(marketing)/home-content-v16.tsx:34 (已过时的「全站唯一」注释)"],
|
||||
"evidence": ["visual/bg-brand-section.json", "visual/v3-metrics-crop.png", "contact-sheets/baselines/visual-chromium-desktop__full-03.jpg", "docs/adr/0008-benchmark-grammar-takeover.md:24"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-07",
|
||||
"severity": "P2",
|
||||
"type": "content-rendering",
|
||||
"title": "V3 区间指标 3-6个月 被解析成 36-个月 / 36",
|
||||
"detail": "CMS 原值 3-6个月。MetricCard 用 value.replace(/[^0-9.]/g,'') 得 36、suffix 得 -个月 ⇒ 36-个月;同页 DetailTrustSection 的本地 AnimatedCounter 用 ^([^\\d.]*)[\\d.]+([^\\d.]*)$ 匹配失败 ⇒ 只显示 36。同一指标在两块里出现两种错误文本,区间语义丢失。",
|
||||
"status": "new",
|
||||
"blastRadius": "1 条路由 × 2 个指标区块 × 5 project",
|
||||
"routes": ["/products/erp-upgrade-v3"],
|
||||
"source": ["src/components/detail/detail-product-value.tsx:69-70", "src/components/detail/detail-trust-section.tsx:31-38", "prisma/seeds/products.ts:27"],
|
||||
"evidence": ["visual/v3-metrics-crop.png", "visual/v3-second-metric-crop.png", "contact-sheets/baselines/visual-chromium-desktop__full-03.jpg"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-09",
|
||||
"severity": "P2",
|
||||
"type": "privacy-consent",
|
||||
"title": "拒绝 / 未选择 analytics 时 GA4 仍发送 collect",
|
||||
"detail": "GoogleAnalytics 的 consent 默认写死 analytics_storage: 'granted'(src/components/analytics/GoogleAnalytics.tsx:95-96),GoogleAnalyticsWrapper 又在根布局全局挂载(src/app/layout.tsx:205,含 /admin)。实测三种情景(无偏好 / analytics:false / analytics:true)各发出 3 个 GA 请求:gtag/js + 两条 google-analytics.com/g/collect。Cookie 横幅的 analytics 开关未作用于 gtag consent。",
|
||||
"status": "new",
|
||||
"blastRadius": "全站(含 /admin);拒绝分析的用户仍被采集",
|
||||
"routes": ["全站", "/admin"],
|
||||
"source": ["src/components/analytics/GoogleAnalytics.tsx:95-96", "src/components/analytics/GoogleAnalyticsWrapper.tsx:10", "src/app/layout.tsx:205"],
|
||||
"evidence": ["visual/ga-consent-probe.json", "visual/admin-editor-existing.json"]
|
||||
},
|
||||
{
|
||||
"id": "DEF-08",
|
||||
"severity": "P3",
|
||||
"type": "content-duplication",
|
||||
"title": "V3 同一组 dataProofs 重复渲染两次",
|
||||
"detail": "ProductValueSection 的「以可量化的目标约束交付」与 DetailTrustSection 的「以设计目标约束交付,在首批共创中转为可核验数据」渲染同一组 3 条指标与描述,仅标题不同。",
|
||||
"status": "new",
|
||||
"blastRadius": "1 条路由",
|
||||
"routes": ["/products/erp-upgrade-v3"],
|
||||
"source": ["src/components/detail/detail-product-value.tsx:249-287", "src/components/detail/detail-trust-section.tsx:111-158"],
|
||||
"evidence": ["visual/v3-metrics-crop.png"]
|
||||
},
|
||||
{
|
||||
"id": "P3-01",
|
||||
"severity": "P3",
|
||||
"type": "a11y-touch-target",
|
||||
"title": "Admin 触控目标 <44px",
|
||||
"detail": "sweep 45/45 admin 运行至少命中 1 个 <44px 目标;示例:密码可见性 16×16、菜单 28×28、登录按钮高 43。",
|
||||
"status": "still-present",
|
||||
"routes": ["/admin/login", "/admin"],
|
||||
"evidence": ["sweep/summary.json (admin.touchUnder44Runs=45)"]
|
||||
},
|
||||
{
|
||||
"id": "P3-02",
|
||||
"severity": "P3",
|
||||
"type": "ui-permission-state",
|
||||
"title": "Admin 拒绝态仍显示创建入口与表头",
|
||||
"detail": "e2e_editor 直访 /admin/users 时,仅横幅提示无权限,但「创建用户」按钮与表头仍在。",
|
||||
"status": "still-present",
|
||||
"routes": ["/admin/users"],
|
||||
"evidence": ["sweep/notes.adminPermissionDenied", "sweep/screenshots/admin/admin-permission-denied__1440__light__chromium__full.webp"]
|
||||
},
|
||||
{
|
||||
"id": "P3-03",
|
||||
"severity": "P3",
|
||||
"type": "ui-empty-state",
|
||||
"title": "Dashboard「最近通知」全部已读时显示暂无通知",
|
||||
"detail": "160+ 条通知全部已读时,面板名为「最近通知」却显示空态;本轮 163 条通知、未读 0,实测「暂无通知」。",
|
||||
"status": "still-present",
|
||||
"routes": ["/admin"],
|
||||
"evidence": ["sweep/notes.adminLogin.bodySnippet", "contact-sheets/sweep-admin/admin-1440-light-chromium.jpg"]
|
||||
},
|
||||
{
|
||||
"id": "P3-04",
|
||||
"severity": "P3",
|
||||
"type": "ui-dark-contrast",
|
||||
"title": "Admin 暗色活动项对比偏低",
|
||||
"detail": "侧栏当前项在深底上的深色块对比偏低;axe 不计入 violation(axe 只扫前台路由),按人工评审登记。",
|
||||
"status": "still-present",
|
||||
"routes": ["/admin"],
|
||||
"evidence": ["contact-sheets/sweep-admin/admin-1440-dark-chromium.jpg"]
|
||||
}
|
||||
],
|
||||
"instrument": [
|
||||
{ "id": "TA-05", "status": "fixed-this-round", "detail": "axe settle 改为逐屏 260ms + 双 rAF + 等 main 内 inline opacity:0 清零;run1 35×4=140 rows 全 0。" },
|
||||
{ "id": "TA-06", "status": "open", "detail": "红像素占比只匹配 #C41E3A ±28,漏 bg-brand-section #8B1530;不能单靠该读数判「红面 ≤10%」。" },
|
||||
{ "id": "TA-07", "status": "open", "detail": "prisma/dev.db 的 sha256 会因 WAL checkpoint 变化;指纹守卫需同时比对逻辑行数与最新时间戳。" },
|
||||
{ "id": "TA-08", "status": "open", "detail": "sweep 的 gridGaps/wrappedNumbers 未覆盖 V3 的两处指标组件;_rsc 预取 abort 进入原始 failedRequests,汇总须分离。" },
|
||||
{ "id": "TA-09", "status": "fixed-this-round", "detail": "check:headings 从 11 页扩到 34 页;/_not-found 按 404 契约排除。" },
|
||||
{ "id": "TA-10", "status": "intentional", "detail": "Admin 不建像素基线(数据/登录态相关),由 sweep 5 组合 + 评审覆盖。" },
|
||||
{ "id": "TA-11", "status": "open", "detail": "并行 gate 中 UJ-03 写库创建 E2E 测试新闻,UJ-10 同时筛选到 2 条;/news 的 ISR 缓存被写入 dist/standalone/dist/server/app/news.html,后续干净库复跑仍会读到。修法:写库 spec 串行/独立库,或 UJ-10 限定种子 slug。本轮清缓存 + 干净库 + 串行后 2 passed。" },
|
||||
{ "id": "TA-12", "status": "open", "detail": "website-acceptance.spec.ts 的 Logo 包含断言在入场 transform 未落定时取样,读到 header y=29.936;2.5s 后探针实测 header y=0 / h=80、logo y=10 / h=44,几何合法。修法:pollBoundingBox 增加连续稳定帧或等 transition 结束。" },
|
||||
{ "id": "TA-13", "status": "fixed-in-probe", "detail": "prod-readonly 的 complete 判据会把 lazy-load 未完成误判为破图;已改为 decode() + complete && naturalWidth=0,并单独记录 pending。" }
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"generatedAt": "2026-10-23T19:03:14.331Z",
|
||||
"runs": 33,
|
||||
"urls": [
|
||||
{
|
||||
"url": "/",
|
||||
"runs": 3,
|
||||
"performance": 0.98,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 246,
|
||||
"lcp": 1184,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 280
|
||||
},
|
||||
{
|
||||
"url": "/about",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 327,
|
||||
"lcp": 687,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 327
|
||||
},
|
||||
{
|
||||
"url": "/about/brand",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 607,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 245
|
||||
},
|
||||
{
|
||||
"url": "/cases",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 327,
|
||||
"lcp": 707,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 327
|
||||
},
|
||||
{
|
||||
"url": "/contact",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 329,
|
||||
"lcp": 816,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 329
|
||||
},
|
||||
{
|
||||
"url": "/insights",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 626,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 246
|
||||
},
|
||||
{
|
||||
"url": "/news",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 649,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 245
|
||||
},
|
||||
{
|
||||
"url": "/products",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 625,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 245
|
||||
},
|
||||
{
|
||||
"url": "/products/erp-upgrade",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 625,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 245
|
||||
},
|
||||
{
|
||||
"url": "/services",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 608,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 279
|
||||
},
|
||||
{
|
||||
"url": "/solutions/manufacturing",
|
||||
"runs": 3,
|
||||
"performance": 1,
|
||||
"accessibility": 1,
|
||||
"bestPractices": 1,
|
||||
"seo": 1,
|
||||
"fcp": 245,
|
||||
"lcp": 625,
|
||||
"cls": 0,
|
||||
"tbt": 0,
|
||||
"si": 286
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"prevCount": 35,
|
||||
"curCount": 35,
|
||||
"added": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"generatedAt": "2026-10-23T17:25:47.231Z",
|
||||
"count": 35,
|
||||
"routes": [
|
||||
"/",
|
||||
"/_not-found",
|
||||
"/about",
|
||||
"/about/brand",
|
||||
"/cases",
|
||||
"/contact",
|
||||
"/insights",
|
||||
"/methodology",
|
||||
"/news",
|
||||
"/news/company-founded",
|
||||
"/news/digital-transformation-solution",
|
||||
"/privacy",
|
||||
"/products",
|
||||
"/products/bi",
|
||||
"/products/cms",
|
||||
"/products/crm",
|
||||
"/products/erp",
|
||||
"/products/erp-upgrade",
|
||||
"/products/erp-upgrade-v3",
|
||||
"/products/oa",
|
||||
"/products/sds",
|
||||
"/services",
|
||||
"/services/consulting",
|
||||
"/services/data",
|
||||
"/services/software",
|
||||
"/services/solutions",
|
||||
"/solutions",
|
||||
"/solutions/education",
|
||||
"/solutions/finance",
|
||||
"/solutions/healthcare",
|
||||
"/solutions/logistics",
|
||||
"/solutions/manufacturing",
|
||||
"/solutions/retail",
|
||||
"/team",
|
||||
"/terms"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url><loc>http://127.0.0.1:3100/</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/_not-found</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/about</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/about/brand</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/cases</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/contact</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/insights</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/methodology</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/news</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/news/company-founded</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/news/digital-transformation-solution</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/privacy</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/bi</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/cms</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/crm</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/erp</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/erp-upgrade</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/erp-upgrade-v3</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/oa</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/products/sds</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/services</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/services/consulting</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/services/data</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/services/software</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/services/solutions</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/education</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/finance</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/healthcare</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/logistics</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/manufacturing</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/solutions/retail</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/team</loc></url>
|
||||
<url><loc>http://127.0.0.1:3100/terms</loc></url>
|
||||
</urlset>
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,277 @@
|
||||
{
|
||||
"meta": {
|
||||
"base": "http://127.0.0.1:3100",
|
||||
"startedAt": "2026-10-23T17:52:33.267Z",
|
||||
"routesFile": "/Users/zhangxiang/Codes/Novalon/novalon-website/docs/acceptance/2026-10-24-full-qa/routes.xml",
|
||||
"matrix": [
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "light"
|
||||
},
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "dark"
|
||||
},
|
||||
{
|
||||
"vp": "834",
|
||||
"theme": "light"
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "light"
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "dark"
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
"/",
|
||||
"/_not-found",
|
||||
"/about",
|
||||
"/about/brand",
|
||||
"/cases",
|
||||
"/contact",
|
||||
"/insights",
|
||||
"/methodology",
|
||||
"/news",
|
||||
"/news/company-founded",
|
||||
"/news/digital-transformation-solution",
|
||||
"/privacy",
|
||||
"/products",
|
||||
"/products/bi",
|
||||
"/products/cms",
|
||||
"/products/crm",
|
||||
"/products/erp",
|
||||
"/products/erp-upgrade",
|
||||
"/products/erp-upgrade-v3",
|
||||
"/products/oa",
|
||||
"/products/sds",
|
||||
"/services",
|
||||
"/services/consulting",
|
||||
"/services/data",
|
||||
"/services/software",
|
||||
"/services/solutions",
|
||||
"/solutions",
|
||||
"/solutions/education",
|
||||
"/solutions/finance",
|
||||
"/solutions/healthcare",
|
||||
"/solutions/logistics",
|
||||
"/solutions/manufacturing",
|
||||
"/solutions/retail",
|
||||
"/team",
|
||||
"/terms"
|
||||
],
|
||||
"routeCount": 35,
|
||||
"finishedAt": "2026-10-23T18:05:49.494Z"
|
||||
},
|
||||
"public": {
|
||||
"runs": 195,
|
||||
"hard": 0,
|
||||
"opacityBelow099": 0,
|
||||
"overflowX": 0,
|
||||
"brokenImages": 0,
|
||||
"pageErrors": 0,
|
||||
"consoleErrorRuns": 5,
|
||||
"prefetchAbortRuns": 160,
|
||||
"sameOriginHttpErrorRuns": 0,
|
||||
"otherNetworkFailureRuns": 0,
|
||||
"thirdPartyRuns": 157,
|
||||
"routes": 35
|
||||
},
|
||||
"detectors": {
|
||||
"wrappedNumberRoutes": [
|
||||
"/products/crm",
|
||||
"/products/erp"
|
||||
],
|
||||
"gridGapRoutes": [
|
||||
"/products",
|
||||
"/products/bi",
|
||||
"/products/cms",
|
||||
"/products/crm",
|
||||
"/products/erp",
|
||||
"/products/oa",
|
||||
"/products/sds",
|
||||
"/services",
|
||||
"/services/consulting",
|
||||
"/services/data",
|
||||
"/services/software",
|
||||
"/services/solutions",
|
||||
"/solutions",
|
||||
"/solutions/education",
|
||||
"/solutions/finance",
|
||||
"/solutions/healthcare",
|
||||
"/solutions/logistics",
|
||||
"/solutions/manufacturing",
|
||||
"/solutions/retail"
|
||||
],
|
||||
"orphanColSpanRoutes": [
|
||||
"/products",
|
||||
"/solutions/education",
|
||||
"/solutions/finance",
|
||||
"/solutions/healthcare",
|
||||
"/solutions/logistics",
|
||||
"/solutions/manufacturing",
|
||||
"/solutions/retail"
|
||||
],
|
||||
"wrappedOccurrences": 8,
|
||||
"gridGapOccurrences": 73,
|
||||
"orphanOccurrences": 129
|
||||
},
|
||||
"design": {
|
||||
"redTouchMin": 1,
|
||||
"redTouchMax": 80,
|
||||
"redPixelRatioTop": [
|
||||
{
|
||||
"route": "/_not-found",
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"p": 0.0437
|
||||
},
|
||||
{
|
||||
"route": "/_not-found",
|
||||
"vp": "390",
|
||||
"theme": "dark",
|
||||
"p": 0.0435
|
||||
},
|
||||
{
|
||||
"route": "/terms",
|
||||
"vp": "1440",
|
||||
"theme": "light",
|
||||
"p": 0.026
|
||||
},
|
||||
{
|
||||
"route": "/terms",
|
||||
"vp": "834",
|
||||
"theme": "light",
|
||||
"p": 0.0254
|
||||
},
|
||||
{
|
||||
"route": "/contact",
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"p": 0.0249
|
||||
},
|
||||
{
|
||||
"route": "/contact",
|
||||
"vp": "390",
|
||||
"theme": "dark",
|
||||
"p": 0.0249
|
||||
},
|
||||
{
|
||||
"route": "/contact",
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"p": 0.0249
|
||||
},
|
||||
{
|
||||
"route": "/contact",
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"p": 0.0246
|
||||
},
|
||||
{
|
||||
"route": "/terms",
|
||||
"vp": "1440",
|
||||
"theme": "dark",
|
||||
"p": 0.0244
|
||||
},
|
||||
{
|
||||
"route": "/",
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"p": 0.0233
|
||||
}
|
||||
],
|
||||
"redPixelRatioRuleNote": "matches brand #C41E3A +/-28 only; bg-brand-section #8B1530 is not counted"
|
||||
},
|
||||
"form": {
|
||||
"contact": [
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "light",
|
||||
"top": 1064,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "dark",
|
||||
"top": 1064,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "834",
|
||||
"theme": "light",
|
||||
"top": 1547,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"top": 1254,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "dark",
|
||||
"top": 1254,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "light",
|
||||
"top": 1064,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"top": 1255,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "1440",
|
||||
"theme": "light",
|
||||
"top": 1064,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
},
|
||||
{
|
||||
"vp": "390",
|
||||
"theme": "light",
|
||||
"top": 1254,
|
||||
"inViewport": false,
|
||||
"fields": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
"admin": {
|
||||
"runs": 45,
|
||||
"hard": 0,
|
||||
"opacityBelow099": 0,
|
||||
"overflowX": 0,
|
||||
"tabBarOn390": 18,
|
||||
"tabBarRoutes": [
|
||||
"/admin/login",
|
||||
"/admin",
|
||||
"/admin/content/news",
|
||||
"/admin/content/news/new",
|
||||
"/admin/media",
|
||||
"/admin/notifications",
|
||||
"/admin/roles",
|
||||
"/admin/users",
|
||||
"/admin/zones"
|
||||
],
|
||||
"pageErrors": 0,
|
||||
"consoleErrorRuns": 0,
|
||||
"touchUnder44Runs": 45
|
||||
},
|
||||
"hardList": []
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
// 2026-10-24 新增视觉基线的清单 + 拼版工具(只读 e2e/visual-snapshots,只在证据目录写产物)
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import crypto from 'crypto';
|
||||
import sharp from 'sharp';
|
||||
|
||||
const ROOT = '/Users/zhangxiang/Codes/Novalon/novalon-website';
|
||||
const EV = path.join(ROOT, 'docs/acceptance/2026-10-24-full-qa');
|
||||
const SNAP = path.join(ROOT, 'e2e/visual-snapshots');
|
||||
const OUT = path.join(EV, 'contact-sheets/baselines');
|
||||
fs.mkdirSync(OUT, { recursive: true });
|
||||
|
||||
const PROJECTS = [
|
||||
'visual-chromium-desktop',
|
||||
'visual-chromium-tablet',
|
||||
'visual-chromium-mobile',
|
||||
'visual-firefox-desktop',
|
||||
'visual-webkit-desktop',
|
||||
];
|
||||
|
||||
const ROUTES = [
|
||||
['not-found', '/_not-found'],
|
||||
['cases', '/cases'],
|
||||
['insights', '/insights'],
|
||||
['news-digital-transformation', '/news/digital-transformation-solution'],
|
||||
['privacy', '/privacy'],
|
||||
['terms', '/terms'],
|
||||
['product-bi', '/products/bi'],
|
||||
['product-cms', '/products/cms'],
|
||||
['product-crm', '/products/crm'],
|
||||
['product-oa', '/products/oa'],
|
||||
['product-sds', '/products/sds'],
|
||||
['product-erp-upgrade-v3', '/products/erp-upgrade-v3'],
|
||||
['service-consulting', '/services/consulting'],
|
||||
['service-data', '/services/data'],
|
||||
['service-solutions', '/services/solutions'],
|
||||
['solution-education', '/solutions/education'],
|
||||
['solution-finance', '/solutions/finance'],
|
||||
['solution-healthcare', '/solutions/healthcare'],
|
||||
['solution-logistics', '/solutions/logistics'],
|
||||
['solution-retail', '/solutions/retail'],
|
||||
];
|
||||
|
||||
const sha256 = (buf) => crypto.createHash('sha256').update(buf).digest('hex');
|
||||
const esc = (s) => s.replace(/[<>&'"]/g, (c) => ({ '<': '<', '>': '>', '&': '&', "'": ''', '"': '"' }[c]));
|
||||
|
||||
const manifest = [];
|
||||
for (const project of PROJECTS) {
|
||||
for (const [name, route] of ROUTES) {
|
||||
const file = path.join(SNAP, project, 'visual-regression.spec.ts', `${name}-fullpage-${project}.png`);
|
||||
if (!fs.existsSync(file)) {
|
||||
manifest.push({ project, name, route, file, exists: false });
|
||||
continue;
|
||||
}
|
||||
const buf = fs.readFileSync(file);
|
||||
const meta = await sharp(buf).metadata();
|
||||
const stats = await sharp(buf).stats();
|
||||
const channels = stats.channels.slice(0, 3);
|
||||
const stdev = Math.max(...channels.map((c) => c.stdev));
|
||||
const entropy = Math.max(...channels.map((c) => c.entropy));
|
||||
manifest.push({
|
||||
project,
|
||||
name,
|
||||
route,
|
||||
file: path.relative(ROOT, file),
|
||||
exists: true,
|
||||
width: meta.width,
|
||||
height: meta.height,
|
||||
bytes: buf.length,
|
||||
sha256: sha256(buf),
|
||||
maxChannelStdev: +stdev.toFixed(2),
|
||||
maxChannelEntropy: +entropy.toFixed(3),
|
||||
blankSuspicion: stdev < 6 || entropy < 1.2,
|
||||
});
|
||||
}
|
||||
}
|
||||
fs.writeFileSync(path.join(EV, 'baseline-manifest.json'), JSON.stringify(manifest, null, 2));
|
||||
console.log(`manifest=${manifest.length} missing=${manifest.filter((m) => !m.exists).length} blankSuspicion=${manifest.filter((m) => m.blankSuspicion).length}`);
|
||||
|
||||
async function labeledTile(file, width, cropTop) {
|
||||
let src = await sharp(file).resize({ width, withoutEnlargement: true }).jpeg({ quality: 80 }).toBuffer();
|
||||
let m = await sharp(src).metadata();
|
||||
if (cropTop && m.height > cropTop) {
|
||||
src = await sharp(src).extract({ left: 0, top: 0, width: m.width, height: cropTop }).jpeg({ quality: 80 }).toBuffer();
|
||||
m = await sharp(src).metadata();
|
||||
}
|
||||
const label = Buffer.from(
|
||||
`<svg width="${m.width}" height="24" xmlns="http://www.w3.org/2000/svg">`
|
||||
+ `<rect width="${m.width}" height="24" fill="#fff"/>`
|
||||
+ `<text x="4" y="16" font-family="Helvetica,Arial,sans-serif" font-size="11" fill="#111">${esc(path.basename(file).replace('-fullpage-' + path.basename(path.dirname(path.dirname(file))) + '.png', ''))}</text></svg>`,
|
||||
);
|
||||
return {
|
||||
buf: await sharp({ create: { width: m.width, height: m.height + 24, channels: 3, background: '#fff' } })
|
||||
.composite([{ input: src, top: 0, left: 0 }, { input: label, top: m.height, left: 0 }])
|
||||
.jpeg({ quality: 82 }).toBuffer(),
|
||||
height: m.height + 24,
|
||||
};
|
||||
}
|
||||
|
||||
async function sheet(files, out, width, cols, cropTop) {
|
||||
const tiles = [];
|
||||
for (const f of files) tiles.push(await labeledTile(f, width, cropTop));
|
||||
const rows = [];
|
||||
for (let i = 0; i < tiles.length; i += cols) rows.push(tiles.slice(i, i + cols));
|
||||
const gap = 8;
|
||||
const heights = rows.map((r) => Math.max(...r.map((t) => t.height)));
|
||||
const w = cols * width + (cols - 1) * gap;
|
||||
const h = heights.reduce((a, b) => a + b, 0) + (rows.length - 1) * gap;
|
||||
const comps = [];
|
||||
let y = 0;
|
||||
rows.forEach((r, ri) => {
|
||||
let x = 0;
|
||||
r.forEach((t) => { comps.push({ input: t.buf, top: y, left: x }); x += width + gap; });
|
||||
y += heights[ri] + gap;
|
||||
});
|
||||
await sharp({ create: { width: w, height: h, channels: 3, background: '#fff' } })
|
||||
.composite(comps).jpeg({ quality: 80 }).toFile(out);
|
||||
console.log(`sheet ${path.basename(out)} ${files.length} tiles ${w}x${h}`);
|
||||
}
|
||||
|
||||
for (const project of PROJECTS) {
|
||||
const files = ROUTES.map(([name]) => path.join(SNAP, project, 'visual-regression.spec.ts', `${name}-fullpage-${project}.png`)).filter(fs.existsSync);
|
||||
await sheet(files, path.join(OUT, `${project}__top.jpg`), 300, 5, 900);
|
||||
for (let i = 0; i < files.length; i += 5) {
|
||||
await sheet(files.slice(i, i + 5), path.join(OUT, `${project}__full-${String(i / 5 + 1).padStart(2, '0')}.jpg`), 300, 5, 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
// 生成 35 公开 + 9 Admin 的覆盖矩阵(读取本轮证据,不重新跑任何东西)。
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
const EV = process.env.EV || 'docs/acceptance/2026-10-24-full-qa';
|
||||
const routes = JSON.parse(fs.readFileSync(path.join(EV, 'routes.json'), 'utf8')).routes;
|
||||
const baselines = JSON.parse(fs.readFileSync(path.join(EV, 'baseline-manifest.json'), 'utf8'));
|
||||
const sweep = JSON.parse(fs.readFileSync(path.join(EV, 'sweep/report.json'), 'utf8'));
|
||||
const axe = JSON.parse(fs.readFileSync(path.join(EV, 'axe/run1/axe-evidence.json'), 'utf8'));
|
||||
const lh = JSON.parse(fs.readFileSync('config/test/lighthouserc.json', 'utf8')).ci.collect.url.map((u) => new URL(u).pathname);
|
||||
|
||||
const visualByRoute = new Map();
|
||||
for (const b of baselines) {
|
||||
if (!b.exists) continue;
|
||||
if (!visualByRoute.has(b.route)) visualByRoute.set(b.route, new Set());
|
||||
visualByRoute.get(b.route).add(b.project);
|
||||
}
|
||||
const sweepByRoute = new Map();
|
||||
for (const r of sweep.runs) {
|
||||
if (!sweepByRoute.has(r.route)) sweepByRoute.set(r.route, { combos: 0, extra: 0, hard: 0 });
|
||||
const x = sweepByRoute.get(r.route);
|
||||
if (r.engine === 'chromium') x.combos += 1;
|
||||
else x.extra += 1;
|
||||
if (r.hardFailure) x.hard += 1;
|
||||
}
|
||||
const axeByRoute = new Map();
|
||||
for (const r of axe.rows) {
|
||||
if (!axeByRoute.has(r.url)) axeByRoute.set(r.url, { combos: 0, violations: 0, contrast: 0 });
|
||||
const x = axeByRoute.get(r.url);
|
||||
x.combos += 1;
|
||||
x.violations += r.violationNodes;
|
||||
x.contrast += r.contrastNodes;
|
||||
}
|
||||
const e2eRoutes = new Set(['/', '/about', '/contact', '/products', '/solutions', '/services', '/news', '/insights', '/team', '/methodology']);
|
||||
|
||||
const rows = routes.map((route) => {
|
||||
const s = sweepByRoute.get(route) || { combos: 0, extra: 0, hard: 0 };
|
||||
const a = axeByRoute.get(route) || { combos: 0, violations: 0, contrast: 0 };
|
||||
return `| \`${route}\` | 5/5 | ${s.combos}/5${s.extra ? ` +${s.extra} 跨引擎` : ''}${s.hard ? ` · hard ${s.hard}` : ''} | ${a.combos}/4${a.violations ? ` · ${a.violations} nodes` : ''} | ${lh.includes(route) ? '✓' : '—'} | ${e2eRoutes.has(route) ? '关键路径' : '—'} |`;
|
||||
}).join('\n');
|
||||
|
||||
const adminRoutes = [...new Set((sweep.adminRuns || []).map((r) => r.route))];
|
||||
const adminRows = adminRoutes.map((route) => {
|
||||
const rs = (sweep.adminRuns || []).filter((r) => r.route === route);
|
||||
const hard = rs.filter((r) => r.hardFailure).length;
|
||||
const tab = rs.filter((r) => r.viewport === '390' && r.mobileTabBar).length;
|
||||
return `| \`${route}\` | ${rs.length}/5${hard ? ` · hard ${hard}` : ''} | ${tab ? `390 档 ${tab}/2 命中` : '—'} | 无像素基线(数据/登录态) |`;
|
||||
}).join('\n');
|
||||
|
||||
const md = `# 覆盖矩阵(2026-10-24)
|
||||
|
||||
- 公开页分母:\`routes.json\` = **${routes.length}** 条(sitemap ∪ 预渲染 ∪ BFS)。
|
||||
- 像素基线:35 条 × 5 project;新增 100 张,工作树共 227 张。
|
||||
- Sweep:35 × 5 组合(chromium)+ firefox/webkit 抽样;Admin 9 × 5。
|
||||
- axe:chromium/firefox × light/dark,每页两遍(tag + rules)。
|
||||
- Lighthouse:门禁固定 11 URL(抽样,不是全站)。
|
||||
- E2E:按关键路径覆盖,不是逐路由像素级。
|
||||
- 清单外契约:/products/standalone/novavis 本地与线上均 307 → https://novavis.p.novalon.cn;Admin 既有条目编辑器 1 条(登录态,/admin/content/news/<id>)已验证渲染与字段回填。
|
||||
|
||||
## 公开页
|
||||
|
||||
| 路由 | 像素基线 | Sweep | axe | Lighthouse | E2E |
|
||||
|---|---|---|---|---|---|
|
||||
${rows}
|
||||
|
||||
## Admin
|
||||
|
||||
| 路由 | Sweep 5 组合 | 390 tab bar | 像素基线 |
|
||||
|---|---|---|---|
|
||||
${adminRows}
|
||||
`;
|
||||
fs.writeFileSync(path.join(EV, 'coverage-matrix.md'), md);
|
||||
console.log(md);
|
||||
@@ -0,0 +1,117 @@
|
||||
// 线上只读验收:35 条公开路由 GET + 8 次同口径渲染。不登录、不 POST、不写任何远端状态。
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { chromium } from 'playwright';
|
||||
|
||||
const BASE = (process.env.BASE || 'https://www.novalon.cn').replace(/\/$/, '');
|
||||
const OUT = process.env.OUT || 'docs/acceptance/2026-10-24-full-qa/prod-readonly';
|
||||
const ROUTES = JSON.parse(fs.readFileSync(process.env.ROUTES_JSON || 'docs/acceptance/2026-10-24-full-qa/routes.json', 'utf8')).routes;
|
||||
fs.mkdirSync(path.join(OUT, 'screenshots'), { recursive: true });
|
||||
|
||||
const report = { base: BASE, startedAt: new Date().toISOString(), http: [], render: [] };
|
||||
|
||||
for (const route of ROUTES) {
|
||||
const started = Date.now();
|
||||
try {
|
||||
const res = await fetch(BASE + route, { redirect: 'follow', signal: AbortSignal.timeout(30000) });
|
||||
const body = await res.text();
|
||||
const title = (body.match(/<title[^>]*>([\s\S]*?)<\/title>/i) || [])[1]?.trim() || '';
|
||||
const h1 = (body.match(/<h1[^>]*>([\s\S]*?)<\/h1>/i) || [])[1]?.replace(/<[^>]+>/g, '').trim() || '';
|
||||
report.http.push({
|
||||
route, status: res.status, finalUrl: res.url, ms: Date.now() - started,
|
||||
bytes: body.length, title: title.slice(0, 160), h1: h1.slice(0, 160),
|
||||
cache: res.headers.get('x-nextjs-cache') || '', server: res.headers.get('server') || '',
|
||||
});
|
||||
} catch (err) {
|
||||
report.http.push({ route, status: 0, error: String(err).slice(0, 300), ms: Date.now() - started });
|
||||
}
|
||||
console.log(`[http] ${route} ${report.http.at(-1).status} ${report.http.at(-1).ms}ms`);
|
||||
}
|
||||
|
||||
const browser = await chromium.launch();
|
||||
const targets = ['/', '/about', '/contact', '/products'];
|
||||
for (const route of targets) {
|
||||
for (const vp of [{ w: 1440, h: 900, name: '1440' }, { w: 390, h: 844, name: '390', mobile: true }]) {
|
||||
const ctx = await browser.newContext({
|
||||
viewport: { width: vp.w, height: vp.h },
|
||||
...(vp.mobile ? { isMobile: true, hasTouch: true, deviceScaleFactor: 2 } : {}),
|
||||
reducedMotion: 'reduce',
|
||||
});
|
||||
const page = await ctx.newPage();
|
||||
const consoleErrors = [];
|
||||
const pageErrors = [];
|
||||
const failed = [];
|
||||
page.on('console', (m) => { if (m.type() === 'error') consoleErrors.push(m.text().slice(0, 200)); });
|
||||
page.on('pageerror', (e) => pageErrors.push(String(e).slice(0, 200)));
|
||||
page.on('requestfailed', (r) => failed.push({ url: r.url().slice(0, 160), err: r.failure()?.errorText }));
|
||||
page.on('response', (r) => {
|
||||
if (r.status() >= 400 && new URL(r.url()).origin === new URL(BASE).origin) failed.push({ url: r.url().slice(0, 160), status: r.status() });
|
||||
});
|
||||
const started = Date.now();
|
||||
let metrics = null;
|
||||
let error = null;
|
||||
try {
|
||||
await page.goto(BASE + route, { waitUntil: 'domcontentloaded', timeout: 45000 });
|
||||
await page.waitForTimeout(1200);
|
||||
await page.evaluate(() => document.querySelectorAll('img').forEach((img) => { img.loading = 'eager'; }));
|
||||
await page.evaluate(async () => {
|
||||
const step = Math.max(400, Math.floor(window.innerHeight * 0.8));
|
||||
for (let y = 0; y <= document.body.scrollHeight; y += step) {
|
||||
window.scrollTo(0, y);
|
||||
await new Promise((r) => setTimeout(r, 260));
|
||||
}
|
||||
window.scrollTo(0, 0);
|
||||
await new Promise((r) => setTimeout(r, 400));
|
||||
});
|
||||
// decode() 会等图片真正可用;lazy-load 下 complete 标志不可靠,不能单凭它判破图。
|
||||
await page.evaluate(async () => {
|
||||
await Promise.race([
|
||||
Promise.all([...document.images].map((img) => img.decode().catch(() => null))),
|
||||
new Promise((r) => setTimeout(r, 15000)),
|
||||
]);
|
||||
}).catch(() => {});
|
||||
await page.evaluate(() => document.fonts?.ready).catch(() => {});
|
||||
await page.waitForTimeout(800);
|
||||
metrics = await page.evaluate(() => {
|
||||
let el = document.querySelector('main');
|
||||
let op = 1;
|
||||
while (el) { op *= parseFloat(getComputedStyle(el).opacity || '1'); el = el.parentElement; }
|
||||
const iw = window.innerWidth;
|
||||
const overflowX = document.documentElement.scrollWidth > iw + 1;
|
||||
const overflowElements = [...document.querySelectorAll('body *')].filter((n) => {
|
||||
const r = n.getBoundingClientRect();
|
||||
const s = getComputedStyle(n);
|
||||
if (!(r.width > 0 && r.height > 0 && s.display !== 'none' && s.visibility !== 'hidden')) return false;
|
||||
// 跳过链接等 intentional off-screen 元素(完全在视口左侧)不算横向溢出。
|
||||
return (r.right > iw + 1 && r.left < iw) || (r.left < -1 && r.right > 0);
|
||||
}).slice(0, 5).map((n) => ({ tag: n.tagName, cls: String(n.className).slice(0, 80) }));
|
||||
const images = [...document.images].filter((i) => i.currentSrc || i.src);
|
||||
const broken = images.filter((i) => i.complete && i.naturalWidth === 0).map((i) => (i.currentSrc || i.src).slice(0, 160));
|
||||
const pendingImages = images.filter((i) => !i.complete).map((i) => (i.currentSrc || i.src).slice(0, 160));
|
||||
return {
|
||||
opacityProduct: +op.toFixed(4), overflowX, overflowElements, broken, pendingImages,
|
||||
h1: (document.querySelector('h1')?.textContent || '').trim().slice(0, 160),
|
||||
title: document.title.slice(0, 160),
|
||||
};
|
||||
});
|
||||
await page.screenshot({ path: path.join(OUT, 'screenshots', `${route === '/' ? 'home' : route.replace(/^\//, '').replace(/\//g, '_')}__${vp.name}.png`), fullPage: true }).catch(() => {});
|
||||
} catch (err) {
|
||||
error = String(err).slice(0, 300);
|
||||
}
|
||||
const isRscAbort = (x) => /[?&]_rsc=/.test(x.url || '') && x.err === 'net::ERR_ABORTED';
|
||||
const sameOriginFailed = failed.filter((x) => !isRscAbort(x) && (x.status >= 400 || x.err));
|
||||
report.render.push({
|
||||
route, viewport: vp.name, ms: Date.now() - started, metrics, error,
|
||||
consoleErrors, pageErrors, sameOriginFailed,
|
||||
hard: Boolean(error) || !metrics || metrics.opacityProduct < 0.99 || metrics.overflowX || metrics.broken.length > 0 || pageErrors.length > 0 || sameOriginFailed.length > 0,
|
||||
});
|
||||
console.log(`[render] ${route} ${vp.name} hard=${report.render.at(-1).hard}`);
|
||||
await ctx.close();
|
||||
}
|
||||
}
|
||||
await browser.close();
|
||||
report.finishedAt = new Date().toISOString();
|
||||
report.hardCount = report.render.filter((r) => r.hard).length;
|
||||
fs.writeFileSync(path.join(OUT, 'report.json'), JSON.stringify(report, null, 2));
|
||||
console.log(`DONE http=${report.http.length} render=${report.render.length} hard=${report.hardCount}`);
|
||||
process.exit(report.hardCount > 0 ? 1 : 0);
|
||||
@@ -0,0 +1,36 @@
|
||||
// 全站 bg-brand-section 扫描:量化“满幅饱和红面”在哪些路由仍存在。
|
||||
// 只读 3100 本地产物;不截图、不写远端。
|
||||
import fs from 'fs';
|
||||
import { chromium } from 'playwright';
|
||||
|
||||
const BASE = (process.env.BASE || 'http://127.0.0.1:3100').replace(/\/$/, '');
|
||||
const EV = process.env.EV || 'docs/acceptance/2026-10-24-full-qa';
|
||||
const routes = JSON.parse(fs.readFileSync(`${EV}/routes.json`, 'utf8')).routes;
|
||||
const browser = await chromium.launch();
|
||||
const page = await browser.newPage({ viewport: { width: 1440, height: 900 }, reducedMotion: 'reduce' });
|
||||
const out = [];
|
||||
for (const route of routes) {
|
||||
await page.goto(BASE + route, { waitUntil: 'domcontentloaded', timeout: 45000 });
|
||||
await page.waitForTimeout(400);
|
||||
const found = await page.evaluate(() => {
|
||||
const els = [...document.querySelectorAll('.bg-brand-section, [class*="bg-brand-section"]')];
|
||||
const docH = document.documentElement.scrollHeight || 1;
|
||||
return els.map((el) => {
|
||||
const r = el.getBoundingClientRect();
|
||||
const s = getComputedStyle(el);
|
||||
return {
|
||||
tag: el.tagName,
|
||||
cls: String(el.className || '').slice(0, 160),
|
||||
text: (el.innerText || '').trim().slice(0, 80),
|
||||
w: Math.round(r.width), h: Math.round(r.height), top: Math.round(r.top + window.scrollY),
|
||||
opacity: s.opacity, bg: s.backgroundColor,
|
||||
pageRatio: +(r.width * r.height / (window.innerWidth * docH)).toFixed(4),
|
||||
};
|
||||
});
|
||||
});
|
||||
out.push({ route, count: found.length, elements: found });
|
||||
console.log(`${route} count=${found.length} ${found.map((f) => `${f.w}x${f.h}@${f.top}`).join(' ')}`);
|
||||
}
|
||||
await browser.close();
|
||||
fs.writeFileSync(`${EV}/visual/bg-brand-section.json`, JSON.stringify(out, null, 2));
|
||||
console.log('DONE routes=' + out.length + ' hits=' + out.filter((x) => x.count > 0).length);
|
||||
@@ -0,0 +1,75 @@
|
||||
// 汇总 sweep report.json(只读),产物写 evidence 目录。
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
const EV = process.env.EV || 'docs/acceptance/2026-10-24-full-qa';
|
||||
const report = JSON.parse(fs.readFileSync(path.join(EV, 'sweep/report.json'), 'utf8'));
|
||||
const runs = report.runs || [];
|
||||
const admin = report.adminRuns || [];
|
||||
|
||||
const uniq = (xs) => [...new Set(xs)];
|
||||
const isRscAbort = (x) => /[?&]_rsc=/.test(x.url || '') && x.error === 'net::ERR_ABORTED';
|
||||
const isHttpError = (x) => typeof x.status === 'number' && x.status >= 400;
|
||||
const publicSummary = {
|
||||
runs: runs.length,
|
||||
hard: runs.filter((r) => r.hardFailure).length,
|
||||
opacityBelow099: runs.filter((r) => (r.opacityProduct ?? 1) < 0.99).length,
|
||||
overflowX: runs.filter((r) => r.overflowX).length,
|
||||
brokenImages: runs.filter((r) => (r.broken || []).length > 0).length,
|
||||
pageErrors: runs.filter((r) => (r.pageErrors || []).length > 0).length,
|
||||
consoleErrorRuns: runs.filter((r) => (r.consoleErrors || []).length > 0).length,
|
||||
// `_rsc` 预取在导航/滚动时被浏览器 abort 是 Next 的正常噪声,不算失败请求。
|
||||
prefetchAbortRuns: runs.filter((r) => (r.failedRequests || []).some(isRscAbort)).length,
|
||||
sameOriginHttpErrorRuns: runs.filter((r) => (r.failedRequests || []).some((x) => isHttpError(x) && !(r.expected404 && /\/_not-found$/.test(x.url || '')))).length,
|
||||
otherNetworkFailureRuns: runs.filter((r) => (r.failedRequests || []).some((x) => !isRscAbort(x) && !isHttpError(x))).length,
|
||||
thirdPartyRuns: runs.filter((r) => (r.thirdParty || []).length > 0).length,
|
||||
routes: uniq(runs.map((r) => r.route)).length,
|
||||
};
|
||||
|
||||
const detectors = {
|
||||
wrappedNumberRoutes: uniq(runs.filter((r) => (r.wrappedNumbers || []).length > 0).map((r) => r.route)),
|
||||
gridGapRoutes: uniq(runs.filter((r) => (r.gridGaps || []).length > 0).map((r) => r.route)),
|
||||
orphanColSpanRoutes: uniq(runs.filter((r) => (r.orphanColSpans || []).length > 0).map((r) => r.route)),
|
||||
wrappedOccurrences: runs.reduce((n, r) => n + (r.wrappedNumbers || []).length, 0),
|
||||
gridGapOccurrences: runs.reduce((n, r) => n + (r.gridGaps || []).length, 0),
|
||||
orphanOccurrences: runs.reduce((n, r) => n + (r.orphanColSpans || []).length, 0),
|
||||
};
|
||||
|
||||
const redRows = runs
|
||||
.filter((r) => r.shots && typeof r.shots.redPixelRatio === 'number')
|
||||
.map((r) => ({ route: r.route, vp: r.viewport, theme: r.theme, p: r.shots.redPixelRatio }))
|
||||
.sort((a, b) => b.p - a.p)
|
||||
.slice(0, 10);
|
||||
|
||||
const design = {
|
||||
redTouchMin: Math.min(...runs.map((r) => r.redTouches ?? 0)),
|
||||
redTouchMax: Math.max(...runs.map((r) => r.redTouches ?? 0)),
|
||||
redPixelRatioTop: redRows,
|
||||
// 这条判据只匹配 #C41E3A ±28;bg-brand-section(#8B1530) 不在范围内 —— 见 README 的仪器缺口。
|
||||
redPixelRatioRuleNote: 'matches brand #C41E3A +/-28 only; bg-brand-section #8B1530 is not counted',
|
||||
};
|
||||
|
||||
const form = { contact: [] };
|
||||
for (const r of runs.filter((x) => x.route === '/contact')) {
|
||||
if (r.form) form.contact.push({ vp: r.viewport, theme: r.theme, top: r.form.top, inViewport: r.form.inFirstViewport, fields: r.form.fields });
|
||||
}
|
||||
|
||||
const adminSummary = {
|
||||
runs: admin.length,
|
||||
hard: admin.filter((r) => r.hardFailure).length,
|
||||
opacityBelow099: admin.filter((r) => (r.opacityProduct ?? 1) < 0.99).length,
|
||||
overflowX: admin.filter((r) => r.overflowX).length,
|
||||
tabBarOn390: admin.filter((r) => r.viewport === '390' && r.mobileTabBar).length,
|
||||
tabBarRoutes: uniq(admin.filter((r) => r.viewport === '390' && r.mobileTabBar).map((r) => r.route)),
|
||||
pageErrors: admin.filter((r) => (r.pageErrors || []).length > 0).length,
|
||||
consoleErrorRuns: admin.filter((r) => (r.consoleErrors || []).length > 0).length,
|
||||
touchUnder44Runs: admin.filter((r) => (r.touchTargets || []).some((t) => t.w < 44 || t.h < 44)).length,
|
||||
};
|
||||
|
||||
const hardList = [...runs, ...admin]
|
||||
.filter((r) => r.hardFailure)
|
||||
.map((r) => ({ kind: r.kind, route: r.route, vp: r.viewport, theme: r.theme, error: r.error, opacity: r.opacityProduct, overflowX: r.overflowX, broken: (r.broken || []).length, pageErrors: (r.pageErrors || []).length, failedRequests: (r.failedRequests || []).length }));
|
||||
|
||||
const out = { meta: report.meta, public: publicSummary, detectors, design, form, admin: adminSummary, hardList };
|
||||
fs.writeFileSync(path.join(EV, 'sweep/summary.json'), JSON.stringify(out, null, 2));
|
||||
console.log(JSON.stringify(out, null, 2));
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"info": {
|
||||
"url": "/admin/content/news/cmsppk1wc008n1mndfjlu8g36",
|
||||
"title": "四川睿新致远科技有限公司 - 企业数字化转型服务商",
|
||||
"h1": "编辑新闻资讯",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "text",
|
||||
"value": "四川睿新致远科技有限公司正式成立"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "text",
|
||||
"value": "company-founded"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "textarea",
|
||||
"value": "2026年1月15日,四川睿新致远科技有限公司在成都龙泉驿区正式成立,标志着公司"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "text",
|
||||
"value": "2026-01-15"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "text",
|
||||
"value": "公司新闻"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "text",
|
||||
"value": "/images/news/founding.webp"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "textarea",
|
||||
"value": "2026年1月15日,四川睿新致远科技有限公司在成都龙泉驿区幸福路12号正式成立"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "checkbox",
|
||||
"value": "on"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
"",
|
||||
"内容管理",
|
||||
"页面管理",
|
||||
"页面配置",
|
||||
"资源管理",
|
||||
"系统管理",
|
||||
"通知",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"errors": [
|
||||
"Connecting to 'https://www.google.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za200zd9245722638xf1&_p=1792782931895&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1110059625&_eu=AAAAAGQ&are=1&cid=1605357745.1792782933&frm=0&pscdl=denied&rcb=6&sr=1440x900&uaa=arm&uab=64&uafvl=Chromium%3B148.0.7778.96%7CHeadlessChrome%3B148.0.7778.96%7CNot%252FA)Brand%3B99.0.0.0&uam=&uamb=0&uap=macOS&uapv=27.0.1&uaw=0&ul=en-us&gaf=3&_s=8&tag_exp=115938466~115938469~118897920~118897930~120213116~120385422~120469145~120469153~121246026~121246034&sid=1792782932&sct=1&seg=1&dl=http%3A%2F%2F127.0.0.1%2Fadmin&dr=http%3A%2F%2F127.0.0.1%3A3100%2Fadmin%2Flogin&dt=%E5%9B%9B%E5%B7%9D%E7%9D%BF%E6%96%B0%E8%87%B4%E8%BF%9C%E7%A7%91%E6%8A%80%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20-%20%E4%BC%81%E4%B8%9A%E6%95%B0%E5%AD%97%E5%8C%96%E8%BD%AC%E5%9E%8B%E6%9C%8D%E5%8A%A1%E5%95%86&_tu=QAg&en=user_engagement&ep.anonymize_ip=true&_et=1431&tfd=4189' violates the following Content Security Policy directive: \"connect-src 'self' https://www.google-analytics.com https://ssl.google-analytics.com https://www.googletagmanager.com\". The action has been blocked.",
|
||||
"Fetch API cannot load https://www.google.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za200zd9245722638xf1&_p=1792782931895&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1110059625&_eu=AAAAAGQ&are=1&cid=1605357745.1792782933&frm=0&pscdl=denied&rcb=6&sr=1440x900&uaa=arm&uab=64&uafvl=Chromium%3B148.0.7778.96%7CHeadlessChrome%3B148.0.7778.96%7CNot%252FA)Brand%3B99.0.0.0&uam=&uamb=0&uap=macOS&uapv=27.0.1&uaw=0&ul=en-us&gaf=3&_s=8&tag_exp=115938466~115938469~118897920~118897930~120213116~120385422~120469145~120469153~121246026~121246034&sid=1792782932&sct=1&seg=1&dl=http%3A%2F%2F127.0.0.1%2Fadmin&dr=http%3A%2F%2F127.0.0.1%3A3100%2Fadmin%2Flogin&dt=%E5%9B%9B%E5%B7%9D%E7%9D%BF%E6%96%B0%E8%87%B4%E8%BF%9C%E7%A7%91%E6%8A%80%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20-%20%E4%BC%81%E4%B8%9A%E6%95%B0%E5%AD%97%E5%8C%96%E8%BD%AC%E5%9E%8B%E6%9C%8D%E5%8A%A1%E5%95%86&_tu=QAg&en=user_engagement&ep.anonymize_ip=true&_et=1431&tfd=4189. Refused to connect because it violates the document's Content Security Policy."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"route": "/admin/content/news",
|
||||
"tabBar": false,
|
||||
"table": {
|
||||
"w": 760,
|
||||
"h": 193
|
||||
},
|
||||
"wrap": {
|
||||
"w": 356,
|
||||
"h": 193
|
||||
},
|
||||
"tableScrollWidth": 760,
|
||||
"wrapClientWidth": 356,
|
||||
"wrapScrollWidth": 760,
|
||||
"cell": {
|
||||
"w": 270,
|
||||
"h": 72
|
||||
},
|
||||
"cellWhiteSpace": "nowrap",
|
||||
"cellText": "四川睿新致远科技有限公司正式成立"
|
||||
},
|
||||
{
|
||||
"route": "/admin/users",
|
||||
"tabBar": false,
|
||||
"table": {
|
||||
"w": 760,
|
||||
"h": 207
|
||||
},
|
||||
"wrap": {
|
||||
"w": 356,
|
||||
"h": 207
|
||||
},
|
||||
"tableScrollWidth": 760,
|
||||
"wrapClientWidth": 356,
|
||||
"wrapScrollWidth": 760,
|
||||
"cell": {
|
||||
"w": 160,
|
||||
"h": 53
|
||||
},
|
||||
"cellWhiteSpace": "nowrap",
|
||||
"cellText": "e2e_reviewer"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,189 @@
|
||||
[
|
||||
{
|
||||
"route": "/",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/_not-found",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/about",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/about/brand",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/cases",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/contact",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/insights",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/methodology",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/news",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/news/company-founded",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/news/digital-transformation-solution",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/privacy",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/bi",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/cms",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/crm",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/erp",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/erp-upgrade",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/erp-upgrade-v3",
|
||||
"count": 1,
|
||||
"elements": [
|
||||
{
|
||||
"tag": "SECTION",
|
||||
"cls": "relative py-24 sm:py-32 md:py-40 overflow-hidden bg-brand-section",
|
||||
"text": "免费咨询\n探索 睿新ERP管理系统 的无限可能\n\n立即联系我们,获取专属方案和报价\n\n预约咨询\n\n工作日 2 小时内回复您的咨询 · 首次沟通后,给出问题梳理与",
|
||||
"w": 1440,
|
||||
"h": 842,
|
||||
"top": 4018,
|
||||
"opacity": "1",
|
||||
"bg": "rgb(139, 21, 48)",
|
||||
"pageRatio": 0.1441
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"route": "/products/oa",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/products/sds",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/services",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/services/consulting",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/services/data",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/services/software",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/services/solutions",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/education",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/finance",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/healthcare",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/logistics",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/manufacturing",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/solutions/retail",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/team",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
},
|
||||
{
|
||||
"route": "/terms",
|
||||
"count": 0,
|
||||
"elements": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"base": "http://127.0.0.1:3100",
|
||||
"scenarios": [
|
||||
{
|
||||
"label": "no-preference",
|
||||
"prefs": null,
|
||||
"count": 3,
|
||||
"gcs": [
|
||||
"G100"
|
||||
],
|
||||
"consent": [
|
||||
[
|
||||
"consent",
|
||||
"default",
|
||||
{
|
||||
"analytics_storage": "denied",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "granted",
|
||||
"personalization_storage": "denied",
|
||||
"security_storage": "granted",
|
||||
"wait_for_update": 500
|
||||
}
|
||||
],
|
||||
[
|
||||
"consent",
|
||||
"update",
|
||||
{
|
||||
"analytics_storage": "denied",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "denied"
|
||||
}
|
||||
]
|
||||
],
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za208zd9245722638xf1&_p=1792795844984&gcs=G100&gcd=13q3q3l3l7l1&npa=1&dma=0&ecid=972761888&_e",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za200zd9245722638xf1&_p=1792795844984&gcs=G100&gcd=13q3q3l3l7l1&npa=1&dma=0&ecid=972761888&_e"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "analytics-false",
|
||||
"prefs": {
|
||||
"necessary": true,
|
||||
"analytics": false,
|
||||
"marketing": false,
|
||||
"functionality": true,
|
||||
"timestamp": 1784284000000
|
||||
},
|
||||
"count": 3,
|
||||
"gcs": [
|
||||
"G100"
|
||||
],
|
||||
"consent": [
|
||||
[
|
||||
"consent",
|
||||
"default",
|
||||
{
|
||||
"analytics_storage": "denied",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "granted",
|
||||
"personalization_storage": "denied",
|
||||
"security_storage": "granted",
|
||||
"wait_for_update": 500
|
||||
}
|
||||
],
|
||||
[
|
||||
"consent",
|
||||
"update",
|
||||
{
|
||||
"analytics_storage": "denied",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "granted"
|
||||
}
|
||||
]
|
||||
],
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za208zd9245722638xf1&_p=1792795850275&gcs=G100&gcd=13q3q3l3l7l1&npa=1&dma=0&ecid=15044662&_eu",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za200zd9245722638xf1&_p=1792795850275&gcs=G100&gcd=13q3q3l3l7l1&npa=1&dma=0&ecid=15044662&_eu"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "analytics-true",
|
||||
"prefs": {
|
||||
"necessary": true,
|
||||
"analytics": true,
|
||||
"marketing": false,
|
||||
"functionality": true,
|
||||
"timestamp": 1784284000000
|
||||
},
|
||||
"count": 3,
|
||||
"gcs": [
|
||||
"G101"
|
||||
],
|
||||
"consent": [
|
||||
[
|
||||
"consent",
|
||||
"default",
|
||||
{
|
||||
"analytics_storage": "denied",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "granted",
|
||||
"personalization_storage": "denied",
|
||||
"security_storage": "granted",
|
||||
"wait_for_update": 500
|
||||
}
|
||||
],
|
||||
[
|
||||
"consent",
|
||||
"update",
|
||||
{
|
||||
"analytics_storage": "granted",
|
||||
"ad_storage": "denied",
|
||||
"functionality_storage": "granted"
|
||||
}
|
||||
]
|
||||
],
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1h1v9245722638za208zd9245722638xf1&_p=1792795855467&gcs=G101&gcd=13q3r3l3l7l1&npa=1&dma=0&ecid=1991191400",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1h1v9245722638za200zd9245722638xf1&_p=1792795855467&gcs=G101&gcd=13q3r3l3l7l1&npa=1&dma=0&ecid=1991191400"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"base": "http://127.0.0.1:3100",
|
||||
"scenarios": [
|
||||
{
|
||||
"label": "no-preference",
|
||||
"prefs": null,
|
||||
"count": 3,
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6am0h2v9245722638za208zd9245722638xf1&_p=1792783023891&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1042691346",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6am0h2v9245722638za200zd9245722638xf1&_p=1792783023891&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1042691346"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "analytics-false",
|
||||
"prefs": {
|
||||
"necessary": true,
|
||||
"analytics": false,
|
||||
"marketing": false,
|
||||
"functionality": true,
|
||||
"timestamp": 1784284000000
|
||||
},
|
||||
"count": 3,
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6am0h2v9245722638za208zd9245722638xf1&_p=1792783029042&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1567457302",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6am0h2v9245722638za200zd9245722638xf1&_p=1792783029042&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1567457302"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "analytics-true",
|
||||
"prefs": {
|
||||
"necessary": true,
|
||||
"analytics": true,
|
||||
"marketing": false,
|
||||
"functionality": true,
|
||||
"timestamp": 1784284000000
|
||||
},
|
||||
"count": 3,
|
||||
"requests": [
|
||||
"https://www.googletagmanager.com/gtag/js?id=G-LGTLCR15KM",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za208zd9245722638xf1&_p=1792783034216&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1636712146&_",
|
||||
"https://www.google-analytics.com/g/collect?v=2&tid=G-LGTLCR15KM>m=45je6al1v9245722638za200zd9245722638xf1&_p=1792783034216&gcs=G101&gcd=13p3t3l3l7l1&npa=1&dma=0&ecid=1636712146&_"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bgBrandSection": 0,
|
||||
"ctaBg": "rgb(255, 255, 255)",
|
||||
"ctaText": "探索 睿新ERP管理系统 的无限可能",
|
||||
"rangeCount": 0,
|
||||
"badHyphen": 0,
|
||||
"oldTitle": 0,
|
||||
"newTitle": 1,
|
||||
"metricSnippet": "行业\n能力\n洞察\n关于我们\n预约咨询\n企业旗舰系列\n睿新ERP管理系统\n\n打通财务、采购、销售、库存、生产全链路,让各部门数据实时流转、业务流程自动协同。\n\n睿新ERP管理系统是面向企业打造的一体化资源管理平台,打通财务、采购、销售、库存、生产等核心模块,让各部门数据实时流转、业务流程自动协同,帮助企业告别信息孤岛。\n\n预约咨询\n查看方案\n产品功能\n睿新ERP管理系统 核心能力\n\n睿新ERP管理系"
|
||||
}
|
||||
Reference in new issue
Block a user