"use client" import type React from "react" import { TrendingUp, Users, ChevronLeft, Bot, Sparkles, Plus, Phone } from "lucide-react" import { Card } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { useRouter } from "next/navigation" interface Channel { id: string name: string icon: string stats: { daily: number growth: number } link?: string plans?: Plan[] } interface Plan { id: string name: string isNew?: boolean status: "active" | "paused" | "completed" acquisitionCount: number } // 调整场景顺序,确保API获客在最后 const channels: Channel[] = [ { id: "haibao", name: "海报获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-x92XJgXy4MI7moNYlA1EAes2FqDxMH.png", stats: { daily: 167, growth: 10.2, }, link: "/scenarios/haibao", plans: [ { id: "plan-5", name: "产品海报获客", isNew: true, status: "active", acquisitionCount: 45, }, ], }, { id: "order", name: "订单获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-203hwGO5hn7hTByGiJltmtACbQF4yl.png", stats: { daily: 112, growth: 7.8, }, link: "/scenarios/order", plans: [ { id: "plan-9", name: "电商订单获客", status: "active", acquisitionCount: 42, }, ], }, { id: "douyin", name: "抖音获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-QR8ManuDplYTySUJsY4mymiZkDYnQ9.png", stats: { daily: 156, growth: 12.5, }, link: "/scenarios/douyin", plans: [ { id: "plan-1", name: "抖音直播间获客", isNew: true, status: "active", acquisitionCount: 56, }, { id: "plan-2", name: "抖音评论区获客", status: "completed", acquisitionCount: 128, }, ], }, { id: "xiaohongshu", name: "小红书获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-JXQOWS9M8mxbAgvFSlA8cCl64p3OiF.png", stats: { daily: 89, growth: 8.3, }, link: "/scenarios/xiaohongshu", plans: [ { id: "plan-3", name: "小红书笔记获客", isNew: true, status: "active", acquisitionCount: 32, }, ], }, { id: "phone", name: "电话获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/phone-icon-Hs9Ck3Ij7aqCOoY5NkhxQnXBnT5LGU.png", stats: { daily: 42, growth: 15.8, }, link: "/scenarios/phone", plans: [ { id: "phone-1", name: "招商电话获客", isNew: true, status: "active", acquisitionCount: 28, }, ], }, { id: "gongzhonghao", name: "公众号获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-Gsg0CMf5tsZb41mioszdjqU1WmsRxW.png", stats: { daily: 234, growth: 15.7, }, link: "/scenarios/gongzhonghao", plans: [ { id: "plan-4", name: "公众号文章获客", status: "active", acquisitionCount: 87, }, ], }, { id: "weixinqun", name: "微信群获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-azCH8EgGfidWXOqiM2D1jLH0VFRUtW.png", stats: { daily: 145, growth: 11.2, }, link: "/scenarios/weixinqun", plans: [ { id: "plan-6", name: "微信群活动获客", status: "paused", acquisitionCount: 23, }, ], }, { id: "payment", name: "付款码获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-FI5qJhBgV87ZS3P2WrUDsVyV91Y78i.png", stats: { daily: 78, growth: 9.5, }, link: "/scenarios/payment", plans: [ { id: "plan-7", name: "支付宝码获客", status: "active", acquisitionCount: 19, }, ], }, { id: "api", name: "API获客", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-JKtHDY1Ula8ya0XKQDxle5qrcE0qC5.png", stats: { daily: 198, growth: 14.3, }, link: "/scenarios/api", plans: [ { id: "plan-8", name: "网站表单获客", isNew: true, status: "active", acquisitionCount: 67, }, ], }, ] const aiScenarios = [ { id: "ai-friend", name: "AI智能加友", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-azCH8EgGfidWXOqiM2D1jLH0VFRUtW.png", description: "智能分析目标用户画像,自动筛选优质客户", stats: { daily: 245, growth: 18.5, }, link: "/scenarios/ai-friend", plans: [ { id: "ai-plan-1", name: "AI智能筛选计划", isNew: true, status: "active", acquisitionCount: 78, }, ], }, { id: "ai-group", name: "AI群引流", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-azCH8EgGfidWXOqiM2D1jLH0VFRUtW.png", description: "智能群聊互动,提高群活跃度和转化率", stats: { daily: 178, growth: 15.2, }, link: "/scenarios/ai-group", plans: [ { id: "ai-plan-2", name: "AI群聊互动计划", status: "active", acquisitionCount: 56, }, ], }, { id: "ai-conversion", name: "AI场景转化", icon: "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-m4ENUaZon82EPFHod2dP1dajlrRdVG.png", description: "多场景智能营销,提升获客转化效果", stats: { daily: 134, growth: 12.8, }, link: "/scenarios/ai-conversion", plans: [ { id: "ai-plan-3", name: "AI多场景营销", isNew: true, status: "active", acquisitionCount: 43, }, ], }, ] export default function ScenariosPage() { const router = useRouter() const handleChannelClick = (channelId: string, event: React.MouseEvent) => { router.push(`/scenarios/${channelId}`) } const getStatusColor = (status: string) => { switch (status) { case "active": return "bg-green-100 text-green-700" case "paused": return "bg-amber-100 text-amber-700" case "completed": return "bg-blue-100 text-blue-700" default: return "bg-gray-100 text-gray-700" } } const getStatusText = (status: string) => { switch (status) { case "active": return "执行中" case "paused": return "已暂停" case "completed": return "已完成" default: return "未知状态" } } return (

场景获客

{/* Traditional channels */}
{channels.map((channel) => (
router.push(channel.link || "")} >
{channel.id === "phone" ? ( ) : ( {channel.name} )}

{channel.name}

今日: {channel.stats.daily}
+{channel.stats.growth}%
))}
{/* AI scenarios */}

AI智能获客

Beta
{aiScenarios.map((scenario) => (
router.push(scenario.link || "")} >

{scenario.name}

{scenario.description}

今日: {scenario.stats.daily}
+{scenario.stats.growth}%
))}
) }