From d37ceed2ad5b94bbfc71a8a4cbdb7b498ddf724d Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 19 Jul 2025 14:14:18 +0800
Subject: [PATCH] 1

---
 src/router/index.js |  205 ++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 169 insertions(+), 36 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 5e8b217..2c16147 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -18,6 +18,7 @@
 import Inquiry from "@/page/home/inquiry";
 // import OrderList from '@/page/user/order-list'
 import Warehouse from "@/page/user/Warehouse.vue";
+import Stockdetail from "@/page/user/Warehouse/Stockdetail.vue";
 import yeb from "@/page/user/yeb.vue";
 import yebs from "@/page/user/yebs.vue";
 import yebs2 from "@/page/user/yebs2.vue";
@@ -32,7 +33,9 @@
 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";
 import RechargeList from "@/page/user/rechargelist";
 import Cash from "@/page/user/cash";
@@ -43,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";
@@ -64,17 +68,23 @@
 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";
 import Subscription from "@/page/home/Subscription.vue"; // VIP抢筹 和 大宗交易
 import sharerecordDz from "@/page/home/sharerecordDz.vue"; // 大宗交易记录
 import vipdetail from "@/page/home/vipdetail.vue"; // vip抢筹详情
-import favorites from "@/page/user/favorites.vue";
+import favorites from "@/page/list/favorites.vue";
+import favoritesList from "@/page/list/favoritesList.vue";
 import help from "@/page/home/help.vue";
 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";
+import smart_intraday from "@/page/home/smart_intraday.vue";
 Vue.use(Router);
 
 const routerPush = Router.prototype.push;
@@ -92,7 +102,7 @@
       name: "home",
       meta: {
         title: i18n.t("hj224"),
-        requireAuth: true,
+        requireAuth: false,
         index: 0
       },
       component: Home
@@ -242,8 +252,8 @@
       path: "/setting",
       name: "setting",
       meta: {
-        title: "设置",
-        requireAuth: false,
+        title: "Setting",
+        requireAuth: true,
         index: 91
       },
       component: setting
@@ -402,7 +412,7 @@
       path: "/yeb",
       name: "yeb",
       meta: {
-        title: "余额宝",
+        title: "yeb",
         requireAuth: true,
         index: 999
       },
@@ -412,7 +422,7 @@
       path: "/subDK",
       name: "subDK",
       meta: {
-        title: "申请贷款",
+        title: i18n.t("贷款"),
         requireAuth: true,
         index: 998
       },
@@ -420,10 +430,20 @@
     },
 
     {
+      path: "/transferindex-list",
+      name: "transferindexList",
+      meta: {
+        title: "划转记录",
+        requireAuth: true,
+        index: 3020
+      },
+      component: transferindexList
+    },
+    {
       path: "/yebs",
       name: "yebs",
       meta: {
-        title: "余额宝记录",
+        title: "yebs—history",
         requireAuth: true,
         index: 1000
       },
@@ -455,11 +475,22 @@
       name: "Warehouse",
       meta: {
         title: i18n.t("hj2"),
-        requireAuth: false,
+        requireAuth: true,
         hasHeader: false,
         index: 22
       },
       component: Warehouse
+    },
+    {
+      path: "/Stockdetail",
+      name: "Stockdetail",
+      meta: {
+        title: i18n.t("订单详情"),
+        requireAuth: true,
+        hasHeader: false,
+        index: 22
+      },
+      component: Stockdetail
     },
     {
       path: "/holdorderlist",
@@ -552,7 +583,7 @@
       path: "/recharge",
       name: "recharge",
       meta: {
-        // requireAuth: false,
+        requireAuth: true,
         show: true
         // title: "充值"
         // requireAuth: true,
@@ -561,14 +592,28 @@
       },
       component: Recharge
     },
