feat(ui): 保时捷语法复刻收尾(ADR-0008/0009/0011/0012/0013) #65

Merged
zhangxiang merged 63 commits from feat/porsche-ui-replica into dev 2026-12-02 19:34:32 +08:00
51 changed files with 86 additions and 16 deletions
Showing only changes of commit 75ab3bdc2c - Show all commits

No files matched your search

+1
View File
@@ -282,6 +282,7 @@ Novalon 的 6 个核心产品,互为互补关系,常以组合形式出现在
| **首页首屏右栏:双 V 滚动提示 + 工程网格,持久态底部锚定不转译** | 影像退役后右 4 栏成纯虚空(8 栏骨架是全幅影像时代遗留)。实测保时捷持久态同样 66% 靠左(`c-collageOverlay__textbox` col 1/5),右侧靠视频 + 错位副图 + 双V scroller 兜底;其「居中声明」只是 2–14.3s 开场过场。零影像转译只取第三件:右栏 `DoubleChevron(down)` `text-white/40` **静态**(对标 6s 循环脉冲被禁)+ 复用 `hero-grid-overlay--dark`;移动/md 档 hidden。红不出 eyebrow+主 CTA。**底部对齐 + 贴左缘实块裁定不转译**:其为「错位副图从下方升起」服务,无副图时沉底即失衡 | ✅ 2026-12-02(E 案;台账 §28;attribution `docs/acceptance/2026-12-02-baselines/`)|
| **产品独立站化:每条产品线一个独立 landing 站,官网退为入口层** | 用户裁定 ERP 等产品最终都像睿视 NovaVis 一样做独立站。模式四要素(ADR-0014 §2):纯静态零 CDN / 独立子域 `{product}.p.novalon.cn` / 官网导航 = 外链 + 状态徽标(badge 状态机与独立站上线事实强制同步)/ landing 四道门禁 + 生产 CSP 实测(零内联脚本硬约束)。官网镜像 `public/{product}/` 原样拷贝不承担演进;**第二等产品镜像起必须子目录化 + rewrites 前缀映射并回溯睿视**(睿视按源站形态暂占 `/css` `/js` `/assets` 根命名空间)。阶段:睿视 Phase 0 ✅ → ERP Phase 1 → BI/CRM Phase 2 → 其余 Phase 3,入口判据 = 产品事实可验证,非时间表 | ✅ 2026-12-02(ADR-0014;睿视镜像 commit `901e1025`,与源站 novavis.p.novalon.cn 逐字段一致)|
| **02b 翻转:桌面端滚动收成白方汉堡 + 左侧抽屉;键盘契约方向改为「正文位置 Shift+Tab 向上」** | 用户裁定翻转 ADR-0012 的「02b 不做」。规格(ADR-0015 §3):`scrollY>20`(仅 `md+`)浮条收窄成 64×64 方块(`md:w-[var(--header-height)]`,**px 令牌**——`w-16` 在 ≥1024 根字号 18px 下漂到 72px)、内联导航/CTA **卸载**(不留焦点幽灵站)、logo `md:hidden`(CSS 级隐藏,明暗双版恒挂载契约不破);抽屉左侧滑入 250ms,`DrawerNavList` 与移动抽屉**同源渲染**完整双轴 + ThemeToggle + CTA。连带修掉一个真缺陷:**带 scroll restoration 的整页刷新不触发 scroll 事件**,页头在滚动位仍显示顶部态——挂载时补一拍同步(`header.tsx` `didMountRef` effect,单测钉住)。⚠ 键盘契约方向的教训:从 body 正向 Tab 的第一站是顶部跳转链接,浏览器为显焦把页面滚回页首、收起态**正确地**撤销——「Tab 到汉堡」在收起态不是可达语义,契约改写为「正文位置 8 次 Shift+Tab 内到达」(页首态正向 Tab 契约原样保留)。判据:`data-header-collapsed` + 浮条 border-box 64×64 + 内联导航 count 0;原 nav-dropdown/nav-keyboard 断言一字未改;移动端 5 spec 69 passed / 7 skipped;基线预测 0 张重采 | ✅ 2026-12-02(ADR-0015;`OPEN-02b` 关闭)|
| **「红不做面」替代色 = 中性面留红点缀;语法棘轮批 3 清零、R13–R17 上限归 0** | ADR-0013 §6 三翻转条件满足后清零批 3 存量 15 处(detail 件 10 + hub 箭头 3 + erp-upgrade 卡片 2)。R16 替代色用户裁定 A 方案:红底面(`bg-brand-soft`/30、`/80`)→ 中性面(`bg-bg-elevated` / `bg-bg-primary/80`),红色降级为 `text-brand-ink` 文字/图标点缀——与 L3 卡片主体、批 2「去面留点」、保时捷「红只点缀」语法一致。归因教训:**11-26 的「95 张/19 页」基线成本口径是静态估算**——R14 两处是 hover 态改动静态零漂移、`l3-signals-slot` 所在首页实际渲染 L3 空态兜底 ⇒ 实写仅 35 张(erp-upgrade-v3 ×5 + services ×12 + solutions ×18,预测==git status)。判据:`check:grammar` 25/25 · R13–R17 实测 0 / 上限 0(棘轮转硬禁)· selftest 双向 · jest 161/1899 · 独立只读复跑 225/0 | ✅ 2026-12-02(ADR-0013 §8;`OPEN-05b` 关闭;attribution `docs/acceptance/2026-12-02-grammar-batch3/`)|
#### 门禁断言的有效性口径(chain6/chain7 新增)
验收期间发现 `config/test/lighthouserc.json` 有 3 条 `warn` 级断言(`autocomplete-valid` / `presentation-role-conflict` / `svg-img-alt`)**在 Lighthouse 里根本没有对应审计项**:把 chain6 全部 21 份报告的 `audits` 键取并集(175 个 id)比对 62 个非 `categories:` 断言键,只有这 3 条缺席;`@lhci/cli@0.15.1` 用的是它自带的 `lighthouse@12.6.1`(不是顶层的 13.4.1),其 `core/audits/accessibility/` 64 个审计文件里没有这三个。它们每轮稳定打印 `"…" is not a known audit. found: 0`,因为是 warn 级永不判红 —— 于是"57 项 a11y 断言全过"里混进了 3 项什么都没测的条目。
+1
View File
@@ -385,3 +385,4 @@ Jenkins Pipeline(`Jenkinsfile`)在部署阶段调用 `./scripts/deploy.sh de
## 许可证
Copyright © 2026 四川睿新致远科技有限公司
- [x] **语法棘轮批 3 清零(2026-12-02,OPEN-05b)**:ADR-0013 §6 三翻转条件满足后清零剩余 15 处——detail 件 10(直角化 / R16 红面→中性面 / CTA 标题 900→700 / 去 hover 阴影)+ hub 列表箭头去竖直分量 3 + erp-upgrade 卡片去抬升 2。**R16「红不做面」用户裁定 A 方案**:红底面→中性面(`bg-bg-elevated` / `bg-bg-primary/80`),红降级为 `text-brand-ink` 点缀。归因教训:11-26 的「95 张/19 页」是静态估算——R14 是 hover 态改动静态零漂移、首页实际渲染 L3 空态兜底 ⇒ 基线**实写 35 张**(预测==`git status`,零外溢),L2 卡片 1 例为选择器超时(单跑复验过,非像素)。判据:`check:grammar` **25/25 · R13–R17 实测 0 / 上限 0(棘轮转硬禁)**、selftest 双向、tsc 0、eslint 0 error、jest **161 套件 / 1899 例**、独立只读复跑 **225 passed / 0 failed**。归因表 `docs/acceptance/2026-12-02-grammar-batch3/attribution.md`,详见 ADR-0013 §8 与 qa-tracker OPEN-05b 行。
@@ -0,0 +1,49 @@
# OPEN-05b 批 3 清零 · 基线归因表(2026-12-02)
对应 ADR-0013 §6 三翻转条件与 §5.58 判据。本轮改码 11 文件(15 处违规),
基线**实写 35 张**(`git status --porcelain e2e/visual-snapshots` == 35,与归因预测 35 相等,零外溢)。
## 1. 改码 → 违规清零(`check:grammar` 实测)
| 文件 | 规则·处数 | 修法 | 观感 |
|---|---|---|---|
| `detail/detail-certifications-section.tsx:62` | R13+R16 各 1 | 图标盒 `rounded-xl bg-brand-soft` → `bg-bg-elevated` 直角 | 变 |
| `detail/detail-certification.tsx:19` | R13+R15 各 1 | 徽章去 `rounded-full`、去 `hover:shadow-md`(留 hairline hover) | 变 |
| `detail/early-access-notice.tsx:30` | R13+R16 各 1 | 面板去 `rounded-lg`、`bg-brand-soft/30` → `bg-bg-elevated` | 变 |
| `detail/detail-cta-section.tsx:37,42` | R16+R17 各 1 | 标签 `bg-brand-soft` → `bg-bg-elevated`;标题 `font-black` → `font-bold` | 变 |
| `detail/l3-signals-slot.tsx:143` | R16 1 | 图标盒 `bg-brand-soft` → `bg-bg-elevated` | 变 |
| `detail/detail-case-studies-section.tsx:113` | R16 1 | 行业角标 `bg-brand-soft/80` → `bg-bg-primary/80` | 变 |
| `cases/services/solutions-content-v3.tsx` | R14 各 1 | 箭头去 `group-hover:-translate-y-0.5`(留水平位移) | 仅 hover 态 |
| `erp-upgrade-content-v2.tsx:190,261` | R14 各 2 | 卡片去 `hover:-translate-y-1`(留 border-brand/30 + 顶部红线反馈) | 仅 hover 态 |
R16「红不做面」替代色(ADR-0013 §6 条件 3,用户裁定 **A 方案**):
红底面 → 中性面(`bg-bg-elevated` / `bg-bg-primary/80`),红色降级为文字/图标点缀
(`text-brand-ink` 保留)。与 L3 卡片主体、批 2「去面留点」先例、保时捷「红只点缀」语法一致。
门禁读数:`check:grammar` **25/25 · R13–R17 实测 0 / 上限 0**(棘轮转硬禁);
`check:grammar:selftest` 双向成立(按全 0 各自成立);tsc EXIT=0;eslint 0 error / 32 warning;
jest **161 套件 / 1899 例全过**。
## 2. 基线归因(只读比对 189 passed / 36 failed → 逐条归类)
只读失败集与预测对照(E2E_TARGET=production,5 project × 45 页 = 225 例):
| 失败组 | 张数 | 归因(改的哪个组件哪条规则) |
|---|---|---|
| `/products/erp-upgrade-v3` × **5 project 全挂** | 5 | 产品详情渲染 `DetailCTASection`(h2 900→700 字重,diff 图实测集中在页尾 CTA 大标题)+ `CertificationList`(直角化/去 hover 阴影) |
| `/services/{software,consulting,data,solutions}` × 3 project | 12 | 服务详情渲染 `L3EmptyFallback → EarlyAccessNotice`(面板红底 30% tint → 白底 + 去圆角),大面积低对比 tint 差异在窄视口/不同引擎下越过像素阈值 |
| `/solutions/{education,finance,healthcare,logistics,retail,manufacturing}` × 3 project | 18 | 同上(方案详情同走 L3 空态兜底链) |
| L2 卡片组件(`bento-product-card`)× 1 | **0(非像素)** | **选择器超时**,非 diff;单跑复验 **1 passed** ⇒ 并行轮偶发,不写入 |
预测 35 = 5 + 12 + 18;`git status` 实写 **35**(§5.58 判据成立)。
**零外溢互证**:
- 首页 / `/about/brand` / `/contact` / hub 列表(`/cases` `/services` `/solutions` `/news`)/ `/products/erp-upgrade`(v2 内容页)全部只读通过——
R14 两处是 **hover 态**改动,静态截图无像素漂移,正确不产生基线;
- `l3-signals-slot`(首页信号卡图标盒)在首页无像素变化 ⇒ 首页当前渲染 L3 空态兜底(`EarlyAccessNotice`),
信号卡不在场,与「CASE_STUDIES 空 = 内容未就绪」既有事实一致。
## 3. 写入与复跑
- 写入:裸 `--update-snapshots`(changed 预设)生产轮 **225 passed**,写入恰 35 张。
- 独立只读复跑:**225 passed / 0 failed / EXIT=0**(见本轮提交信息)。
+1 -1
View File
@@ -1488,7 +1488,7 @@ runbook 已加"构建失败即中止"与"发布前检查磁盘 ≥2G"。
| OPEN-03 | 正文行高统一(把 `--line-height-relaxed` 收进 `.prose` 层) | 未闭 | 库里已有法律页 HTML 自带行高;统一需**写库**或重采基线,二者都要单独授权 | 层内加 `line-height` 后 `/privacy` `/terms` 视觉零差异 |
| OPEN-04 | `/insights` 与 `/news` URL 族归并(301) | 未闭 | 需同批动 `redirects` / `@security` 断言 / sitemap / lighthouserc 四处,且会改线上 URL 契约 | 改后 `@security` + sitemap + lighthouse 同批复跑全绿 |
| OPEN-05a | 语法棘轮**分批清零·批 1+2**:死码/无守卫路由 21 处(零基线)+ `/about/brand` 单页 18 处(5 张基线) | **已闭 2026-11-26** | 批 1 已删 3 个死组件(`service-value` / `solution-value` / `micro-interactions`)并从 barrel 移除导出;批 2 要重采 `/about/brand` 5 张。批 1 里 `/cases/[slug]` 与 standalone 详情**无像素守卫** | 实测:`check:grammar` **21/21 / EXIT=0**,上限已同批下调为 `R13 3 · R14 5 · R15 1 · R16 5 · R17 1`(自证棘轮双向成立);`dead-modules` `[dead] 0 个`;`type-check` EXIT=0;`lint` 0 error / 88 warning(与基线同);`test:coverage` **159 套件 / 1883 例 EXIT=0**;`/about/brand` 只读失败集**恰好 5 张**、重采**实写 5 张**、全量只读复跑 **225 passed / 0 failed / EXIT=0**(21.9 分钟)。裁定见 ADR-0013 §4.1/§4.2 |
| OPEN-05b | 语法棘轮**批 3**:详情件 + 4 个 hub 列表 + 首页共 15 处 | **已判定保留棘轮 2026-11-26** | 需 **95 张**基线(19 页 × 5)+ 逐页归因表;`R16` 清零还须先裁「红不做面」的替代色 | 翻转三条见 ADR-0013 §6;现状即「有记录地不做」 |
| OPEN-05b | 语法棘轮**批 3**:详情件 + hub 列表 + 首页共 15 处 | **已闭 2026-12-02(§6 三翻转条件满足后清零)** | — | R16「红不做面」用户裁定 A 方案(红底面→中性面 `bg-bg-elevated`/`bg-bg-primary/80`,红降级 `text-brand-ink` 点缀);基线**实写 35 张**(预测 35 == `git status` 35,§5.58 成立;11-26 的「95 张/19 页」口径随树演进修正:hover 态 R14 改动静态零漂移不产生基线);归因表 `docs/acceptance/2026-12-02-grammar-batch3/attribution.md`(L2 卡片 1 例为选择器超时单跑复验过,非像素);`check:grammar` **25/25 · R13–R17 实测 0 / 上限 0**(棘轮转硬禁)+ selftest 双向;tsc 0 / eslint 0 error / jest **161 套件 1899 例**;独立只读复跑 **225 passed / 0 failed / EXIT=0**。见 ADR-0013 §8 |
| OPEN-06 | `/products/standalone/[id]` 不可观测 | 未闭 | seed 无数据 ⇒ 404,需授权写入一行 | 该路由有 seed 数据后补视觉/功能守卫 |
| OPEN-07 | 写库型 E2E(原 `AUTH-D4`,11 例) | **已闭 2026-11-25** | 残差抖动(见右栏),不是功能阻塞 | `npm run test:e2e:write-db` ⇒ **11 passed / 0 failed / EXIT=0**;跑完 `prisma/dev.db` 的 inode+size+mtime 不变(脚本首行打印指纹)。⚠ **稳定性读数**:3 次运行里 2 次全绿、1 次 2 红(`cms-workflow` 与 UJ-03 都停在 `submitForReview` 返回非 2xx,复跑即绿)⇒ 宣称前须**连续两次** EXIT=0;复现时先 `cp -R e2e/test-results` 再复跑(成功跑会清掉产物,轨迹就没了) |
| OPEN-08 | seed 覆盖写语义(§17.2) | **已闭 2026-11-25** | — | 默认补缺(人工编辑存活)、`--force` 才覆盖/删除、未知参数零写入中止;判据 `src/lib/seed-write-policy.test.ts`(14 例) |
@@ -2,7 +2,7 @@
## 状态
已裁定(2026-11-26),**批 1+2 已落地**(同日)。批 3 保留棘轮,未实施。
已裁定(2026-11-26)。批 1+2 同日落地;**批 3 已于 2026-12-02 清零落地**(§8,OPEN-05b 闭合),R13–R17 上限降至 0。
## 落地记录(2026-11-26)
@@ -157,3 +157,19 @@
2. **等价类的判定是人工的**(1px 宽圆角、140px 模糊块),没有机器判据。
3. **`dead-modules.mjs` 的 barrel 盲区未修**(`OPEN-16`),本轮只登记。
4. **上限下调靠人工改常量**,没有「实测 < 上限 ⇒ 自动提示下调」的执行力(现在只有 note 提示)。
## 8. 批 3 落地回填(2026-12-02,OPEN-05b 闭合)
§6 三翻转条件逐条满足后实施:
1. **基线预算**:授权全流程;实写 **35 张**(预测 35,`git status --porcelain e2e/visual-snapshots` 恰 35 条,§5.58 判据成立,零外溢)。
2. **逐页归因表**:`docs/acceptance/2026-12-02-grammar-batch3/attribution.md`——erp-upgrade-v3 ×5(CTA 字重 900→700 + 徽章直角化)、
`/services/*` ×4页×3、`/solutions/*` ×6页×3(L3 空态兜底链的面板去红底/去圆角);L2 卡片 1 例为选择器超时(单跑复验过,非像素,不写入)。
3. **R16 替代色裁定**(用户拍板 A 方案):红底面 → **中性面**(`bg-bg-elevated` / `bg-bg-primary/80`),
红色降级为文字/图标点缀(`text-brand-ink` 保留)——与 L3 卡片主体、批 2「去面留点」、保时捷「红只点缀」语法一致。
构成与 §2.1 的 11-26 口径有演进(影像退役/E 案后树已变):15 处 = detail 件 10(R13 3 · R15 1 · R16 5 · R17 1)+ hub 列表箭头 3(R14)+ erp-upgrade 卡片 2(R14)。
hub 箭头与 erp-upgrade 两处是 **hover 态**改动,静态截图零像素漂移 ⇒ 不产生基线(实测互证:这些页只读全过)。
门禁:`check:grammar` 25/25(R13–R17 实测 0 / 上限 **0**,棘轮转硬禁)· selftest 双向 · tsc 0 · eslint 0 error ·
jest 161 套件 / 1899 例 · 独立只读复跑 **225 passed / 0 failed / EXIT=0**。
Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 KiB

After

Width:  |  Height:  |  Size: 543 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 720 KiB

After

Width:  |  Height:  |  Size: 720 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

+5 -2
View File
@@ -213,9 +213,12 @@ const MARKETING_FLOOR = 60;
* `micro-interactions`,它们只被 `detail/index.ts` 的 barrel 再导出,故 `dead-modules.mjs`
* 判不出死码 —— 见 `OPEN-16`)。批 1 清的是死码与无守卫路由(`/cases/[slug]`、
* `standalone` 详情),批 2 清的是 `/about/brand` 单页(R17 11 处 900 字重 → 700)。
* 剩余 15 处是批 3(跨 19 个受守卫页面),**有意保留棘轮**,见 `docs/adr/0013`。
* 2026-12-02(OPEN-05b 批 3 清零,ADR-0013 §8):剩余 15 处全部落地 —— detail 件
* 直角化 + R16「红不做面」裁定为中性面留红点缀(bg-bg-elevated / bg-bg-primary/80,
* 红降级为 text-brand-ink 文字/图标点缀)+ hub 列表箭头去竖直分量 + erp-upgrade 卡片
* 去抬升。R13–R17 上限同批下调至 0,棘轮转硬禁(新增 1 处即判红)。
*/
const MARKETING_HIT_CEILINGS = { R13: 3, R14: 5, R15: 1, R16: 5, R17: 1, R18: 0, R19: 0 };
const MARKETING_HIT_CEILINGS = { R13: 0, R14: 0, R15: 0, R16: 0, R17: 0, R18: 0, R19: 0 };
/**
* 判据正则一律**不带 g 旗标**。
@@ -87,7 +87,7 @@ function CaseCard({ caseItem, index }: { caseItem: CaseStudy; index: number }) {
</div>
<div className="flex items-center gap-1.5 text-brand-ink text-sm font-semibold">
查看详情
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform duration-normal" />
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 transition-transform duration-normal" />
</div>
</div>
</div>
@@ -187,7 +187,7 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
{PAIN_POINTS.map((item, index) => (
<div
key={index}
className="group relative border border-border-primary hover:border-brand/30 bg-bg-elevated p-8 lg:p-10 transition-all duration-150 hover:-translate-y-1 overflow-hidden"
className="group relative border border-border-primary hover:border-brand/30 bg-bg-elevated p-8 lg:p-10 transition-all duration-150 overflow-hidden"
>
<div className="absolute top-0 left-0 right-0 h-1 bg-brand scale-x-0 group-hover:scale-x-100 transition-transform duration-150 origin-left" />
@@ -258,7 +258,7 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
{FEATURE_MODULES.map((item, index) => (
<div
key={index}
className="group relative border border-border-primary hover:border-brand/30 bg-bg-elevated p-8 transition-all duration-150 hover:-translate-y-1 overflow-hidden"
className="group relative border border-border-primary hover:border-brand/30 bg-bg-elevated p-8 transition-all duration-150 overflow-hidden"
>
<div className="absolute top-0 left-0 right-0 h-1 bg-brand scale-x-0 group-hover:scale-x-100 transition-transform duration-150 origin-left" />
@@ -240,7 +240,7 @@ function ServicesGridSection({ services, pageCopy }: { services?: Service[]; pag
<div className="inline-flex items-center gap-2 text-sm font-semibold text-text-secondary group-hover:text-brand-ink transition-colors duration-normal">
<span>了解详情</span>
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform duration-normal" />
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 transition-transform duration-normal" />
</div>
</div>
</StaticLink>
@@ -156,7 +156,7 @@ function SolutionCard({ solution, index, products, featured = false }: { solutio
<div className="inline-flex items-center gap-2 text-sm font-semibold text-text-secondary group-hover:text-brand-ink transition-colors duration-normal mt-6">
<span>了解详情</span>
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform duration-normal" />
<ArrowUpRight className="w-4 h-4 group-hover:translate-x-0.5 transition-transform duration-normal" />
</div>
</div>
</StaticLink>
@@ -110,7 +110,7 @@ export function CaseStudiesSection({
</span>
</div>
<div className="absolute top-5 left-5">
<span className="px-3 py-1.5 text-xs font-bold text-brand-ink bg-brand-soft/80 backdrop-blur-sm">
<span className="px-3 py-1.5 text-xs font-bold text-brand-ink bg-bg-primary/80 backdrop-blur-sm">
{study.industry}
</span>
</div>
@@ -16,7 +16,7 @@ export function CertificationList({ certifications }: CertificationListProps) {
{certifications.map((cert, index) => {
const link = cert.link && cert.link !== '#' ? cert.link : null;
const className =
'inline-flex items-center gap-2 rounded-full border border-border-primary bg-bg-elevated px-4 py-2 text-sm text-text-secondary shadow-sm transition-all hover:border-border-secondary hover:shadow-md';
'inline-flex items-center gap-2 border border-border-primary bg-bg-elevated px-4 py-2 text-sm text-text-secondary shadow-sm transition-all hover:border-border-secondary';
const motionProps = {
initial: { opacity: 0, scale: 0.95 },
whileInView: { opacity: 1, scale: 1 },
@@ -59,7 +59,7 @@ export function CertificationsSection({ certifications }: CertificationsSectionP
key={idx}
className="group flex items-center gap-4 px-8 py-5 bg-bg-primary hover:bg-bg-secondary transition-all duration-normal"
>
<div className="w-12 h-12 rounded-xl bg-brand-soft flex items-center justify-center text-brand-ink">
<div className="w-12 h-12 bg-bg-elevated flex items-center justify-center text-brand-ink">
<Shield className="w-6 h-6" />
</div>
<div>
+2 -2
View File
@@ -34,12 +34,12 @@ export function DetailCTASection({
className="max-w-3xl"
>
{/* 标签 */}
<div className="inline-flex items-center gap-2 px-4 py-2 rounded-cta bg-brand-soft text-brand-ink text-sm font-medium mb-8 border border-brand/20">
<div className="inline-flex items-center gap-2 px-4 py-2 rounded-cta bg-bg-elevated text-brand-ink text-sm font-medium mb-8 border border-brand/20">
<MessageCircle className="w-4 h-4" />
免费咨询
</div>
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-black text-ink tracking-tight leading-[0.95] mb-10">
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-ink tracking-tight leading-[0.95] mb-10">
{title}
</h2>
@@ -27,7 +27,7 @@ export function EarlyAccessNotice() {
<aside
role="note"
aria-label="首批客户共创状态"
className="p-5 sm:p-6 rounded-lg border border-dashed border-brand/40 bg-brand-soft/30"
className="p-5 sm:p-6 border border-dashed border-brand/40 bg-bg-elevated"
>
<p
id="early-access-notice-heading"
+1 -1
View File
@@ -140,7 +140,7 @@ function SignalCard({ signal }: { signal: L3Signal }) {
</span>
<div
className="w-10 h-10 mb-4 flex items-center justify-center bg-brand-soft text-brand-ink"
className="w-10 h-10 mb-4 flex items-center justify-center bg-bg-elevated text-brand-ink"
aria-hidden="true"
>
<Icon className="w-5 h-5" />