| | |
| | | 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"; |
| | |
| | | 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", |
| | |
| | | }, |
| | | component: Recharge |
| | | }, |
| | | |
| | | { |
| | | path: "/recharges", |
| | | name: "recharges", |
| | | meta: { |
| | | requireAuth: true, |
| | | show: true |
| | | // title: "充值" |
| | | // requireAuth: true, |
| | | // hasHeader: true, |
| | | // index: 31 |
| | | }, |
| | | component: recharges |
| | | }, |
| | | { |
| | | path: "/transferIndex", |
| | | name: "transferIndex", |
| | |
| | | path: "/cashlist", |
| | | name: "cashlist", |
| | | meta: { |
| | | title: 'Withdraw', |
| | | title: "Withdraw", |
| | | requireAuth: false, |
| | | hasHeader: false, |
| | | index: 56, |
| | |
| | | hasHeader: false, |
| | | index: 47, |
| | | show: true, |
| | | title: i18n.t("hj24"), |
| | | title: i18n.t("hj24") |
| | | }, |
| | | component: newLogin |
| | | }, |
| | |
| | | show: true |
| | | }, |
| | | component: help_wdfw |
| | | },{ |
| | | }, |
| | | { |
| | | path: "/help_fwxy", |
| | | name: "help_fwxy", |
| | | meta: { |
| | |
| | | path: "*", |
| | | redirect: "/home" |
| | | } |
| | | //#endregion |
| | | ] |
| | | }); |