feat: init
This commit is contained in:
@@ -20,21 +20,5 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
|
||||
500: () => import("@/views/_builtin/500/index.vue"),
|
||||
"iframe-page": () => import("@/views/_builtin/iframe-page/[url].vue"),
|
||||
login: () => import("@/views/_builtin/login/index.vue"),
|
||||
asset: () => import("@/views/asset/index.vue"),
|
||||
bank: () => import("@/views/bank/index.vue"),
|
||||
deposit_fiat: () => import("@/views/deposit/fiat/index.vue"),
|
||||
home: () => import("@/views/home/index.vue"),
|
||||
news: () => import("@/views/news/index.vue"),
|
||||
notification: () => import("@/views/notification/index.vue"),
|
||||
robot_spot: () => import("@/views/robot/spot/index.vue"),
|
||||
rwa_product: () => import("@/views/rwa/product/index.vue"),
|
||||
rwa_producttype: () => import("@/views/rwa/productType/index.vue"),
|
||||
rwa_subscribe: () => import("@/views/rwa/subscribe/index.vue"),
|
||||
tokenization_product: () => import("@/views/tokenization/product/index.vue"),
|
||||
"tokenization_trading-pairs": () => import("@/views/tokenization/trading-pairs/index.vue"),
|
||||
transfer: () => import("@/views/transfer/index.vue"),
|
||||
user_bankcard: () => import("@/views/user/bankcard/index.vue"),
|
||||
user_list: () => import("@/views/user/list/index.vue"),
|
||||
withdraw_approved: () => import("@/views/withdraw/approved/index.vue"),
|
||||
withdraw_fiat: () => import("@/views/withdraw/fiat/index.vue"),
|
||||
};
|
||||
|
||||
@@ -39,56 +39,13 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'asset',
|
||||
path: '/asset',
|
||||
component: 'layout.base$view.asset',
|
||||
meta: {
|
||||
title: 'asset',
|
||||
i18nKey: 'route.asset',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'bank',
|
||||
path: '/bank',
|
||||
component: 'layout.base$view.bank',
|
||||
meta: {
|
||||
title: 'bank',
|
||||
i18nKey: 'route.bank',
|
||||
order: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'deposit',
|
||||
path: '/deposit',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'deposit',
|
||||
i18nKey: 'route.deposit',
|
||||
order: 5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'deposit_fiat',
|
||||
path: '/deposit/fiat',
|
||||
component: 'view.deposit_fiat',
|
||||
meta: {
|
||||
title: 'deposit_fiat',
|
||||
i18nKey: 'route.deposit_fiat'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'home',
|
||||
path: '/home',
|
||||
component: 'layout.base$view.home',
|
||||
meta: {
|
||||
title: 'home',
|
||||
i18nKey: 'route.home',
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
order: 1
|
||||
i18nKey: 'route.home'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -115,187 +72,5 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
constant: true,
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'news',
|
||||
path: '/news',
|
||||
component: 'layout.base$view.news',
|
||||
meta: {
|
||||
title: 'news',
|
||||
i18nKey: 'route.news',
|
||||
order: 8
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'notification',
|
||||
path: '/notification',
|
||||
component: 'layout.base$view.notification',
|
||||
meta: {
|
||||
title: 'notification',
|
||||
i18nKey: 'route.notification',
|
||||
order: 9
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'robot',
|
||||
path: '/robot',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'robot',
|
||||
i18nKey: 'route.robot',
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'robot_spot',
|
||||
path: '/robot/spot',
|
||||
component: 'view.robot_spot',
|
||||
meta: {
|
||||
title: 'robot_spot',
|
||||
i18nKey: 'route.robot_spot'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'rwa',
|
||||
path: '/rwa',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'rwa',
|
||||
i18nKey: 'route.rwa',
|
||||
order: 5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'rwa_product',
|
||||
path: '/rwa/product',
|
||||
component: 'view.rwa_product',
|
||||
meta: {
|
||||
title: 'rwa_product',
|
||||
i18nKey: 'route.rwa_product'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'rwa_producttype',
|
||||
path: '/rwa/producttype',
|
||||
component: 'view.rwa_producttype',
|
||||
meta: {
|
||||
title: 'rwa_producttype',
|
||||
i18nKey: 'route.rwa_producttype'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'rwa_subscribe',
|
||||
path: '/rwa/subscribe',
|
||||
component: 'view.rwa_subscribe',
|
||||
meta: {
|
||||
title: 'rwa_subscribe',
|
||||
i18nKey: 'route.rwa_subscribe'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'tokenization',
|
||||
path: '/tokenization',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: '代币化管理',
|
||||
i18nKey: 'route.tokenization',
|
||||
order: 6
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'tokenization_product',
|
||||
path: '/tokenization/product',
|
||||
component: 'view.tokenization_product',
|
||||
meta: {
|
||||
title: '代币化产品',
|
||||
i18nKey: 'route.tokenization_product'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'tokenization_trading-pairs',
|
||||
path: '/tokenization/trading-pairs',
|
||||
component: 'view.tokenization_trading-pairs',
|
||||
meta: {
|
||||
title: 'tokenization_trading-pairs',
|
||||
i18nKey: 'route.tokenization_trading-pairs'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'transfer',
|
||||
path: '/transfer',
|
||||
component: 'layout.base$view.transfer',
|
||||
meta: {
|
||||
title: 'transfer',
|
||||
i18nKey: 'route.transfer',
|
||||
order: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user',
|
||||
path: '/user',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'user',
|
||||
i18nKey: 'route.user',
|
||||
order: 4
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'user_bankcard',
|
||||
path: '/user/bankcard',
|
||||
component: 'view.user_bankcard',
|
||||
meta: {
|
||||
title: 'user_bankcard',
|
||||
i18nKey: 'route.user_bankcard'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user_list',
|
||||
path: '/user/list',
|
||||
component: 'view.user_list',
|
||||
meta: {
|
||||
title: 'user_list',
|
||||
i18nKey: 'route.user_list'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'withdraw',
|
||||
path: '/withdraw',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'withdraw',
|
||||
i18nKey: 'route.withdraw',
|
||||
order: 3
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'withdraw_approved',
|
||||
path: '/withdraw/approved',
|
||||
component: 'view.withdraw_approved',
|
||||
meta: {
|
||||
title: 'withdraw_approved',
|
||||
i18nKey: 'route.withdraw_approved',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'withdraw_fiat',
|
||||
path: '/withdraw/fiat',
|
||||
component: 'view.withdraw_fiat',
|
||||
meta: {
|
||||
title: 'withdraw_fiat',
|
||||
i18nKey: 'route.withdraw_fiat',
|
||||
order: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
@@ -166,31 +166,9 @@ const routeMap: RouteMap = {
|
||||
"403": "/403",
|
||||
"404": "/404",
|
||||
"500": "/500",
|
||||
"asset": "/asset",
|
||||
"bank": "/bank",
|
||||
"deposit": "/deposit",
|
||||
"deposit_fiat": "/deposit/fiat",
|
||||
"home": "/home",
|
||||
"iframe-page": "/iframe-page/:url",
|
||||
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?",
|
||||
"news": "/news",
|
||||
"notification": "/notification",
|
||||
"robot": "/robot",
|
||||
"robot_spot": "/robot/spot",
|
||||
"rwa": "/rwa",
|
||||
"rwa_product": "/rwa/product",
|
||||
"rwa_producttype": "/rwa/producttype",
|
||||
"rwa_subscribe": "/rwa/subscribe",
|
||||
"tokenization": "/tokenization",
|
||||
"tokenization_product": "/tokenization/product",
|
||||
"tokenization_trading-pairs": "/tokenization/trading-pairs",
|
||||
"transfer": "/transfer",
|
||||
"user": "/user",
|
||||
"user_bankcard": "/user/bankcard",
|
||||
"user_list": "/user/list",
|
||||
"withdraw": "/withdraw",
|
||||
"withdraw_approved": "/withdraw/approved",
|
||||
"withdraw_fiat": "/withdraw/fiat"
|
||||
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?"
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user