|
|
@@ -14,7 +14,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('@mobile/views/error/404.vue'),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: '/boot',
|
|
|
@@ -22,7 +22,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('../views/boot/index.vue'),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: '/privacy',
|
|
|
@@ -30,7 +30,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('@mobile/views/rules/yszc/home.vue'),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: '/register',
|
|
|
@@ -80,10 +80,10 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: 'wallet',
|
|
|
name: 'home-wallet',
|
|
|
component: () => import('../views/wallet/index.vue'),
|
|
|
- },
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/spot',
|
|
|
@@ -103,7 +103,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: 'goods/chart',
|
|
|
name: 'spot-goods-chart',
|
|
|
component: () => import('../views/spot/goods/chart/index.vue'),
|
|
|
- },
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -124,7 +124,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: 'goods/chart',
|
|
|
name: 'contract-goods-chart',
|
|
|
component: () => import('../views/contract/goods/chart/index.vue'),
|
|
|
- },
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -132,9 +132,22 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: Page,
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'transfer',
|
|
|
- name: 'wallet-transfer',
|
|
|
- component: () => import('../views/wallet/transfer/index.vue'),
|
|
|
+ path: 'deposit/currency',
|
|
|
+ name: 'wallet-deposit-currency',
|
|
|
+ component: () => import('../views/wallet/currency/index.vue'),
|
|
|
+ props: {
|
|
|
+ title: '充值',
|
|
|
+ routeName: 'wallet-deposit'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'withdraw/currency',
|
|
|
+ name: 'wallet-withdraw-currency',
|
|
|
+ component: () => import('../views/wallet/currency/index.vue'),
|
|
|
+ props: {
|
|
|
+ title: '提现',
|
|
|
+ routeName: 'wallet-withdraw'
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: 'deposit',
|
|
|
@@ -142,10 +155,15 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('../views/wallet/deposit/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
- path: 'deposit',
|
|
|
+ path: 'withdraw',
|
|
|
name: 'wallet-withdraw',
|
|
|
component: () => import('../views/wallet/withdraw/index.vue'),
|
|
|
},
|
|
|
+ {
|
|
|
+ path: 'transfer',
|
|
|
+ name: 'wallet-transfer',
|
|
|
+ component: () => import('../views/wallet/transfer/index.vue'),
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -204,8 +222,8 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: 'avatar',
|
|
|
name: 'user-avatar',
|
|
|
component: () => import('@mobile/views/user/avatar/Index.vue'),
|
|
|
- },
|
|
|
- ],
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/account',
|
|
|
@@ -226,7 +244,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
name: 'account-protocol',
|
|
|
component: () => import('../../sbyj/views/account/protocol/Index.vue'),
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/news',
|
|
|
@@ -238,7 +256,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('@mobile/views/news/list/Index.vue'),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: 'detail',
|
|
|
@@ -246,9 +264,9 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import('@mobile/views/news/detail/Index.vue'),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/bank',
|
|
|
@@ -269,7 +287,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
name: 'bank-capital',
|
|
|
component: () => import('@mobile/views/bank/capital/index.vue'),
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/order',
|
|
|
@@ -340,7 +358,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
name: 'mine-email',
|
|
|
component: () => import('@mobile/views/mine/email/Index.vue'),
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/notice',
|
|
|
@@ -350,8 +368,8 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
path: '',
|
|
|
name: 'notice-list',
|
|
|
component: () => import('@mobile/views/notice/list/index.vue'),
|
|
|
- },
|
|
|
- ],
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/rules',
|
|
|
@@ -363,7 +381,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import("@mobile/views/rules/zcxy/Index.vue"),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: "yhkhfxgzs",
|
|
|
@@ -371,7 +389,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import("@mobile/views/rules/fxgzs/Index.vue"),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: "yszc",
|
|
|
@@ -379,7 +397,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import("@mobile/views/rules/yszc/Index.vue"),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: "gywm",
|
|
|
@@ -387,7 +405,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import("@mobile/views/rules/gywm/Index.vue"),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
path: "fwrx",
|
|
|
@@ -395,8 +413,8 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
component: () => import("@mobile/views/rules/fwrx/Index.vue"),
|
|
|
meta: {
|
|
|
ignoreAuth: true,
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
},
|
|
|
]
|