手机端增加提现功能

This commit is contained in:
yml2213
2026-06-12 21:57:49 +08:00
parent f1ae72cc7a
commit c726659866
5 changed files with 899 additions and 5 deletions
+3
View File
@@ -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
+6
View File
@@ -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',