style(dashboard): apply proto2 surfaces
This commit is contained in:
@@ -54,11 +54,11 @@ export default function ShopIncomePage() {
|
||||
})
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="container mx-auto max-w-6xl px-4 py-8 space-y-8">
|
||||
<h1 className="text-2xl font-bold">收入统计</h1>
|
||||
|
||||
<div className="grid gap-4 sm:grid-cols-3">
|
||||
<Card>
|
||||
<Card className="hover:shadow-[var(--shadow-card)]">
|
||||
<CardHeader className="flex flex-row items-center justify-between pb-2">
|
||||
<CardTitle className="text-sm font-medium">总收入</CardTitle>
|
||||
<DollarSign className="h-4 w-4 text-muted-foreground" />
|
||||
@@ -67,7 +67,7 @@ export default function ShopIncomePage() {
|
||||
<div className="text-2xl font-bold">¥{totalIncome.toFixed(2)}</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card>
|
||||
<Card className="hover:shadow-[var(--shadow-card)]">
|
||||
<CardHeader className="flex flex-row items-center justify-between pb-2">
|
||||
<CardTitle className="text-sm font-medium">本月收入</CardTitle>
|
||||
<CreditCard className="h-4 w-4 text-muted-foreground" />
|
||||
@@ -76,7 +76,7 @@ export default function ShopIncomePage() {
|
||||
<div className="text-2xl font-bold">¥{thisMonthIncome.toFixed(2)}</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card>
|
||||
<Card className="hover:shadow-[var(--shadow-card)]">
|
||||
<CardHeader className="flex flex-row items-center justify-between pb-2">
|
||||
<CardTitle className="text-sm font-medium">待结算</CardTitle>
|
||||
<ArrowUpRight className="h-4 w-4 text-muted-foreground" />
|
||||
@@ -87,7 +87,7 @@ export default function ShopIncomePage() {
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
<Card>
|
||||
<Card className="hover:shadow-[var(--shadow-card)]">
|
||||
<CardHeader>
|
||||
<CardTitle>交易明细</CardTitle>
|
||||
</CardHeader>
|
||||
|
||||
Reference in New Issue
Block a user