From 35a0ab2182b812e57af749e438fc505bafd29133 Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期二, 22 四月 2025 17:58:58 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/wyyDatabase

---
 src/router/index.js |   75 +++++++++++++++++++++++++++++--------
 1 files changed, 58 insertions(+), 17 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 8899791..0e7585d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2,36 +2,68 @@
 import VueRouter from "vue-router";
 import HomeLayout from "@/layout";
 import Home from "@/views/home";
-
-
+import Honor from "@/views/honors";
+import details from "@/views/achievements/details.vue"
 
 const originalPush = VueRouter.prototype.push;
 VueRouter.prototype.push = function push(location) {
-  return originalPush.call(this, location).catch(err => err);
+  return originalPush.call(this, location).catch((err) => err);
 };
 
 Vue.use(VueRouter);
 
-const routes = [{
+const routes = [
+  {
     path: "/",
     name: "HomeLayout",
     component: HomeLayout,
     redirect: {
-      name: "home"
+      name: "chronology",
     },
     children: [
       // 鍦ㄤ富妗嗘灦鍐�
       {
-        path: "/home",
-        name: "home",
+        path: "/chronology",
+        name: "chronology",
         meta: {
-          name: "棣栭〉",
+          name: "骞磋氨",
           authentication: false, // 鏄惁闇�瑕佺櫥褰曢獙璇�
-          keepAlive: false // 鏄惁闇�瑕佺紦瀛�
+          keepAlive: false, // 鏄惁闇�瑕佺紦瀛�
         },
-        component: Home
+        component: () => import("@/views/chronology/index.vue"),
       },
-
+      {
+        path: "/honor",
+        name: "honor",
+        meta: {
+          name: "鑽h獕濂栭」",
+        },
+        component: Honor,
+      },
+      {
+        path: "/achievements",
+        name: "achievements",
+        meta: {
+          name: "瀛︽湳鎴愭灉",
+        },
+        component: () => import("@/views/achievements/index.vue"),
+      },
+      {
+        path: "/details",
+        name: "details",
+        meta: {
+          name: "瀛︽湳鎴愭灉璇︽儏",
+        },
+        component: details,
+      },
+      {
+        path: "/directory",
+        name: "directory",
+        meta: {
+          name: "瀛︾敓鍚嶅綍",
+        },
+        component: () => import("@/views/directory/index.vue"),
+      },
       // {
       //   path: "/login",
       //   name: "login",
@@ -41,21 +73,30 @@
       //   },
       //   component: () => import("@/views/login/login")
       // },
-
-
-    ]
+    ],
   },
+
   // 涓嶅湪涓绘鏋跺唴
+
+  {
+    path: "/home",
+    name: "home",
+    meta: {
+      name: "棣栭〉",
+      authentication: false, // 鏄惁闇�瑕佺櫥褰曢獙璇�
+      keepAlive: false, // 鏄惁闇�瑕佺紦瀛�
+    },
+    component: Home,
+  },
   // {
   //   path: "/pdf",
   //   name: "pdf",
   //   component: () => import("@/components/play/pdf")
   // },
-
 ];
 
 const router = new VueRouter({
-  routes
+  routes,
 });
 
-export default router;
\ No newline at end of file
+export default router;

--
Gitblit v1.9.1