'use client'
import { useState } from 'react'
import Link from 'next/link'
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card'
import { Button } from '@/components/ui/Button'
import { SuccessTag, PendingTag, WarningTag, ErrorTag } from '@/components/ui/Tag'
import {
AlertTriangle,
Clock,
CheckCircle,
XCircle,
ChevronRight,
FileVideo,
MessageSquare,
TrendingUp
} from 'lucide-react'
// 模拟统计数据
const stats = {
pendingReview: 12,
pendingAppeal: 3,
todayPassed: 28,
inProgress: 45,
}
// 模拟紧急待办
const urgentTodos = [
{
id: 'urgent-001',
type: 'violation',
title: '达人A视频 - 竞品露出',
description: 'XX品牌618推广',
time: '2小时前',
level: 'high',
},
{
id: 'urgent-002',
type: 'appeal',
title: '达人B申诉 - 待仲裁',
description: '对违禁词检测结果有异议',
time: '30分钟前',
level: 'medium',
},
{
id: 'urgent-003',
type: 'ai_done',
title: '达人C视频 - AI审核完成',
description: '新品口红试色',
time: '10分钟前',
level: 'low',
},
]
// 模拟项目概览
const projectOverview = [
{
id: 'proj-001',
name: 'XX品牌618推广',
total: 20,
submitted: 15,
passed: 10,
reviewing: 3,
needRevision: 2,
},
{
id: 'proj-002',
name: '新品口红系列',
total: 12,
submitted: 8,
passed: 6,
reviewing: 1,
needRevision: 1,
},
{
id: 'proj-003',
name: '护肤品秋季活动',
total: 15,
submitted: 12,
passed: 9,
reviewing: 2,
needRevision: 1,
},
]
// 模拟待审核任务列表
const pendingTasks = [
{
id: 'task-001',
videoTitle: '夏日护肤推广',
creatorName: '小美护肤',
brandName: 'XX品牌',
aiScore: 85,
submittedAt: '2026-02-04 14:30',
hasHighRisk: false,
},
{
id: 'task-002',
videoTitle: '新品口红试色',
creatorName: '美妆达人Lisa',
brandName: 'XX品牌',
aiScore: 72,
submittedAt: '2026-02-04 13:45',
hasHighRisk: true,
},
{
id: 'task-003',
videoTitle: '健身器材开箱',
creatorName: '健身教练王',
brandName: 'XX运动',
aiScore: 68,
submittedAt: '2026-02-04 14:50',
hasHighRisk: true,
},
]
function UrgentLevelIcon({ level }: { level: string }) {
if (level === 'high') return
| 视频 | 达人 | 品牌 | AI评分 | 提交时间 | 操作 |
|---|---|---|---|---|---|
|
{task.videoTitle}
{task.hasHighRisk && (
高风险
)}
|
{task.creatorName} | {task.brandName} | = 80 ? 'text-accent-green' : task.aiScore >= 60 ? 'text-yellow-400' : 'text-accent-coral' }`}> {task.aiScore}分 | {task.submittedAt} |