手机端增加提现功能
This commit is contained in:
@@ -41,6 +41,8 @@ export function getMobilePath(path: string): string {
|
||||
}
|
||||
|
||||
// PC-only views that don't have mobile counterparts go to mobile profile as fallback
|
||||
if (path === '/wallet/withdrawal') return '/m/wallet/withdrawal'
|
||||
|
||||
if (path === '/wallet' || path === '/notifications' || path.startsWith('/seller')) {
|
||||
return '/m/profile'
|
||||
}
|
||||
@@ -68,6 +70,7 @@ export function getPcPath(path: string): string {
|
||||
if (subPath === '/login') return '/login'
|
||||
if (subPath === '/register') return '/login' // PC uses /login for both auth actions
|
||||
if (subPath === '/realname') return '/realname'
|
||||
if (subPath === '/wallet/withdrawal') return '/wallet/withdrawal'
|
||||
if (subPath === '/seller/listings/create') return '/seller/listings/create'
|
||||
if (subPath.startsWith('/seller/listings/') && subPath.endsWith('/edit')) return subPath
|
||||
|
||||
|
||||
@@ -67,6 +67,12 @@ export const mobileRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/auth/views/MobileProfileView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/wallet/withdrawal',
|
||||
name: 'mobile-withdrawal',
|
||||
component: () => import('@/features/wallet/views/MobileWithdrawalView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/orders',
|
||||
name: 'mobile-orders',
|
||||
|
||||
Reference in New Issue
Block a user