From f823acd50561f5bfbe871b30ef0a46209ff89c92 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期二, 08 四月 2025 09:17:31 +0800
Subject: [PATCH] 学术成果页面完成

---
 src/router/index.js |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index ebb41ca..0e7585d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,6 +3,7 @@
 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) {
@@ -11,7 +12,8 @@
 
 Vue.use(VueRouter);
 
-const routes = [{
+const routes = [
+  {
     path: "/",
     name: "HomeLayout",
     component: HomeLayout,
@@ -28,7 +30,7 @@
           authentication: false, // 鏄惁闇�瑕佺櫥褰曢獙璇�
           keepAlive: false, // 鏄惁闇�瑕佺紦瀛�
         },
-        component: () => import("@/views/chronology/index.vue")
+        component: () => import("@/views/chronology/index.vue"),
       },
       {
         path: "/honor",
@@ -47,6 +49,14 @@
         component: () => import("@/views/achievements/index.vue"),
       },
       {
+        path: "/details",
+        name: "details",
+        meta: {
+          name: "瀛︽湳鎴愭灉璇︽儏",
+        },
+        component: details,
+      },
+      {
         path: "/directory",
         name: "directory",
         meta: {
@@ -63,8 +73,7 @@
       //   },
       //   component: () => import("@/views/login/login")
       // },
-
-    ]
+    ],
   },
 
   // 涓嶅湪涓绘鏋跺唴
@@ -75,9 +84,9 @@
     meta: {
       name: "棣栭〉",
       authentication: false, // 鏄惁闇�瑕佺櫥褰曢獙璇�
-      keepAlive: false // 鏄惁闇�瑕佺紦瀛�
+      keepAlive: false, // 鏄惁闇�瑕佺紦瀛�
     },
-    component: Home
+    component: Home,
   },
   // {
   //   path: "/pdf",
@@ -90,4 +99,4 @@
   routes,
 });
 
-export default router;
\ No newline at end of file
+export default router;

--
Gitblit v1.9.1