lty/qy-lty-admin/app/dances/loading.tsx
2026-03-17 13:17:02 +08:00

39 lines
1.3 KiB
TypeScript

import { DashboardHeader } from "@/components/dashboard-header"
import { DashboardShell } from "@/components/dashboard-shell"
import { Card, CardContent, CardHeader } from "@/components/ui/card"
import { Skeleton } from "@/components/ui/skeleton"
export default function DancesLoading() {
return (
<DashboardShell>
<DashboardHeader heading="舞蹈管理" text="管理洛天依的舞蹈库">
<Skeleton className="h-10 w-[120px]" />
</DashboardHeader>
<div className="flex items-center space-y-2 mb-6">
<Skeleton className="h-10 w-[300px]" />
</div>
<Card>
<CardHeader>
<Skeleton className="h-6 w-[200px]" />
<Skeleton className="h-4 w-[300px]" />
</CardHeader>
<CardContent>
<div className="space-y-2">
<Skeleton className="h-10 w-full" />
{Array.from({ length: 5 }).map((_, i) => (
<Skeleton key={i} className="h-16 w-full" />
))}
</div>
<div className="flex items-center justify-between mt-4">
<Skeleton className="h-4 w-[200px]" />
<div className="flex space-x-2">
<Skeleton className="h-8 w-[80px]" />
<Skeleton className="h-8 w-[80px]" />
</div>
</div>
</CardContent>
</Card>
</DashboardShell>
)
}