feat: 添加新的路由配置,包括检查、主页、KYC、推荐和新闻页面

This commit is contained in:
2026-01-20 04:21:16 +07:00
parent ddef423fdf
commit a00852fa6f

View File

@@ -39,6 +39,24 @@ export const generatedRoutes: GeneratedRoute[] = [
hideInMenu: true
}
},
{
name: 'check',
path: '/check',
component: 'layout.base$view.check',
meta: {
title: 'check',
i18nKey: 'route.check'
}
},
{
name: 'home',
path: '/home',
component: 'layout.base$view.home',
meta: {
title: 'home',
i18nKey: 'route.home'
}
},
{
name: 'iframe-page',
path: '/iframe-page/:url',
@@ -52,6 +70,15 @@ export const generatedRoutes: GeneratedRoute[] = [
keepAlive: true
}
},
{
name: 'kyc',
path: '/kyc',
component: 'layout.base$view.kyc',
meta: {
title: 'kyc',
i18nKey: 'route.kyc'
}
},
{
name: 'login',
path: '/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?',
@@ -65,21 +92,12 @@ export const generatedRoutes: GeneratedRoute[] = [
}
},
{
name: 'home',
path: '/home',
component: 'layout.base$view.home',
name: 'news',
path: '/news',
component: 'layout.base$view.news',
meta: {
title: 'home',
i18nKey: 'route.home'
}
},
{
name: 'kyc',
path: '/kyc',
component: 'layout.base$view.kyc',
meta: {
title: 'kyc',
i18nKey: 'route.kyc'
title: 'news',
i18nKey: 'route.news'
}
},
{
@@ -91,6 +109,15 @@ export const generatedRoutes: GeneratedRoute[] = [
i18nKey: 'route.product'
}
},
{
name: 'referral',
path: '/referral',
component: 'layout.base$view.referral',
meta: {
title: 'referral',
i18nKey: 'route.referral'
}
},
{
name: 'user',
path: '/user',
@@ -100,15 +127,6 @@ export const generatedRoutes: GeneratedRoute[] = [
i18nKey: 'route.user'
}
},
{
name: 'check',
path: '/check',
component: 'layout.base$view.check',
meta: {
title: 'check',
i18nKey: 'route.check'
}
},
{
name: 'wallet',
path: '/wallet',
@@ -126,23 +144,5 @@ export const generatedRoutes: GeneratedRoute[] = [
title: 'withdraw',
i18nKey: 'route.withdraw'
}
},
{
name: 'referral',
path: '/referral',
component: 'layout.base$view.referral',
meta: {
title: 'referral',
i18nKey: 'route.referral'
}
},
{
name: 'news',
path: '/news',
component: 'layout.base$view.news',
meta: {
title: 'news',
i18nKey: 'route.news'
}
},
}
];