feat(admin): 新增后台订单列表与详情抽屉

This commit is contained in:
yml2213
2026-10-30 12:36:02 +08:00
parent ef01486e53
commit 17b985a4a4
17 changed files with 1656 additions and 6 deletions
+6 -1
View File
@@ -48,6 +48,11 @@ const AdminDashboardPage = lazy(() =>
default: module.AdminDashboardPage,
}))
)
const AdminOrdersPage = lazy(() =>
import('@/features/admin/AdminOrdersPage').then(module => ({
default: module.AdminOrdersPage,
}))
)
const AdminLayout = lazy(() =>
import('@/layouts/AdminLayout').then(module => ({ default: module.AdminLayout }))
)
@@ -56,7 +61,6 @@ const AdminSectionPlaceholder = lazy(() =>
)
const adminSections: Array<{ path: string; title: string; description: string }> = [
{ path: 'orders', title: '订单管理', description: '查看全量订单、交接记录与结账状态。' },
{ path: 'orders/refund-review', title: '退款审核', description: '审核退款申请并核对资金影响。' },
{ path: 'disputes', title: '申诉仲裁', description: '处理订单争议、证据与仲裁结果。' },
{ path: 'listings', title: '商品管理', description: '查看商品、账号资产与上下架状态。' },
@@ -113,6 +117,7 @@ export function AppRouter() {
<Route path="change-password" element={<AdminChangePasswordPage />} />
<Route element={<AdminLayout />}>
<Route index element={<AdminDashboardPage />} />
<Route path="orders" element={<AdminOrdersPage />} />
{adminSections.map(section => (
<Route
key={section.path}