fix: remove commission rate from public shop page
This commit is contained in:
@@ -62,14 +62,7 @@ export default async function ShopPage({ params }: PageProps) {
|
||||
<CardContent className="pt-6">
|
||||
<div className="flex flex-col md:flex-row gap-6 items-start">
|
||||
<div className="flex-1 space-y-4">
|
||||
<div className="flex items-center gap-2">
|
||||
<h2 className="text-2xl font-bold">{shop.name}</h2>
|
||||
<Badge variant="secondary">
|
||||
{shop.commissionType === "percentage"
|
||||
? `抽成 ${shop.commissionValue}%`
|
||||
: `固定抽成 ${shop.commissionValue}`}
|
||||
</Badge>
|
||||
</div>
|
||||
<h2 className="text-2xl font-bold">{shop.name}</h2>
|
||||
<p className="text-muted-foreground">{shop.description}</p>
|
||||
<div className="flex flex-wrap gap-4 text-sm">
|
||||
<div className="flex items-center gap-1">
|
||||
|
||||
Reference in New Issue
Block a user