import { FavoriteButton } from "@/components/favorite-button" import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/components/ui/card" import { Separator } from "@/components/ui/separator" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { listPlayers, listReviewsByTargetUser, listServicesByPlayer } from "@/lib/api" import { CheckCircle, Clock, MapPin, MessageSquare, ShoppingBag, Star } from "lucide-react" import Link from "next/link" import { notFound } from "next/navigation" export default async function PlayerDetailPage({ params }: { params: Promise<{ id: string }> }) { const { id } = await params const player = listPlayers().find((p) => p.id === id) if (!player) { notFound() } const playerReviews = listReviewsByTargetUser(player.id) const playerServices = player.services && player.services.length > 0 ? player.services : listServicesByPlayer(player.id) return (
{player.user.bio || "这个打手很懒,什么都没写~"}
暂无服务
{review.content}
{review.sealed && (暂无评价