zhangwei
8 天以前 3324a54fa4d0840f8a5dc8adb21753180ecd3f3c
src/router/modules/remaining.ts
@@ -1,10 +1,20 @@
const Layout = () => import("@/layout/index.vue");
export default [
  // {
  //   path: "/",
  //   name: "Main",
  //   redirect: "/home",
  //   meta: {
  //     title: "首页",
  //     showLink: false,
  //     rank: 101
  //   }
  // },
  {
    path: "/",
    name: "Main",
    redirect: "/home",
    path: "/index",
    name: "MainPage",
    component: () => import("@/views/home/index.vue"),
    meta: {
      title: "首页",
      showLink: false,
@@ -12,11 +22,21 @@
    }
  },
  {
    path: "/home",
    name: "Home",
    component: () => import("@/views/home/index.vue"),
    path: "/gonggaoDetail",
    name: "gonggaoDetail",
    component: () => import("@/views/home/detail.vue"),
    meta: {
      title: "首页",
      title: "公告详情",
      showLink: false,
      rank: 101
    }
  },
  {
    path: "/gonggaoInfo",
    name: "gonggaoInfo",
    component: () => import("@/views/home/info.vue"),
    meta: {
      title: "公告信息",
      showLink: false,
      rank: 101
    }
@@ -33,8 +53,8 @@
  },
  {
    path: "/register",
    name: "Register",
    component: () => import("@/views/register/index.vue"),
    name: "newRegister",
    component: () => import("@/views/newregister/index.vue"),
    meta: {
      title: "注册",
      showLink: false,
@@ -52,6 +72,16 @@
    }
  },
  {
    path: "/registernav",
    name: "RegisterNav",
    component: () => import("@/views/register/registernav.vue"),
    meta: {
      title: "注册向导",
      showLink: false,
      rank: 103
    }
  },
  {
    path: "/redirect",
    component: Layout,
    meta: {