| | |
| | | routes: [ |
| | | { |
| | | path: "/", |
| | | redirect: "/home" |
| | | redirect: "/home_index" |
| | | }, |
| | | // #region 7.2 新增路由------------------------------------- |
| | | // 新首页 |
| | |
| | | name: "markets", |
| | | meta: { |
| | | title: i18n.t("hj62"), |
| | | requireAuth: false, |
| | | requireAuth: true, |
| | | index: 0 |
| | | }, |
| | | component: () => import("@/page/markets/markets.vue") |
| | | }, |
| | | // AI量化交易 |
| | | { |
| | | path: "/aiTrading", |
| | | name: "aiTrading", |
| | | meta: { |
| | | title: "AI" + 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") |
| | | }, |
| | | // 自选 |
| | | { |
| | |
| | | name: "watchlists", |
| | | meta: { |
| | | title: i18n.t("hj61"), |
| | | requireAuth: false, |
| | | 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: "/account", |
| | | name: "account", |
| | | meta: { |
| | | title: i18n.t("Account"), |
| | | requireAuth: true, |
| | | index: 0 |
| | | }, |
| | | component: () => import("@/page/user/account.vue") |
| | | }, |
| | | // 新闻列表页面 |
| | | { |
| | | path: "/new-list", |
| | | name: "new-list", |
| | | meta: { |
| | | title: i18n.t("hj6"), |
| | | requireAuth: false, |
| | | show: true, |
| | | index: 1 |
| | | }, |
| | | component: () => import("@/page/home/newList.vue") |
| | | }, |
| | | //#endregion |
| | | //#region 旧路由--------------------------------------------- |
| | |
| | | // hasHeader: true, |
| | | // is_Show: true, |
| | | is_Show: false, |
| | | show: true, |
| | | index: 2 |
| | | }, |
| | | component: NewPage |