From a00852fa6fb2382952d368bcb0e02b33ae877674 Mon Sep 17 00:00:00 2001 From: Seven Date: Tue, 20 Jan 2026 04:21:16 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=8C=85=E6=8B=AC?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E3=80=81=E4=B8=BB=E9=A1=B5=E3=80=81KYC?= =?UTF-8?q?=E3=80=81=E6=8E=A8=E8=8D=90=E5=92=8C=E6=96=B0=E9=97=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/elegant/routes.ts | 84 ++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index dc8c874..0554e09 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -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' - } - }, + } ];