feat(detail): Layer 3 信任层空数据兜底骨架(L3SignalsSlot + L3EmptyFallback + EarlyAccessNotice)
- 新增 L3SignalsSlot:4 类可验证替代信号卡(方法论/团队/历程/服务承诺), 服务承诺卡 disabled 占位待业务确认;零编造约束下替代真实案例/认证 - 新增 EarlyAccessNotice:首批客户共创状态条(单一真源 company.ts EARLY_ACCESS) - 新增 L3EmptyFallback:caseStudies/certifications/dataProofs 三者全空时渲染兜底, 任一非空 return null 保留本地真实 section 视觉 - 接入 5 处详情页:solution v3 / service v4 / product v3 / erp-upgrade-v3 / standalone/[id] - 修复 StaggerReveal 网格布局:grid 类须挂在 StaggerReveal 自身(否则卡片堆单列) - 更新 solution 测试至新行为(空数据→兜底渲染)+ 补 lucide 图标 mock - 修复 header.test.tsx 双 logo 断言(2593599 遗留) - 新增 scripts/audit/l3-fallback-verify.mjs 运行时验证(浅/深双版 PASS) 注:必须用 localhost 而非 127.0.0.1 —— Next dev allowedDevOrigins 默认白名单 不含 127.0.0.1,chunk 请求带该 Origin 被 403 → hydration 不发生 → 动画全冻结 验证:type-check 0 错 · lint 0 错(127 既有 warnings) · 单测 129 套件/1628 通过 · L3 兜底浅深双版渲染截图 PASS
This commit is contained in:
@@ -6,6 +6,7 @@ import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { Factory, ShoppingCart, Heart, GraduationCap, Lightbulb, Settings, Users, TrendingUp, Package, BookOpen, MessageSquare, Calendar, Smartphone, Route, Shield, Truck } from 'lucide-react';import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import type { Solution } from '@/lib/constants/solutions';
|
||||
import type { Product } from '@/lib/constants/products';
|
||||
import { L3EmptyFallback } from '@/components/detail';
|
||||
|
||||
const INDUSTRY_ICONS: Record<string, React.ReactNode> = {
|
||||
制造业: <Factory className="w-8 h-8" />,
|
||||
@@ -514,6 +515,7 @@ export default function SolutionDetailContentV3({ solution, products = [] }: Sol
|
||||
<SolutionsSection solutions={solution.solutions} />
|
||||
<ValuePropositionSection valueProposition={solution.valueProposition} />
|
||||
<SuiteCombinationSection suiteCombination={solution.suiteCombination} products={products} />
|
||||
<L3EmptyFallback caseStudies={solution.caseStudies} certifications={solution.certifications} />
|
||||
<CaseStudiesSection caseStudies={solution.caseStudies} />
|
||||
<CertificationsSection certifications={solution.certifications} />
|
||||
<CTASection solution={solution} />
|
||||
|
||||
Reference in New Issue
Block a user