Files
novalon-website/src/components/detail/index.ts
T
zhangxiang 62e6b6ea81 refactor(detail): 合并 L3 客户案例/资质认证区块为共享组件
- 新建 CaseStudiesSection / CertificationsSection 共享组件(src/components/detail),
  合并 solution/product 逐字重复的本地实现与 service 的异类实现(卡片 motion.a
  链 /cases/<slug> 依赖尚不存在数据 → 404,违反零编造)
- bg-white → bg-bg-primary token 化(浅色零视觉差异,深色模式正确反色,对齐暗黑 Phase 2)
- 数据闸门保留:caseStudies/certifications 空时 return null,由 L3EmptyFallback 接管
- grid/flex 类直接挂 StaggerReveal,修复合并前的单列布局 bug
- 动效 0.8s → 0.7s(detail-cta-section + service CTASection),对齐 ≤700ms 约束
- 附 scripts/audit/l3-b2-verify.mjs 运行时冒烟(product 页浅深双版,0 报错,hydration 通过)

验证:type-check 0 错 / lint 0 错(127 既有 warnings) / 单测 129 套件 1628 通过
2026-09-20 11:50:58 +08:00

31 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export { DetailHero } from './detail-hero';
export { ProductValueSection } from './detail-product-value';
export { DetailTrustSection } from './detail-trust-section';
export { L3SignalsSlot } from './l3-signals-slot';
export { EarlyAccessNotice } from './early-access-notice';
export { L3EmptyFallback } from './l3-empty-fallback';
export { DetailCTASection } from './detail-cta-section';
export { CaseStudyCard } from './detail-case-study';
export { CertificationList } from './detail-certification';
// L3 信任层共享区块(B-2 合并自 solution/product/service 详情页的本地重复实现)
export { CaseStudiesSection } from './detail-case-studies-section';
export { CertificationsSection } from './detail-certifications-section';
export { SolutionValueSection } from './solution-value';
export { ServiceValueSection } from './service-value';
export { ListPageHero } from './list-page-hero';
export { ProductCard } from './product-card';
export { SolutionCard } from './solution-service-card';
export { TiltCard, PressableButton, HoverLink } from './micro-interactions';
// 注:brand-elements.tsxBrandSeal/CalligraphyText/SectionHeader)与
// detail-cross-recommend.tsxCrossRecommendGrid)此前 0 消费者,已于 2026-08-31 删除。