From 1b8ed300551b88bd86b80b8dfa52d2d6c2b7fdb2 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sun, 24 Aug 2025 14:45:52 +0800
Subject: [PATCH] 1

---
 src/router/index.js | 1253 ++++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 931 insertions(+), 322 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index fb169a3..55fb04f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,109 +1,402 @@
-import Vue from 'vue'
-import Router from 'vue-router'
-import Home from '@/page/home/home'
-import Buy from '@/page/home/buy'
-import Alertdetail from '@/page/home/components/alert' // 公告详情
-import Register from '@/page/register'
-import Forget from '@/page/forget'
-import Login from '@/page/login'
-import List from '@/page/list/list'
-import TradingList from '@/page/list/trading-list'
-import Searchlist from '@/page/list/list-search'
-import IndexSearchlist from '@/page/list/indexlist-search' // 指数查询
-import SearchMylist from '@/page/list/my-list-search'
-import ListDetail from '@/page/list/listDetail'
-import ListDetail2 from '@/page/list/detail2'
-import MyList from '@/page/list/my-list'
-import Inquiry from '@/page/home/inquiry'
-import User from '@/page/user/user'
-import OrderList from '@/page/user/order-list'
-import Warehouse from '@/page/user/Warehouse.vue'
-import holdOrderList from '@/page/user/search-order/hold-stockCode'
-import holdOrderList2 from '@/page/user/search-order/hold-stockSpell'
-import sellOrderList from '@/page/user/search-order/sell-stockCode'
-import sellOrderList2 from '@/page/user/search-order/sell-stockSpell'
-import Detail from '@/page/user/detail'
-import Card from '@/page/user/card'
-import Authentication from '@/page/user/authentication'
-import Aggre from '@/page/user/agreement'
-import Recharge from '@/page/user/recharge'
-import RechargeSure from '@/page/user/recharge-sure'
-import RechargeList from '@/page/user/rechargelist'
-import Cash from '@/page/user/cash'
-import Cashlist from '@/page/user/cashlist'
-import AddCard from '@/page/user/addCard'
-import Setting from '@/page/user/my'
-import Transfer from '@/page/user/transfer'
-import IndexList from '@/page/list/index-list'
-import indexBuy from '@/page/home/index-buy'
-import TwoBuy from '@/page/home/two-buy'
-import SubWarehouseBuy from '@/page/home/sub-warehouse-buy'
-import futuresBuy from '@/page/home/futures-buy'
-import Agree from '@/page/registerAgree'
-import Trage from '@/page/tradeAgree'
-import OpenAccount from '@/page/openaccount'
-import FundsList from '@/page/funds/funds-list'
-import newLogin from '@/page/login/login.vue'
-import newRegister from '@/page/login/register.vue'
-import NewPage from '@/page/home/newPage'
-import NewGg from '@/page/home/newGg'
-import KLine from '@/page/kline/index.vue'
-import TradingBuy from '@/page/trading/buy.vue'
-import NewUser from '@/page/newUser/index.vue'
-import Wallet from '@/page/wallet/index.vue';
-import TransferRecord from '@/page/transferRecord/index.vue'
-import CashWithdrawalRecord from '@/page/cashWithdrawalRecord/index.vue'
-import Transfers from '@/page/transfer/index.vue'
-import Authentications from '@/page/authentication/index.vue'
-import BankCard from '@/page/bankCard/index.vue'
+import Vue from "vue";
+import Router from "vue-router";
+import i18n from "@/locales/index.js";
+import Home from "@/page/home/home";
+import Buy from "@/page/home/buy";
+import Alertdetail from "@/page/home/components/alert"; // 公告详情
+// import Register from '@/page/register'
+import Forget from "@/page/forget";
+// import Login from '@/page/login'
+// import List from '@/page/list/list'
+import TradingList from "@/page/list/trading-list";
+import Searchlist from "@/page/list/list-search";
+import IndexSearchlist from "@/page/list/indexlist-search"; // 指数查询
+import SearchMylist from "@/page/list/my-list-search";
+import ListDetail from "@/page/list/listDetail";
+import ListDetail2 from "@/page/list/detail2";
+import MyList from "@/page/list/my-list";
+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";
+import SubDK from "@/page/user/SubDK.vue";
+import tixian from "@/page/tixian/tixian.vue";
+import holdOrderList from "@/page/user/search-order/hold-stockCode";
+import holdOrderList2 from "@/page/user/search-order/hold-stockSpell";
+import sellOrderList from "@/page/user/search-order/sell-stockCode";
+import sellOrderList2 from "@/page/user/search-order/sell-stockSpell";
+import Detail from "@/page/user/detail";
+import Card from "@/page/user/card";
+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";
+import Cashlist from "@/page/user/cashlist";
+import AddCard from "@/page/user/addCard";
+import Setting from "@/page/user/my";
+import Transfer from "@/page/user/transfer";
+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";
+import Agree from "@/page/registerAgree";
+import Trage from "@/page/tradeAgree";
+import OpenAccount from "@/page/openaccount";
+import FundsList from "@/page/funds/funds-list";
+import newLogin from "@/page/login/login.vue";
+import newRegister from "@/page/login/register.vue";
+import NewPage from "@/page/home/newPage";
+import NewGg from "@/page/home/newGg";
+import KLine from "@/page/kline/index.vue";
+import TradingBuy from "@/page/trading/buy.vue";
+import NewUser from "@/page/newUser/index.vue";
+import download from "@/page/download/download.vue";
+import Wallet from "@/page/wallet/index.vue";
+import TransferRecord from "@/page/transferRecord/index.vue";
+import CashWithdrawalRecord from "@/page/cashWithdrawalRecord/index.vue";
+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/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";
+Vue.use(Router);
 
