feat(user): 新增邀请落地页与移动端注册引导
This commit is contained in:
@@ -80,6 +80,11 @@ const InvitationsPage = lazy(() =>
|
||||
default: module.InvitationsPage,
|
||||
}))
|
||||
)
|
||||
const InviteLandingPage = lazy(() =>
|
||||
import('@/features/invitations/InviteLandingPage').then(module => ({
|
||||
default: module.InviteLandingPage,
|
||||
}))
|
||||
)
|
||||
const MessagesPage = lazy(() =>
|
||||
import('@/features/messages/MessagesPage').then(module => ({ default: module.MessagesPage }))
|
||||
)
|
||||
@@ -125,6 +130,16 @@ const MobileInvitationsPage = lazy(() =>
|
||||
default: module.MobileInvitationsPage,
|
||||
}))
|
||||
)
|
||||
const MobileRegisterPage = lazy(() =>
|
||||
import('@/features/mobile/MobileRegisterPage').then(module => ({
|
||||
default: module.MobileRegisterPage,
|
||||
}))
|
||||
)
|
||||
const MobileAddHomeGuidePage = lazy(() =>
|
||||
import('@/features/mobile/MobileAddHomeGuidePage').then(module => ({
|
||||
default: module.MobileAddHomeGuidePage,
|
||||
}))
|
||||
)
|
||||
const MobileOrdersPage = lazy(() =>
|
||||
import('@/features/mobile/MobileOrdersPage').then(module => ({
|
||||
default: module.MobileOrdersPage,
|
||||
@@ -428,6 +443,7 @@ export function AppRouter() {
|
||||
</Route>
|
||||
|
||||
<Route path="/login" element={<LoginPage />} />
|
||||
<Route path="/i/:code" element={<InviteLandingPage />} />
|
||||
<Route path="/m/login" element={<LoginPage />} />
|
||||
|
||||
<Route path="/m" element={<MobileLayout />}>
|
||||
@@ -448,6 +464,8 @@ export function AppRouter() {
|
||||
<Route path="announcements" element={<MobileAnnouncementsPage />} />
|
||||
<Route path="notifications" element={<MobileNotificationsPage />} />
|
||||
<Route path="invitations" element={<MobileInvitationsPage />} />
|
||||
<Route path="register" element={<MobileRegisterPage />} />
|
||||
<Route path="add-home-guide" element={<MobileAddHomeGuidePage />} />
|
||||
</Route>
|
||||
|
||||
<Route path={`${adminBase}/login`} element={<AdminLoginPage />} />
|
||||
|
||||
Reference in New Issue
Block a user