From 58dc001146957637eb12d65b53fe3dbe3947474d Mon Sep 17 00:00:00 2001 From: zetaloop Date: Sun, 26 Apr 2026 01:53:15 +0800 Subject: [PATCH] feat(ui): unify content shell layout --- app/(account)/layout.tsx | 6 +++--- app/(account)/notifications/page.tsx | 2 +- app/(account)/settings/page.tsx | 2 +- app/(account)/verify/page.tsx | 2 +- app/(account)/wallet/page.tsx | 2 +- app/(dashboard)/layout.tsx | 4 ++-- app/(main)/layout.tsx | 2 +- app/(order)/chat/[id]/page.tsx | 2 +- app/(order)/dispute/[id]/page.tsx | 10 +++++----- app/(order)/layout.tsx | 6 ++---- app/(order)/order/[id]/page.tsx | 2 +- app/(order)/order/new/page.tsx | 6 +++--- app/(order)/orders/page.tsx | 8 ++++---- app/(order)/review/[id]/page.tsx | 12 ++++++------ components/account-sidebar.tsx | 2 +- components/dashboard-sidebar.tsx | 13 +++++++++---- 16 files changed, 42 insertions(+), 39 deletions(-) diff --git a/app/(account)/layout.tsx b/app/(account)/layout.tsx index 12fc92e..85ec160 100644 --- a/app/(account)/layout.tsx +++ b/app/(account)/layout.tsx @@ -4,13 +4,13 @@ import { Header } from "@/components/header" export default function AccountLayout({ children }: { children: React.ReactNode }) { return ( -
+
-
+
-
+
{children}
diff --git a/app/(account)/notifications/page.tsx b/app/(account)/notifications/page.tsx index 4638645..7ef277e 100644 --- a/app/(account)/notifications/page.tsx +++ b/app/(account)/notifications/page.tsx @@ -223,7 +223,7 @@ export default function NotificationsPage() { ) return ( -
+

通知中心

diff --git a/app/(account)/settings/page.tsx b/app/(account)/settings/page.tsx index 2b48d7d..05e414c 100644 --- a/app/(account)/settings/page.tsx +++ b/app/(account)/settings/page.tsx @@ -94,7 +94,7 @@ export default function SettingsPage() { } return ( -
+

个人设置

diff --git a/app/(account)/verify/page.tsx b/app/(account)/verify/page.tsx index bf0b2db..07197ab 100644 --- a/app/(account)/verify/page.tsx +++ b/app/(account)/verify/page.tsx @@ -156,7 +156,7 @@ export default function VerifyPage() { } return ( -
+

身份认证

diff --git a/app/(account)/wallet/page.tsx b/app/(account)/wallet/page.tsx index 95e87cc..8daecc3 100644 --- a/app/(account)/wallet/page.tsx +++ b/app/(account)/wallet/page.tsx @@ -202,7 +202,7 @@ export default function WalletPage() { } return ( -
+

钱包

diff --git a/app/(dashboard)/layout.tsx b/app/(dashboard)/layout.tsx index 398031a..a01d573 100644 --- a/app/(dashboard)/layout.tsx +++ b/app/(dashboard)/layout.tsx @@ -7,9 +7,9 @@ import { RoleGuard } from "@/components/role-guard" export default function DashboardLayout({ children }: { children: React.ReactNode }) { return ( -
+
-
+
diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx index b8d4708..2a4d846 100644 --- a/app/(main)/layout.tsx +++ b/app/(main)/layout.tsx @@ -3,7 +3,7 @@ import { Header } from "@/components/header" export default function MainLayout({ children }: { children: React.ReactNode }) { return ( -
+
{children}