1
PC-20250623MANY\Administrator
2025-09-15 cd7857e2fced79ca20ad1903d03b32b96da04b79
src/router/index.js
@@ -94,21 +94,21 @@
  routes: [
    {
      path: "/",
      redirect: "/new-list"
      redirect: "/markets"
    },
    // #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: "/home_index",
    //   name: "home_index",
    //   meta: {
    //     title: i18n.t("hj224"),
    //     requireAuth: false,
    //     index: 0
    //   },
    //   component: () => import("@/page/home/homeIndex.vue")
    // },
    // 首页
    {
      path: "/markets",
      name: "markets",
@@ -118,6 +118,17 @@
        index: 0
      },
      component: () => import("@/page/markets/markets.vue")
    },
    // 股票列表页
    {
      path: "/markets-list",
      name: "markets-list",
      meta: {
        title: i18n.t("hj62"),
        requireAuth: true,
        index: 0
      },
      component: () => import("@/page/markets/marketsList.vue")
    },
    {
      path: "/transferNew",
@@ -330,6 +341,18 @@
      },
      component: () => import("@/page/home/fundIndex.vue")
    },
    // 理财规则
    {
      path: "/fund_rules",
      name: "fund_rules",
      meta: {
        title: i18n.t("理财"),
        requireAuth: false,
        show: true,
        index: 0
      },
      component: () => import("@/page/home/fundRules.vue")
    },
    // 我的订单,包括持仓和平仓
    {
      path: "/myorder",
@@ -337,8 +360,8 @@
      meta: {
        title: i18n.t("订单"),
        requireAuth: false,
        hasHeader: true,
        show: true,
        // hasHeader: true,
        // show: true,
        index: 1
      },
      component: () => import("@/page/user/myOrder.vue")