'use client'; import { motion } from 'framer-motion'; import Link from 'next/link'; import Image from 'next/image'; import { ArrowRight, CheckCircle2 } from 'lucide-react'; interface ProductCardProps { product: { id: string; title: string; description: string; image: string; category: string; status: string; features?: string[]; }; } export function ProductCard({ product }: ProductCardProps) { return (
{product.title}
{product.category} {product.status === '已发布' && ( 已发布 )}

{product.title}

{product.description}

{product.features && product.features.length > 0 && (
{product.features.slice(0, 3).map((feature) => ( {feature} ))}
)}
了解详情
); }