Commit Graph
6 Commits
Author SHA1 Message Date
zhangxiang 8c64064181 refactor(detail): 共享详情件残余清账(P4-B4)
范围:solution-service-card / l3-signals-slot / product-card / solution-value /
detail-case-study / detail-product-value / detail-trust-section 七个共享件 +
products hub 的两处遗留图标砖。这些件被 product·solution·service·case 详情页共用,
所以一批改完等于把残余存量从"散落在模板里"收敛到"两处已裁定的豁免"。

棘轮读数
- R13 40→**19**:rounded-2xl/xl/lg/md 21 处 → 直角;小圆点(1–1.5px)直接去圆
- R14 12→7:hover:-translate-y 5 处
- R15 12→7:shadow-md 装饰投影 5 处
- R17 22→**13**:font-black 9 处 → font-bold

残余 19(R13)/13(R17)**有意保留**,两条都是已裁定的边界:
- `about/brand`(5+11):DESIGN 明写的**遗产豁免**页(90vh / 楷体),随页面退役一并处理;
- `products/standalone/[id]`(8+0):seed 无数据 ⇒ 该路由 404、不可观测,
  改了也没有任何验证手段,不制造"改过了"的假象。

验证
- check:grammar --selftest 通过;check:grammar 19/19 EXIT=0
- check:accents / check:a11y / check:motion 全 EXIT=0
- type-check EXIT=0;eslint 0 error;jest 157 套件 / 1849 例全通过
- 视觉:只读复跑 /products/erp-upgrade-v3 在 5 个 project 一致判红(真变化:该页直接
  使用 detail-product-value / detail-trust-section / l3-signals-slot),重采这 5 张后
  L1 全页组 80/80、全量 130/130 通过

P4 四批(hub 6 / 详情 5 / 信任 4 / 共享件 8)完成后的总账:
R13 71→19 · R14 21→7 · R15 20→7 · R16 26→8 · R17 53→13 · R19 21→0(硬禁)。
2026-11-03 19:16:16 +08:00
zhangxiang a366bd1400 fix(qa): 第五轮系统性质量保障缺陷修复 + 单元/集成测试
安全/鉴权:登出清服务端 httpOnly 令牌、登录 IP 限流前置 bcrypt、停用账号
令牌在 6 个内联 role handler 失效、admin/items 存在性 oracle 认证前置、
同意偏好 sanitize fail-closed、api-crypto 按 HTTP 方法判体。

CMS:workflow 状态更新+审计收进交互式 $transaction(失败即回滚)、编辑器
richtext 走 textarea 防换行损毁、array/object 子字段按作用域读写防污染、
about/contact/erp-upgrade 补 ISR revalidate 与路由映射。

UI/a11y:AnimatedCounter 入视口前显起点、CLS 累计上报、MetricCard 动画入
effect 并卸载取消 rAF、后台状态四态映射/搜索防抖+序号守卫/媒体单 input/
吞错改横幅/表单 label-aria 关联。

新增对应判别性单测与 pagination/rate-limit/client-ip/sanitize/validate-content-data
等模块及 tests-integration 真库集成层。
2026-09-28 10:48:07 +08:00
zhangxiang 5ecab7b15d fix(theme): 品牌色令牌语义拆分与暗黑模式全站治理
- 拆分品牌色「文字/底色」双通道:新增 --color-brand-ink(-rgb)(深色 #F87171)
  与 tailwind brand.ink;text-brand → text-brand-ink 迁移 247 处;
  bg-brand/border-brand 保持 --color-brand-rgb 不翻转(红底白字 5.58:1 不能动)
- dark 块补齐 --color-brand-bg: #2A1418(修复深色白字压浅粉底 1.04:1)
- hero 徽章新增 --badge-accent-text 桥接:accentColor 直用作深底文字不可读
  (#1e3a5f 深底 1.65:1),浅色取原色 / 深色 color-mix 提亮
- 硬编码颜色 token 化:bg-white/text-gray-*/border-gray-* → bg-bg-*/text-text-*/border-border-*
- 可访问性:触控目标 <24px 归零(footer 链接列 [&_a]:min-h-6 收口 377 处等)、
  news 搜索框补 aria-label、标题跳级 h2→h4 修正为 h3、装饰 blur 光斑容器补
  overflow-hidden 消除伪文本裁剪
- 验证:tsc 0 / eslint 0 error / jest 0 失败用例 / dogfood 33 路由 × 双主题 P1-P3 全零
2026-09-20 11:50:58 +08:00
zhangxiangand阿睿 2aa0e21319 refactor(animations): converge P1 motion durations to ≤300ms target
- 151 scripted + 1 manual duration fixes across 46 files
- framer entrance 0.5/0.6s -> 0.3s
- Tailwind hover -> duration-150, entrance -> duration-300
- preserve flip-clock/page-transition per semantic decision
- design-system.ts dead-code deferred
- P1 violations 156 -> 5; P0 remains 0; OK class 249 -> 400
- verified: tsc clean, eslint 0 errors
- verified: 130/130 jest suites, 1573 passed
- verified: visual regression 46/46 zero-pixel diff

Co-Authored-By: 阿睿 <workbuddy@tencent.com>
2026-09-20 11:50:58 +08:00
zhangxiang 08a020105f refactor(link): 营销页站内链接统一 StaticLink(静态托管适配)+ 删除 0 引用死代码组件 + QA 页 client/server 拆分 2026-08-31 12:03:12 +08:00
张翔 829d83522c feat(marketing): 重构营销页面与四层叙事组件体系
- 重构 About、Contact、Team 等静态营销页面
- 重构 News 新闻列表与详情页
- 重构 Products 产品目录、详情与独立产品页面
- 重构 Services 与 Solutions 服务/解决方案页面
- 重构 Detail 四层叙事组件 (Hero → Value → Trust → CTA)
- 重构 Sections 页面区块组件 (Hero, CTA, SocialProof, WhyUs 等)
- 新增 SectionHeader、ServiceCard、CaseCard 等可复用组件
2026-07-07 06:53:40 +08:00