feat(ui): unify content shell layout
This commit is contained in:
@@ -197,7 +197,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState title="争议加载中" icon={Clock} />
|
||||
</div>
|
||||
)
|
||||
@@ -205,7 +205,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
|
||||
|
||||
if (!order) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState title="订单不存在" description="无法找到对应订单。" icon={FileText} />
|
||||
</div>
|
||||
)
|
||||
@@ -216,7 +216,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
|
||||
)
|
||||
if (!isParticipant) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState
|
||||
title="无法访问争议页面"
|
||||
description="仅该订单参与方可访问争议页面。"
|
||||
@@ -474,7 +474,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
|
||||
|
||||
if (showSubmitted) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState
|
||||
title="争议已提交,请等待平台处理"
|
||||
description={`平台将在约 ${Math.floor(DISPUTE_TO_RESOLVED_MS / 1000)} 秒内给出模拟处理结果。`}
|
||||
@@ -490,7 +490,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8 space-y-4">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8 space-y-4">
|
||||
<Link
|
||||
href={`/order/${id}`}
|
||||
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground"
|
||||
|
||||
Reference in New Issue
Block a user