-Vue.use(Router)
-
-const routerPush = Router.prototype.push
+const routerPush = Router.prototype.push;
 Router.prototype.push = function push(location) {
-  return routerPush.call(this, location).catch(error => error)
-}
-
+  return routerPush.call(this, location).catch(error => error);
+};
 export default new Router({
   routes: [
     {
-      path: '/',
-      redirect: '/home'
-    }, {
-      path: '/home',
-      name: 'home',
+      path: "/",
+      redirect: "/home_index"
+    },
+    // #region 7.2 新增路由-------------------------------------
+    // 新首页
+    {
+      path: "/home_index",
+      name: "home_index",
       meta: {
-        title: '首页',
+        title: i18n.t("hj224"),
+        requireAuth: false,
+        index: 0
+      },
+      component: () => import("@/page/home/homeIndex.vue")
+    },
+    // 市场
+    {
+      path: "/markets",
+      name: "markets",
+      meta: {
+        title: i18n.t("hj62"),
         requireAuth: true,
         index: 0
       },
-      component: Home
-    }, {
-      path: '/buy',
-      name: 'buy',
+      component: () => import("@/page/markets/markets.vue")
+    },
+    {
+      path: "/transferNew",
+      name: "transferNew",
       meta: {
-        title: '购买',
+        title: i18n.t("划转"),
+        requireAuth: true,
+        index: 1
+      },
+      component: () => import("@/page/user/transferNew.vue")
+    },
+    // AI量化交易
+    {
+      path: "/aiTrading",
+      name: "aiTrading",
+      meta: {
+        title: i18n.t("量化交易"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/markets/aiTrading.vue")
+    },
+    // AI交易订单
+    {
+      path: "/aiTradingOrder",
+      name: "aiTradingOrder",
+      meta: {
+        title: i18n.t("AI交易订单"),
+        requireAuth: true,
+        show: true,
+        index: 2
+      },
+      component: () => import("@/page/markets/aiTradingOrder.vue")
+    },
+    // 大宗交易
+    {
+      path: "/blockTrading",
+      name: "blockTrading",
+      meta: {
+        title: i18n.t("hj621"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/markets/blockTrading.vue")
+    },
+    // 大宗交易订单
+    {
+      path: "/blockTradingOrder",
+      name: "blockTradingOrder",
+      meta: {
+        title: i18n.t("大宗交易订单"),
+        requireAuth: true,
+        show: true,
+        index: 2
+      },
+      component: () => import("@/page/markets/blockTradingOrder.vue")
+    },
+    // IPO
+    {
+      path: "/ipo",
+      name: "ipo",
+      meta: {
+        title: "IPO",
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/markets/ipo.vue")
+    },
+    // IPO订单
+    {
+      path: "/ipoOrder",
+      name: "ipoOrder",
+      meta: {
+        title: "IPO" + i18n.t("订单"),
+        requireAuth: true,
+        show: true,
+        index: 2
+      },
+      component: () => import("@/page/markets/ipoOrder.vue")
+    },
+    // 理财基金
+    {
+      path: "/fund",
+      name: "fund",
+      meta: {
+        title: i18n.t("理财基金"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/markets/fund.vue")
+    },
+    // 理财基金订单
+    {
+      path: "/fundOrder",
+      name: "fundOrder",
+      meta: {
+        title: i18n.t("基金订单"),
+        requireAuth: true,
+        show: true,
+        index: 2
+      },
+      component: () => import("@/page/markets/fundOrder.vue")
+    },
+    // 自选
+    {
+      path: "/watchlists",
+      name: "watchlists",
+      meta: {
+        title: i18n.t("hj61"),
+        requireAuth: true,
+        index: 0
+      },
+      component: () => import("@/page/watchlists/watchlists.vue")
+    },
+    // 新交易页面
+    {
+      path: "/tradeNew",
+      name: "tradeNew",
+      meta: {
+        title: i18n.t("hj225"),
+        requireAuth: true,
+        index: 0
+      },
+      component: () => import("@/page/trading/TradeNew.vue")
+    },
+    // 平仓记录页面
+    {
+      path: "/stockRecord",
+      name: "stockRecord",
+      meta: {
+        title: i18n.t("jl"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/trading/stockRecord.vue")
+    },
+    // 账户
+    {
+      path: "/account",
+      name: "account",
+      meta: {
+        title: i18n.t("Account"),
+        requireAuth: true,
+        index: 0
+      },
+      component: () => import("@/page/user/account.vue")
+    },
+    // 我的贷款
+    {
+      path: "/loan",
+      name: "loan",
+      meta: {
+        title: i18n.t("我的贷款"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/user/loan.vue")
+    },
+    // 我的贷款记录
+    {
+      path: "/loanRecord",
+      name: "loanRecord",
+      meta: {
+        title: i18n.t("dkjl"),
+        requireAuth: true,
+        show: true,
+        index: 2
+      },
+      component: () => import("@/page/user/loanRecord.vue")
+    },
+    // 新闻列表页面
+    {
+      path: "/new-list",
+      name: "new-list",
+      meta: {
+        title: i18n.t("hj6"),
+        requireAuth: false,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/home/newList.vue")
+    },
+    // 指数图
+    {
+      path: "/kLineIndex",
+      name: "kLineIndex",
+      meta: {
+        title: i18n.t("hj238"),
+        requireAuth: true,
+        show: true,
+        index: 1
+      },
+      component: () => import("@/page/kline/kIndex.vue")
+    },
+    //#endregion
+    //#region 旧路由---------------------------------------------
+    {
+      path: "/home",
+      name: "home",
+      meta: {
+        title: i18n.t("hj224"),
+        requireAuth: false,
+        index: 0
+      },
+      component: Home
+    },
+    {
+      path: "/Subscription",
+      name: "Subscription",
+      meta: {
+        title: "A股",
+        requireAuth: true,
+        hasHeader: false,
+        show: true,
+        index: 58
+      },
+      component: Subscription
+    },
+    {
+      path: "/sharerecordDz",
+      name: "sharerecordDz",
+      meta: {
+        title: "大宗交易记录",
+        requireAuth: false,
+        hasHeader: false,
+        index: 66,
+        show: true
+      },
+      component: sharerecordDz
+    },
+    {
+      path: "/vipdetail",
+      name: "vipdetail",
+      meta: {
+        title: "VIP抢筹",
+        requireAuth: true,
+        hasHeader: false,
+        show: true,
+        index: 1
+      },
+      component: vipdetail
+    },
+    {
+      path: "/buy",
+      name: "buy",
+      meta: {
+        title: i18n.t("hj237"),
         requireAuth: true,
         hasHeader: true,
         index: 1
       },
       component: Buy
-    }, {
-      path: '/newPage',
-      name: 'newPage',
+    },
+    {
+      path: "/newPage",
+      name: "newPage",
       meta: {
-        title: '详情',
-        hasHeader: true,
-        is_Show: true,
+        // title: '详情',
+        title: i18n.t("hj238"),
+        hasHeader: false,
+        // hasHeader: true,
+        // is_Show: true,
+        is_Show: false,
+        show: true,
         index: 2
       },
       component: NewPage
     },
     {
-      path: '/newGg',
-      name: 'newGg',
+      path: "/newGg",
+      name: "newGg",
       meta: {
-        title: '公告详情',
+        title: i18n.t("hj239"),
         hasHeader: true,
         is_Show: true,
         index: 49
@@ -118,16 +411,16 @@
     //     index: 3
     //   },
     //   component: Register
-    // }, 
+    // },
     {
-      path: '/forget',
-      name: 'forget',
+      path: "/forget",
+      name: "forget",
       meta: {
-        title: '忘记密码',
+        title: i18n.t("hj240"),
         index: 4
       },
       component: Forget
-    }, 
+    },
     // {
     //   path: '/login',
     //   name: 'login',
@@ -138,27 +431,27 @@
     //   },
     //   component: Login
     // },
-     {
-      path: '/openaccount',
-      name: 'openaccount',
+    {
+      path: "/openaccount",
+      name: "openaccount",
       meta: {
-        title: '开户',
+        title: i18n.t("hj241"),
         hasHeader: true,
         index: 6
       },
       component: OpenAccount
-    }, 
+    },
     {
-      path: '/trading-list',
-      name: 'TradingList',
+      path: "/trading-list",
+      name: "TradingList",
       meta: {
-        title: '行情',
+        title: i18n.t("hj242"),
         requireAuth: false,
         hasHeader: false,
         index: 7
       },
       component: TradingList
-    }
+    },
     // {
     //   path: '/list',
     //   name: 'list',
@@ -170,66 +463,81 @@
     //   },
     //   component: List
     // }
-    , {
-      path: '/indexsearchlist',
-      name: '指数查询',
+    {
+      path: "/indexsearchlist",
+      name: "指数查询",
       meta: {
-        title: '指数查询',
+        title: "指数查询",
         index: 8
       },
       component: IndexSearchlist
-    }, {
-      path: '/indexlist',
-      name: 'indexlist',
+    },
+    {
+      path: "/setting",
+      name: "setting",
       meta: {
-        title: '指数列表',
+        title: "Setting",
+        requireAuth: true,
+        index: 91
+      },
+      component: setting
+    },
+    {
+      path: "/indexlist",
+      name: "indexlist",
+      meta: {
+        title: "指数列表",
         requireAuth: false,
         index: 9
       },
       component: IndexList
-    }, {
-      path: '/searchlist',
-      name: '个股查询',
+    },
+    {
+      path: "/searchlist",
+      name: "个股查询",
       meta: {
-        title: '个股查询',
+        title: "个股查询",
         index: 10
       },
       component: Searchlist
-    }, {
-      path: '/searchmylist',
-      name: 'searchmylist',
+    },
+    {
+      path: "/searchmylist",
+      name: "searchmylist",
       meta: {
-        title: '自选查询',
+        title: "自选查询",
         requireAuth: true,
         index: 11
       },
       component: SearchMylist
-    }, {
-      path: '/mylist',
-      name: 'mylist',
+    },
+    {
+      path: "/mylist",
+      name: "mylist",
       meta: {
-        title: '自选列表',
+        title: "自选列表",
         requireAuth: true,
         hasHeader: true,
         index: 12
-
       },
       component: MyList
-    }, {
-      path: '/listdetail',
-      name: 'listdetail',
+    },
+    {
+      path: "/listdetail",
+      name: "listdetail",
       meta: {
-        title: '详情',
+        title: i18n.t("hj238"),
         requireAuth: false,
         hasHeader: false,
         index: 13
       },
       component: ListDetail
-    }, {
-      path: '/listdetail2',
-      name: 'listdetail2',
+    },
+    {
+      path: "/listdetail2",
+      name: "listdetail2",
       meta: {
-        title: '详情',
+        title: i18n.t("hj238"),
         requireAuth: false,
         hasHeader: true,
         index: 14
@@ -237,80 +545,144 @@
       component: ListDetail2
     },
     {
-      path: '/indexBuy',
-      name: 'indexBuy',
+      path: "/indexBuy",
+      name: "indexBuy",
       meta: {
-        title: '指数购买',
+        title: "指数购买",
         requireAuth: false,
         hasHeader: true,
-        iconRight: 'search',
+        iconRight: "search",
         index: 15
       },
       component: indexBuy
     },
     {
-      path: '/twoBuy',
-      name: 'TwoBuy',
+      path: "/twoBuy",
+      name: "TwoBuy",
       meta: {
-        title: '两融交易',
+        title: "两融交易",
         requireAuth: false,
         hasHeader: true,
-        iconRight: 'search',
+        iconRight: "search",
         index: 16
       },
       component: TwoBuy
     },
     {
-      path: '/subWarehouseBuy',
-      name: 'SubWarehouseBuy',
+      path: "/subWarehouseBuy",
+      name: "SubWarehouseBuy",
       meta: {
-        title: '分仓交易',
+        title: "分仓交易",
         requireAuth: false,
         hasHeader: true,
-        iconRight: 'search',
+        iconRight: "search",
         index: 17
       },
       component: SubWarehouseBuy
-    }, {
-      path: '/futuresBuy',
-      name: 'futuresBuy',
+    },
+    {
+      path: "/futuresBuy",
+      name: "futuresBuy",
       meta: {
-        title: '期货购买',
+        title: "期货购买",
         requireAuth: false,
         hasHeader: true,
         index: 18
       },
       component: futuresBuy
-    }, {
-      path: '/inquiry',
-      name: 'inquiry',
+    },
+    {
+      path: "/inquiry",
+      name: "inquiry",
       meta: {
-        title: '询价',
+        title: "询价",
         requireAuth: true,
         index: 19
       },
       component: Inquiry
-    }, {
-      path: '/user',
-      name: 'user',
-      meta: {
-        title: '我的',
-        requireAuth: false,
-        hasHeader: true,
-        index: 20
-      },
-      component: User
     },
     {
-      path: '/transfer',
-      name: 'transfer',
+      path: "/tixian",
+      name: "tixian",
       meta: {
-        title: '资金互转',
+        title: "提现",
+        requireAuth: true,
+        index: 19
+      },
+      component: tixian
+    },
+    // {
+    //   path: '/user',
+    //   name: 'user',
+    //   meta: {
+    //     title: '我的',
+    //     requireAuth: false,
+    //     hasHeader: true,
+    //     index: 20
+    //   },
+    //   component: User
+    // },
+    {
+      path: "/transfer",
+      name: "transfer",
+      meta: {
+        title: "资金互转",
         requireAuth: true,
         index: 21
       },
       component: Transfer
-    }, 
+    },
+    {
+      path: "/yeb",
+      name: "yeb",
+      meta: {
+        title: "yeb",
+        requireAuth: true,
+        index: 999
+      },
+      component: yeb
+    },
+    {
+      path: "/subDK",
+      name: "subDK",
+      meta: {
+        title: i18n.t("贷款"),
+        requireAuth: true,
+        index: 998
+      },
+      component: SubDK
+    },
+
+    {
+      path: "/transferindex-list",
+      name: "transferindexList",
+      meta: {
+        title: "划转记录",
+        requireAuth: true,
+        index: 3020
+      },
+      component: transferindexList
+    },
+    {
+      path: "/yebs",
+      name: "yebs",
+      meta: {
+        title: "yebs—history",
+        requireAuth: true,
+        index: 1000
+      },
+      component: yebs
+    },
+    {
+      path: "/yebs2",
+      name: "yebs2",
+      meta: {
+        title: "贷款记录",
+        requireAuth: true,
+        index: 1002
+      },
+      component: yebs2
+    },
     // {
     //   path: '/orderlist',
     //   name: 'orderlist',
@@ -322,283 +694,338 @@
     //   },
     //   component: OrderList
     // },
-     {
-      path: '/warehouse',
-      name: 'Warehouse',
+    {
+      path: "/warehouse",
+      name: "Warehouse",
       meta: {
-        title: '持仓',
-        requireAuth: false,
+        title: i18n.t("hj2"),
+        requireAuth: true,
         hasHeader: false,
         index: 22
       },
       component: Warehouse
     },
     {
-      path: '/holdorderlist',
-      name: 'holdorderlist',
+      path: "/Stockdetail",
+      name: "Stockdetail",
       meta: {
-        title: '查询持仓',
+        title: i18n.t("订单详情"),
+        requireAuth: true,
+        hasHeader: false,
+        show: true,
+        index: 22
+      },
+      component: Stockdetail
+    },
+    {
+      path: "/holdorderlist",
+      name: "holdorderlist",
+      meta: {
+        title: "查询持仓",
         requireAuth: true,
         hasHeader: true,
         index: 23
       },
       component: holdOrderList
-    }, {
-      path: '/holdorderlist2',
-      name: 'holdorderlist2',
+    },
+    {
+      path: "/holdorderlist2",
+      name: "holdorderlist2",
       meta: {
-        title: '查询持仓',
+        title: "查询持仓",
         requireAuth: true,
         hasHeader: true,
         index: 24
       },
       component: holdOrderList2
-    }, {
-      path: '/sellorderlist',
-      name: 'sellorderlist',
+    },
+    {
+      path: "/sellorderlist",
+      name: "sellorderlist",
       meta: {
-        title: '查询平仓',
+        title: "查询平仓",
         requireAuth: true,
         hasHeader: true,
         index: 25
       },
       component: sellOrderList
-    }, {
-      path: '/sellorderlist2',
-      name: 'sellorderlist2',
+    },
+    {
+      path: "/sellorderlist2",
+      name: "sellorderlist2",
       meta: {
-        title: '查询平仓',
+        title: "查询平仓",
         requireAuth: true,
         hasHeader: true,
         index: 26
       },
       component: sellOrderList2
-    }, {
-      path: '/detail',
-      name: 'detail',
+    },
+    {
+      path: "/detail",
+      name: "detail",
       meta: {
-        title: '资金明细',
+        title: "资金明细",
         requireAuth: true,
         hasHeader: true,
         index: 27
       },
       component: Detail
-    }, {
-      path: '/card',
-      name: 'card',
+    },
+    {
+      path: "/card",
+      name: "card",
       meta: {
-        title: '银行卡',
+        title: "银行卡",
         requireAuth: true,
         hasHeader: true,
         index: 28
       },
       component: Card
-    }, {
-      path: '/authentication',
-      name: 'authentication',
+    },
+    {
+      path: "/authentication",
+      name: "authentication",
       meta: {
-        title: '认证',
+        title: "认证",
         requireAuth: true,
         hasHeader: true,
         index: 29
       },
       component: Authentication
-    }, {
-      path: '/aggre',
-      name: 'aggre',
+    },
+    {
+      path: "/aggre",
+      name: "aggre",
       meta: {
-        title: '合作协议',
+        title: "合作协议",
         requireAuth: true,
         index: 30
       },
       component: Aggre
-    }, {
-      path: '/recharge',
-      name: 'recharge',
+    },
+    {
+      path: "/recharge",
+      name: "recharge",
       meta: {
-        title: '充值',
         requireAuth: true,
-        hasHeader: true,
-        index: 31
-
+        show: true
+        // title: "充值"
+        // requireAuth: true,
+        // hasHeader: true,
+        // index: 31
       },
       component: Recharge
-    }, {
-      path: '/rechargeSure',
-      name: 'rechargeSure',
-      meta: {
-        title: '确认充值',
-        requireAuth: true,
-        hasHeader: true,
-        index: 32
+    },
 
+    {
+      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,
+        // title: "充值"
+        requireAuth: true
+        // hasHeader: true,
+        // index: 31
+      },
+      component: RransferIndex
+    },
+    {
+      path: "/rechargeSure",
+      name: "rechargeSure",
+      meta: {
+        title: "RechargeSure",
+        requireAuth: true,
+        show: true
       },
       component: RechargeSure
-    }, {
-      path: '/rechargelist',
-      name: 'rechargelist',
+    },
+    {
+      path: "/rechargelist",
+      name: "rechargelist",
       meta: {
-        title: '充值记录',
-        requireAuth: true,
-        hasHeader: true,
-        index: 33
+        requireAuth: false,
+        hasHeader: false,
+        index: 56,
+        show: true
       },
       component: RechargeList
-    }, {
-      path: '/cash',
-      name: 'cash',
+    },
+    {
+      path: "/cash",
+      name: "cash",
       meta: {
-        title: '提现',
+        title: "提现",
         requireAuth: true,
         hasHeader: true,
         index: 34
       },
       component: Cash
-    }, {
-      path: '/addCard',
-      name: 'addCard',
+    },
+    {
+      path: "/addCard",
+      name: "addCard",
       meta: {
-        title: '添加银行卡',
+        title: "添加银行卡",
         requireAuth: true,
         hasHeader: true,
         index: 35
-
       },
       component: AddCard
-    }, {
-      path: '/cashlist',
-      name: 'cashlist',
+    },
+    {
+      path: "/cashlist",
+      name: "cashlist",
       meta: {
-        title: '提现记录',
-        requireAuth: true,
-        hasHeader: true,
-        index: 36
-
+        title: "Withdraw",
+        requireAuth: false,
+        hasHeader: false,
+        index: 56,
+        show: true
       },
       component: Cashlist
-    }, {
-      path: '/setting',
-      name: 'setting',
+    },
+    {
+      path: "/setting",
+      name: "setting",
       meta: {
-        title: '设置',
+        title: "设置",
         requireAuth: true,
         index: 37
       },
       component: Setting
-    }, {
-      path: '/agree',
-      name: 'agree',
+    },
+    {
+      path: "/agree",
+      name: "agree",
       meta: {
-        title: '注册协议',
-        requireAuth: true,
+        title: "注册协议",
+        requireAuth: false,
         index: 38
       },
       component: Agree
-    }, {
-      path: '/trade',
-      name: 'trade',
+    },
+    {
+      path: "/trade",
+      name: "trade",
       meta: {
-        title: '交易⻛险揭示书',
+        title: "交易⻛险揭示书",
         requireAuth: true,
         index: 39
       },
       component: Trage
     },
     {
-      path: '/alertdetail',
-      name: 'alertdetail',
+      path: "/alertdetail",
+      name: "alertdetail",
       meta: {
-        title: '公告详情',
+        title: "Announcement details",
         requireAuth: true,
+        hasHeader: true,
         index: 40
       },
       component: Alertdetail
     },
     {
-      path: '/funds',
-      name: 'funds',
+      path: "/funds",
+      name: "funds",
       meta: {
-        title: '配资主页',
+        title: "配资主页",
         requireAuth: true,
         hasHeader: true,
-        iconRight: 'setting',
+        iconRight: "setting",
         index: 41
       },
-      component: () => import('../page/funds/index')
+      component: () => import("../page/funds/index")
     },
     {
-      path: '/days',
-      name: 'days',
+      path: "/days",
+      name: "days",
       meta: {
-        title: '按天配资',
+        title: "按天配资",
         requireAuth: true,
         hasHeader: true,
-        iconRight: 'setting',
+        iconRight: "setting",
         index: 42
       },
-      component: () => import('../page/funds/days')
+      component: () => import("../page/funds/days")
     },
     {
-      path: '/xingu',
-      name: 'xingu',
+      path: "/xingu",
+      name: "xingu",
       meta: {
-        title: '新股申购',
+        title: "新股申购",
         requireAuth: true,
         hasHeader: true,
-        iconRight: 'setting',
+        iconRight: "setting",
         index: 43
       },
-      component: () => import('../page/funds/xingu')
+      component: () => import("../page/funds/xingu")
     },
     {
-      path: '/searchStock',
-      name: 'searchStock',
+      path: "/searchStock",
+      name: "searchStock",
       meta: {
-        title: '查询股票',
+        title: "查询股票",
         requireAuth: true,
         hasHeader: true,
         index: 44
       },
-      component: () => import('../page/list/search')
+      component: () => import("../page/list/search")
     },
     {
-      path: '/notify',
-      name: 'notify',
+      path: "/notify",
+      name: "notify",
       meta: {
-        title: '消息记录',
+        title: "消息记录",
         requireAuth: true,
         hasHeader: true,
         index: 45
       },
-      component: () => import('../page/user/notify')
-    }, {
-      path: '/fundslist',
-      name: 'fundslist',
+      component: () => import("../page/user/notify")
+    },
+    {
+      path: "/fundslist",
+      name: "fundslist",
       meta: {
-        title: '分仓配资',
+        title: "分仓配资",
         requireAuth: false,
         hasHeader: true,
-        index: 46,
+        index: 46
       },
       component: FundsList
     },
     {
-      path: '/login',
-      name: 'newLogin',
+      path: "/login",
+      name: "newLogin",
       meta: {
-        title: '用户登录',
         requireAuth: false,
-        hasHeader: true,
+        hasHeader: false,
         index: 47,
-        show: true
+        show: true,
+        title: i18n.t("hj24")
       },
       component: newLogin
     },
     {
-      path: '/register',
-      name: 'newRegister',
+      path: "/register",
+      name: "newRegister",
       meta: {
-        title: '用户注册',
+        title: i18n.t("hj249"),
         requireAuth: false,
         hasHeader: false,
         index: 48,
@@ -607,10 +1034,10 @@
       component: newRegister
     },
     {
-      path: '/kline',
-      name: 'kline',
+      path: "/kline",
+      name: "kline",
       meta: {
-        title: '图标',
+        title: i18n.t("hj238"),
         requireAuth: false,
         hasHeader: false,
         index: 49,
@@ -619,11 +1046,11 @@
       component: KLine
     },
     {
-      path: '/TradingBuy',
-      name: 'TradingBuy',
+      path: "/TradingBuy",
+      name: "TradingBuy",
       meta: {
-        title: '图标',
-        requireAuth: false,
+        title: i18n.t("hj237"),
+        requireAuth: true,
         hasHeader: false,
         index: 50,
         show: true
@@ -631,32 +1058,45 @@
       component: TradingBuy
     },
     {
-      path: '/NewUser',
-      name: 'NewUser',
+      path: "/User",
+      name: "NewUser",
       meta: {
-        title: '图标',
-        requireAuth: false,
+        title: i18n.t("hj243"),
+        requireAuth: true,
         hasHeader: false,
-        index: 51,
+        index: 51
       },
       component: NewUser
     },
     {
-      path: '/wallet',
-      name: 'Wallet',
+      path: "/download",
+      name: "download",
       meta: {
-        title: '图标',
+        title: i18n.t("hj243"),
         requireAuth: false,
         hasHeader: false,
-        index: 52,
+        index: 57,
+        show: true
+      },
+      component: download
+    },
+    {
+      path: "/wallet",
+      name: "Wallet",
+      meta: {
+        title: i18n.t("hj244"),
+        requireAuth: false,
+        hasHeader: false,
+        show: true,
+        index: 52
       },
       component: Wallet
     },
     {
-      path: '/transferRecord',
-      name: 'transferRecord',
+      path: "/transferRecord",
+      name: "transferRecord",
       meta: {
-        title: '图标',
+        title: i18n.t("hj168"),
         requireAuth: false,
         hasHeader: false,
         index: 53,
@@ -665,10 +1105,10 @@
       component: TransferRecord
     },
     {
-      path: '/cashWithdrawalRecord',
-      name: 'cashWithdrawalRecord',
+      path: "/cashWithdrawalRecord",
+      name: "cashWithdrawalRecord",
       meta: {
-        title: '图标',
+        title: i18n.t("hj162"),
         requireAuth: false,
         hasHeader: false,
         index: 54,
@@ -677,10 +1117,10 @@
       component: CashWithdrawalRecord
     },
     {
-      path: '/transfers',
-      name: 'transfers',
+      path: "/transfers",
+      name: "transfers",
       meta: {
-        title: '图标',
+        title: i18n.t("hj245"),
         requireAuth: false,
         hasHeader: false,
         index: 55,
@@ -689,10 +1129,10 @@
       component: Transfers
     },
     {
-      path: '/authentications',
-      name: 'authentications',
+      path: "/authentications",
+      name: "authentications",
       meta: {
-        title: '图标',
+        title: i18n.t("hj246"),
         requireAuth: false,
         hasHeader: false,
         index: 56,
@@ -701,10 +1141,10 @@
       component: Authentications
     },
     {
-      path: '/bankCard',
-      name: 'bankCard',
+      path: "/bankCard",
+      name: "bankCard",
       meta: {
-        title: '图标',
+        title: i18n.t("hj247"),
         requireAuth: false,
         hasHeader: false,
         index: 57,
@@ -713,9 +1153,178 @@
       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: {
+        title: "客服",
+        requireAuth: false,
+        hasHeader: false,
+        index: 57,
+        show: true
+      },
+      component: service
+    },
+    {
+      path: "/chongz",
+      name: "chongz",
+      meta: {
+        title: "充值",
+        requireAuth: false,
+        hasHeader: false,
+        index: 59,
+        show: true
+      },
+      component: chongz
+    },
+    {
+      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",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 59,
+        show: true
+      },
+      component: help
+    },
+    {
+      path: "/help_html",
+      name: "help_html",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 60,
+        show: true
+      },
+      component: help_html
+    },
+    {
+      path: "/help_fxkz",
+      name: "help_fxkz",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 61,
+        show: true
+      },
+      component: help_fxkz
+    },
+    {
+      path: "/help_wdfw",
+      name: "help_wdfw",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 61,
+        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",
+      name: "new_service",
+      meta: {
+        title: i18n.t("hj2"),
+        requireAuth: false,
+        hasHeader: false,
+        index: 62,
+        show: true
+      },
+      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'
+      path: "*",
+      redirect: "/home"
     }
+    //#endregion
   ]
-})
+});

--
Gitblit v1.9.3