'use client'; import { useRef, Fragment } from 'react'; import { InkReveal, FadeUp, InkCard, PulseElement } from '@/lib/animations'; import { RippleButton } from '@/components/ui/ripple-button'; import { ScrollReveal, inkRevealVariants, slideInLeftVariants } from '@/components/ui/scroll-animations'; import type { Product } from '@/lib/constants/products'; interface ProductFeaturesSectionProps { product: Product; } function FeatureItem({ feature, index, }: { feature: string; index: number; }) { // 解析功能标题和描述(中文冒号分隔) const colonIndex = feature.indexOf(':'); const title = colonIndex > -1 ? feature.substring(0, colonIndex) : feature; const description = colonIndex > -1 ? feature.substring(colonIndex + 1) : ''; // 编号格式化 const number = String(index + 1).padStart(2, '0'); return (
{/* 左侧:编号和文字 */}
{/* 编号 - InkReveal 模糊揭示 */} {number} {/* 功能标题 - ScrollReveal + slideInLeft */}

{title}

{/* 功能描述 - FadeUp */} {description && (

{description}

)}
{/* 右侧:InkCard 弹簧物理悬浮 + PulseElement 脉冲同心圆 */}
); } export function ProductFeaturesSection({ product }: ProductFeaturesSectionProps) { const sectionRef = useRef(null); return (
{/* 标题 - ScrollReveal + inkRevealVariants 模糊揭示 */}

核心功能

全方位覆盖企业核心业务场景

{/* 功能列表 */} {product.features.map((feature, index) => ( {(index === 1 || index === 3) && (

想了解更多功能细节?

预约一次 30 分钟在线演示,了解产品如何适配您的业务

预约演示 获取方案
)}
))}
); }