+
+    {
+      path: "/recharges",
+      name: "recharges",
+      meta: {
+        requireAuth: true,
+        show: true
+        // title: "充值"
+        // requireAuth: true,
+        // hasHeader: true,
+        // index: 31
+      },
+      component: recharges
+    },
     {
       path: "/transferIndex",
       name: "transferIndex",
       meta: {
         // requireAuth: false,
-        show: true
+        show: true,
         // title: "充值"
-        // requireAuth: true,
+        requireAuth: true
         // hasHeader: true,
         // index: 31
       },
@@ -578,6 +623,8 @@
       path: "/rechargeSure",
       name: "rechargeSure",
       meta: {
+        title: "RechargeSure",
+        requireAuth: true,
         show: true
       },
       component: RechargeSure
@@ -586,10 +633,10 @@
       path: "/rechargelist",
       name: "rechargelist",
       meta: {
-        title: "充值记录",
-        requireAuth: true,
-        hasHeader: true,
-        index: 33
+        requireAuth: false,
+        hasHeader: false,
+        index: 56,
+        show: true
       },
       component: RechargeList
     },
@@ -619,10 +666,11 @@
       path: "/cashlist",
       name: "cashlist",
       meta: {
-        title: "提现记录",
-        requireAuth: true,
-        hasHeader: true,
-        index: 36
+        title: 'Withdraw',
+        requireAuth: false,
+        hasHeader: false,
+        index: 56,
+        show: true
       },
       component: Cashlist
     },
@@ -641,7 +689,7 @@
       name: "agree",
       meta: {
         title: "注册协议",
-        requireAuth: true,
+        requireAuth: false,
         index: 38
       },
       component: Agree
@@ -660,8 +708,9 @@
       path: "/alertdetail",
       name: "alertdetail",
       meta: {
-        title: "公告详情",
+        title: "Announcement details",
         requireAuth: true,
+        hasHeader: true,
         index: 40
       },
       component: Alertdetail
@@ -739,11 +788,11 @@
       path: "/login",
       name: "newLogin",
       meta: {
-        title: i18n.t("hj248"),
         requireAuth: false,
         hasHeader: false,
         index: 47,
-        show: true
+        show: true,
+        title: i18n.t("hj24"),
       },
       component: newLogin
     },
@@ -776,7 +825,7 @@
       name: "TradingBuy",
       meta: {
         title: i18n.t("hj237"),
-        requireAuth: false,
+        requireAuth: true,
         hasHeader: false,
         index: 50,
         show: true
@@ -788,7 +837,7 @@
       name: "NewUser",
       meta: {
         title: i18n.t("hj243"),
-        requireAuth: false,
+        requireAuth: true,
         hasHeader: false,
         index: 51
       },
@@ -878,6 +927,42 @@
       component: BankCard
     },
     {
+      path: "/bankCard1",
+      name: "bankCard1",
+      meta: {
+        title: i18n.t("关于我们"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 57,
+        show: true
+      },
+      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: {
@@ -901,17 +986,30 @@
       },
       component: chongz
     },
-    // {
-    //   path: "/favorites",
-    //   name: "Favorites",
-    //   meta: {
-    //     title: i18n.t("hj2"),
-    //     requireAuth: false,
-    //     hasHeader: false,
-    //     index: 58
-    //   },
-    //   component: favorites
-    // },
+    {
+      path: "/favorites",
+      name: "Favorites",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 58,
+        show: true
+      },
+      component: favorites
+    },
+    {
+      path: "/favoritesList",
+      name: "favoritesList",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 58,
+        show: true
+      },
+      component: favoritesList
+    },
     {
       path: "/help",
       name: "help",
@@ -959,6 +1057,17 @@
         show: true
       },
       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",
@@ -973,6 +1082,30 @@
       component: new_service
     },
     {
+      path: "/Record",
+      name: "Record",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 62,
+        show: true
+      },
+      component: Record
+    },
+    {
+      path: "/smart_intraday",
+      name: "smart_intraday",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 64,
+        show: true
+      },
+      component: smart_intraday
+    },
+    {
       // 会匹配所有路径
       path: "*",
       redirect: "/home"

--
Gitblit v1.9.3