'use client'; import { motion } from 'framer-motion'; import { CTAButton } from '@/components/ui/cta-button'; import { ArrowUpRight, CheckCircle2, Zap, Clock, Users, Award, TrendingUp, Shield } from 'lucide-react'; import type { LucideIcon } from 'lucide-react'; import type { Service, CaseStudy } from '@/lib/constants/services'; const EASE_OUT = [0.22, 1, 0.36, 1] as const; const FEATURE_ICONS: LucideIcon[] = [Zap, Clock, Users, Award, TrendingUp, Shield]; function DetailHero({ service }: { service: Service }) { const firstBenefit = service.benefits?.[0] || '效率提升 40%'; return ( {service.title} {firstBenefit} {service.description} 10+ 人核心团队 6 款自研产品 100% 结果导向交付 免费咨询 查看案例 ); } function OverviewSection({ service }: { service: Service }) { return ( 解决什么问题 {service.overview} {service.benefits?.slice(0, 4).map((benefit, i) => ( {benefit} ))} ); } function FeaturesSection({ service }: { service: Service }) { return ( 核心能力 每一项能力都来自核心团队的项目实践与持续打磨 {service.features.map((feature, index) => { const [title, desc] = feature.split(':'); const Icon = FEATURE_ICONS[index % FEATURE_ICONS.length]!; return ( {desc ? title : feature.slice(0, 10)} {desc || feature} ); })} ); } function ProcessSection({ service }: { service: Service }) { if (!service.process || service.process.length === 0) return null; return ( 服务流程 标准化流程,确保每个项目可控、可预期 {service.process.slice(0, 5).map((step, index) => { const [title, desc] = step.split(':'); return ( {desc ? title : step.slice(0, 6)} {desc || step} ); })} ); } function CaseStudiesSection({ caseStudies = [] }: { caseStudies?: CaseStudy[] }) { if (caseStudies.length === 0) return null; return ( 真实案例,可衡量的成果 {caseStudies.slice(0, 4).map((cs, i) => ( {cs.industry} • {cs.client} {cs.challenge.slice(0, 30)} {cs.solution} 查看详情 ))} ); } function CTASection() { return ( 准备好开始了吗? 无论是一个明确的项目,还是一个模糊的想法,我们都愿意坐下来和您一起理清楚。 首次咨询免费,没有任何销售压力。 预约免费咨询 返回服务列表 ); } export default function ServiceDetailContentV4({ service }: { service: Service }) { return ( ); }
{service.overview}
每一项能力都来自核心团队的项目实践与持续打磨
{desc || feature}
标准化流程,确保每个项目可控、可预期
{desc || step}
{cs.solution}
无论是一个明确的项目,还是一个模糊的想法,我们都愿意坐下来和您一起理清楚。 首次咨询免费,没有任何销售压力。