From 2f6a967029c293b550e5cb8e39de9ae08b345d44 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 08 Jul 2025 18:33:24 +0800
Subject: [PATCH] 1
---
src/router/index.js | 44 +++++++++++++++++++++++++++++++++++++++++---
1 files changed, 41 insertions(+), 3 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 0d1d5f1..9f81204 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -96,6 +96,42 @@
path: "/",
redirect: "/home"
},
+ // #region 7.2 新增路由-------------------------------------
+ // 新首页
+ {
+ path: "/home_index",
+ name: "home_index",
+ meta: {
+ title: i18n.t("hj224"),
+ requireAuth: false,
+ index: 0
+ },
+ component: () => import("@/page/home/homeIndex.vue")
+ },
+ // 市场
+ {
+ path: "/markets",
+ name: "markets",
+ meta: {
+ title: i18n.t("hj62"),
+ requireAuth: false,
+ index: 0
+ },
+ component: () => import("@/page/markets/markets.vue")
+ },
+ // 自选
+ {
+ path: "/watchlists",
+ name: "watchlists",
+ meta: {
+ title: i18n.t("hj61"),
+ requireAuth: false,
+ index: 0
+ },
+ component: () => import("@/page/watchlists/watchlists.vue")
+ },
+ //#endregion
+ //#region 旧路由---------------------------------------------
{
path: "/home",
name: "home",
@@ -665,7 +701,7 @@
path: "/cashlist",
name: "cashlist",
meta: {
- title: 'Withdraw',
+ title: "Withdraw",
requireAuth: false,
hasHeader: false,
index: 56,
@@ -791,7 +827,7 @@
hasHeader: false,
index: 47,
show: true,
- title: i18n.t("hj24"),
+ title: i18n.t("hj24")
},
component: newLogin
},
@@ -1056,7 +1092,8 @@
show: true
},
component: help_wdfw
- },{
+ },
+ {
path: "/help_fwxy",
name: "help_fwxy",
meta: {
@@ -1097,5 +1134,6 @@
path: "*",
redirect: "/home"
}
+ //#endregion
]
});
--
Gitblit v1.9.3