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 |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 109 insertions(+), 2 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 4eaf584..9f81204 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -33,6 +33,7 @@
 import Authentication from "@/page/user/authentication";
 import Aggre from "@/page/user/agreement";
 import Recharge from "@/page/user/recharge";
+import recharges from "@/page/user/recharges";
 import RransferIndex from "@/page/user/ransferIndex";
 import transferindexList from "@/page/user//compontents/transferindex-list";
 import RechargeSure from "@/page/user/recharge-sure";
@@ -45,6 +46,7 @@
 import IndexList from "@/page/list/index-list";
 import setting from "@/page/newUser/setting";
 import indexBuy from "@/page/home/index-buy";
+import Record from "@/page/home/Record";
 import TwoBuy from "@/page/home/two-buy";
 import SubWarehouseBuy from "@/page/home/sub-warehouse-buy";
 import futuresBuy from "@/page/home/futures-buy";
@@ -66,6 +68,8 @@
 import Transfers from "@/page/transfer/index.vue";
 import Authentications from "@/page/authentication/index.vue";
 import BankCard from "@/page/bankCard/index.vue";
+import banklist from "@/page/bankCard/banklist.vue";
+import updatabank from "@/page/bankCard/updatabank.vue";
 import BankCard1 from "@/page/bankCard1/index.vue";
 import service from "@/page/service/service.vue";
 import chongz from "@/page/service/chongz.vue";
@@ -78,6 +82,7 @@
 import help_html from "@/page/home/help_html.vue";
 import help_fxkz from "@/page/home/help_fxkz.vue";
 import help_wdfw from "@/page/home/help_wdfw.vue";
+import help_fwxy from "@/page/home/help_fwxy.vue";
 import new_service from "@/page/home/new_service.vue";
 Vue.use(Router);
 
@@ -91,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",
@@ -416,7 +457,7 @@
       path: "/subDK",
       name: "subDK",
       meta: {
-        title: "申请贷款",
+        title: i18n.t("贷款"),
         requireAuth: true,
         index: 998
       },
@@ -586,6 +627,20 @@
       },
       component: Recharge
     },
+
+    {
+      path: "/recharges",
+      name: "recharges",
+      meta: {
+        requireAuth: true,
+        show: true
+        // title: "充值"
+        // requireAuth: true,
+        // hasHeader: true,
+        // index: 31
+      },
+      component: recharges
+    },
     {
       path: "/transferIndex",
       name: "transferIndex",
@@ -603,6 +658,7 @@
       path: "/rechargeSure",
       name: "rechargeSure",
       meta: {
+        title: "RechargeSure",
         requireAuth: true,
         show: true
       },
@@ -645,6 +701,7 @@
       path: "/cashlist",
       name: "cashlist",
       meta: {
+        title: "Withdraw",
         requireAuth: false,
         hasHeader: false,
         index: 56,
@@ -769,7 +826,8 @@
         requireAuth: false,
         hasHeader: false,
         index: 47,
-        show: true
+        show: true,
+        title: i18n.t("hj24")
       },
       component: newLogin
     },
@@ -916,6 +974,30 @@
       component: BankCard1
     },
     {
+      path: "/banklist",
+      name: "banklist",
+      meta: {
+        title: i18n.t("hj247"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 57,
+        show: true
+      },
+      component: banklist
+    },
+    {
+      path: "/updatabank",
+      name: "updatabank",
+      meta: {
+        title: i18n.t("hj247"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 57,
+        show: true
+      },
+      component: updatabank
+    },
+    {
       path: "/service",
       name: "service",
       meta: {
@@ -1012,6 +1094,18 @@
       component: help_wdfw
     },
     {
+      path: "/help_fwxy",
+      name: "help_fwxy",
+      meta: {
+        title: i18n.t("《用戶服務協議》"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 61,
+        show: true
+      },
+      component: help_fwxy
+    },
+    {
       path: "/new_service",
       name: "new_service",
       meta: {
@@ -1024,9 +1118,22 @@
       component: new_service
     },
     {
+      path: "/Record",
+      name: "Record",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 62,
+        show: true
+      },
+      component: Record
+    },
+    {
       // 会匹配所有路径
       path: "*",
       redirect: "/home"
     }
+    //#endregion
   ]
 });

--
Gitblit v1.9.3