'use client'; import { motion } from 'framer-motion'; import { ScrollReveal, StaggerReveal } from '@/components/ui/scroll-reveal'; 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, CaseStudiesSection, CertificationsSection } from '@/components/detail'; const INDUSTRY_ICONS: Record = { 制造业: , 零售业: , 医疗: , 教育: , }; const VALUE_ICONS: Record = { Factory: , Package: , TrendingUp: , Users: , ShoppingCart: , GraduationCap: , BookOpen: , MessageSquare: , Heart: , Calendar: , Smartphone: , Route: , Shield: , Truck: , }; interface DetailHeroProps { solution: Solution; } function DetailHero({ solution }: DetailHeroProps) { const industryIcon = INDUSTRY_ICONS[solution.industry] || ; return (
{industryIcon}
{solution.industry}
{solution.subtitle}
{solution.title} {solution.description} 获取方案详情 查看产品
); } interface ChallengesSectionProps { challenges: string[]; } function ChallengesSection({ challenges }: ChallengesSectionProps) { return (
Challenges

行业痛点

我们深入理解行业面临的核心挑战,提供针对性的解决方案

{challenges.map((challenge, idx) => (
{idx + 1}

{challenge}

))}
); } interface SolutionsSectionProps { solutions: string[]; } function SolutionsSection({ solutions }: SolutionsSectionProps) { return (
Solutions

解决方案

{solutions.map((solution, idx) => (
方案 {idx + 1}

{solution}

))}
); } interface ValuePropositionProps { valueProposition: Solution['valueProposition']; } function ValuePropositionSection({ valueProposition }: ValuePropositionProps) { return (
Value Proposition

{valueProposition.headline}

{valueProposition.points.map((point, idx) => { const icon = VALUE_ICONS[point.icon] || ; return (
{icon}

{point.title}

{point.description}

); })}
); } interface SuiteCombinationProps { suiteCombination: Solution['suiteCombination']; products: Product[]; } function SuiteCombinationSection({ suiteCombination, products }: SuiteCombinationProps) { const primaryProducts = suiteCombination.primaryProducts .map(pid => products.find(p => p.id === pid)) .filter(Boolean); return (
Suite Combination

推荐产品组合

{primaryProducts.map((product) => product && (
核心产品

{product.title}

{product.description}

))}
+
配套服务

专业实施服务

{suiteCombination.complementaryServices.length}项服务配套,确保方案落地见效

方案价值

{suiteCombination.rationale}

); } interface CTASectionProps { solution: Solution; } // ===== L3 信任层:客户案例 / 资质认证已合并至共享组件(@/components/detail)===== // 原本地 CaseStudiesSection / CertificationsSection 与 product 页逐字重复 ~95%, // B-2(commit 见 git log)统一为共享组件;heading 由 prop 传入以保留原文案。 function CTASection({ solution }: CTASectionProps) { return (
Get Started

开启您的
数字化转型之旅

联系我们,获取{solution.title}的详细方案和专属报价

预约咨询 查看更多方案
); } interface SolutionDetailContentV3Props { solution: Solution; products?: Product[]; } export default function SolutionDetailContentV3({ solution, products = [] }: SolutionDetailContentV3Props) { return (
); }