import { Card, CardContent } from "@/components/ui/card" import { formatNumber, getGrowthClass } from "@/lib/utils" import { ArrowDown, ArrowUp, Users, UserCheck, Star, TrendingUp } from "lucide-react" export function UserPoolStats() { // 这里应该从API获取实际数据 const stats = [ { title: "总用户数", value: 125689, change: 12.5, icon: , }, { title: "活跃用户", value: 78452, change: 8.3, icon: , }, { title: "高价值用户", value: 12458, change: 15.2, icon: , }, { title: "转化率", value: 12.5, change: -2.3, icon: , isPercentage: true, }, ] return (
{stats.map((stat) => (
{stat.icon}
{stat.change > 0 ? : } {Math.abs(stat.change)}%

{stat.title}

{stat.isPercentage ? `${stat.value}%` : formatNumber(stat.value)}

))}
) }