feat(seller): 新增移动端卖家中心
This commit is contained in:
@@ -84,6 +84,21 @@ const MobileRealnamePage = lazy(() =>
|
||||
default: module.MobileRealnamePage,
|
||||
}))
|
||||
)
|
||||
const MobileSellerListingsPage = lazy(() =>
|
||||
import('@/features/mobile/MobileSellerListingsPage').then(module => ({
|
||||
default: module.MobileSellerListingsPage,
|
||||
}))
|
||||
)
|
||||
const MobileSellerListingDetailPage = lazy(() =>
|
||||
import('@/features/mobile/MobileSellerListingDetailPage').then(module => ({
|
||||
default: module.MobileSellerListingDetailPage,
|
||||
}))
|
||||
)
|
||||
const MobileSellerFormPage = lazy(() =>
|
||||
import('@/features/mobile/MobileSellerFormPage').then(module => ({
|
||||
default: module.MobileSellerFormPage,
|
||||
}))
|
||||
)
|
||||
const AdminLoginPage = lazy(() =>
|
||||
import('@/features/admin/AdminLoginPage').then(module => ({ default: module.AdminLoginPage }))
|
||||
)
|
||||
@@ -203,6 +218,10 @@ export function AppRouter() {
|
||||
<Route path="messages" element={<MobileMessagesPage />} />
|
||||
<Route path="messages/:id" element={<MobileChatPage />} />
|
||||
<Route path="realname" element={<MobileRealnamePage />} />
|
||||
<Route path="seller/listings" element={<MobileSellerListingsPage />} />
|
||||
<Route path="seller/listings/new" element={<MobileSellerFormPage />} />
|
||||
<Route path="seller/listings/:id" element={<MobileSellerListingDetailPage />} />
|
||||
<Route path="seller/listings/:id/edit" element={<MobileSellerFormPage />} />
|
||||
<Route path="profile" element={<MobileProfilePage />} />
|
||||
</Route>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user