From cabc1ce19c57a7c7388502952eaaafd558363145 Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期五, 22 八月 2025 18:18:51 +0800
Subject: [PATCH] 数字教材相关

---
 src/router/index.js |  247 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 247 insertions(+), 0 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 9132c1e..46d21a3 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,5 +1,8 @@
 import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
 import HomeView from '../views/home/index.vue'
+import aboutUs from '../views/aboutUs/index.vue'
+import bookStore from '../views/bookStore/index.vue'
+import bookdetail from '../views/bookStore/detail.vue'
 import PageLayout from '../layout/baseLayout.vue'
 const router = createRouter({
   history: createWebHashHistory(import.meta.env.BASE_URL),
@@ -15,6 +18,250 @@
           name: 'home',
           component: HomeView,
         },
+        {
+          path: '/aboutUs',
+          name: 'aboutUs',
+          component: aboutUs,
+        },
+        {
+          path: '/bookdetail',
+          name: 'bookdetail',
+          component: bookdetail,
+        },
+        {
+          path: '/bookStore',
+          name: 'bookStore',
+          component: bookStore,
+        },
+        {
+          path: '/textBookApply',
+          name: 'textBookApply',
+          component: () => import('@/views/bookStore/textBookApply.vue'),
+        },
+        //涓汉涓績
+        {
+          path: '/personalCenter',
+          name: 'personalCenter',
+          redirect: '/userInfo',
+          meta: {
+            name: '涓汉涓績',
+          },
+          component: () => import('@/views/personalCenter/index.vue'),
+          children: [
+            {
+              path: '/userInfo',
+              name: 'userInfo',
+              meta: {
+                name: '璐︽埛淇℃伅',
+              },
+              component: () => import('@/views/personalCenter/userInfo.vue'),
+            },
+            {
+              path: '/myCart',
+              name: 'myCart',
+              meta: {
+                name: '璐墿杞�',
+              },
+              component: () => import('@/views/personalCenter/myCart.vue'),
+            },
+            {
+              path: '/myBook',
+              name: 'myBook',
+              meta: {
+                name: '涔︽灦',
+              },
+              component: () => import('@/views/personalCenter/myBook.vue'),
+            },
+            {
+              path: '/myCourse',
+              name: 'myCourse',
+              meta: {
+                name: '璇剧▼',
+              },
+              component: () => import('@/views/personalCenter/course.vue'),
+            },
+            {
+              path: '/myClass',
+              name: 'myClass',
+              meta: {
+                name: '鐝骇',
+              },
+              component: () => import('@/views/personalCenter/class.vue'),
+            },
+            {
+              path: '/myOrder',
+              name: 'myOrder',
+              meta: {
+                name: '璁㈠崟',
+              },
+              component: () => import('@/views/personalCenter/myOrder.vue'),
+            },
+            {
+              path: '/myApply',
+              name: 'myApply',
+              meta: {
+                name: '鐢宠',
+              },
+              component: () => import('@/views/personalCenter/myApply.vue'),
+            },
+            {
+              path: '/myCollection',
+              name: 'myCollection',
+              meta: {
+                name: '鏀惰棌',
+              },
+              component: () => import('@/views/personalCenter/myCollection.vue'),
+            },
+            {
+              path: '/myMessage',
+              name: 'myMessage',
+              meta: {
+                name: '娑堟伅',
+              },
+              component: () => import('@/views/personalCenter/myMessage.vue'),
+            },
+            {
+              path: '/activateProduct',
+              name: 'activateProduct',
+              meta: {
+                name: '婵�娲荤爜',
+              },
+              component: () => import('@/views/personalCenter/activeCode.vue'),
+            },
+            {
+              path: '/courseDetail',
+              name: 'courseDetail',
+              meta: {
+                name: '璇剧▼璇︽儏',
+              },
+              component: () => import('@/views/courseManage/index.vue'),
+            },
+          ],
+        },
+        // 鐝骇
+        {
+          path: '/classManage',
+          name: 'classManage',
+          redirect: '/classHome',
+          meta: {
+            name: '鐝骇绠$悊',
+          },
+          component: () => import('../views/classManage/index.vue'),
+          children: [
+            {
+              path: '/classHome',
+              name: 'classHome',
+              meta: {
+                name: '鐝骇棣栭〉',
+              },
+              component: () => import('@/views/classManage/classHome.vue'),
+            },
+            {
+              path: '/studentManage',
+              name: 'studentManage',
+              meta: {
+                name: '瀛︾敓绠$悊',
+              },
+              component: () => import('@/views/classManage/studentManage.vue'),
+            },
+            {
+              path: '/teachingPlan',
+              name: 'teachingPlan',
+              meta: {
+                name: '鏁欏璁″垝',
+              },
+              component: () => import('@/views/classManage/teachingPlan.vue'),
+            },
+            {
+              path: '/prepareLessons',
+              name: 'prepareLessons',
+              meta: {
+                name: '澶囪',
+              },
+              component: () => import('@/views/classManage/prepareLessons.vue'),
+            },
+            {
+              path: '/jobManage',
+              name: 'jobManage',
+              meta: {
+                name: '浣滀笟绠$悊-鏁欏笀',
+              },
+              component: () => import('@/views/classManage/jobManage.vue'),
+            },
+            {
+              path: '/studentJob',
+              name: 'studentJob',
+              meta: {
+                name: '浣滀笟绠$悊-瀛︾敓',
+              },
+              component: () => import('@/views/classManage/studentJob.vue'),
+            },
+            {
+              path: '/jobDetail',
+              name: 'jobDetail',
+              meta: {
+                name: '浣滀笟绠$悊璇︽儏',
+              },
+              component: () => import('@/views/classManage/jobDetail.vue'),
+            },
+            {
+              path: '/testManage',
+              name: 'testManage',
+              meta: {
+                name: '娴嬭瘯绠$悊',
+              },
+              component: () => import('@/views/classManage/testManage.vue'),
+            },
+            {
+              path: '/jobAnalysis',
+              name: 'jobAnalysis',
+              meta: {
+                name: '浣滀笟鍒嗘瀽',
+              },
+              component: () => import('@/views/classManage/jobAnalysis.vue'),
+            },
+            {
+              path: '/teachInteraction',
+              name: 'teachInteraction',
+              meta: {
+                name: '鏁欏浜掑姩',
+              },
+              component: () => import('@/views/classManage/teachInteraction.vue'),
+            },
+            {
+              path: '/interactionDetail',
+              name: 'interactionDetail',
+              meta: {
+                name: '鏁欏浜掑姩-璇︽儏',
+              },
+              component: () => import('@/views/classManage/interactionDetail.vue'),
+            },
+            {
+              path: '/talkingPoint',
+              name: 'talkingPoint',
+              meta: {
+                name: '璇濋',
+              },
+              component: () => import('@/views/classManage/talkingPoint.vue'),
+            },
+            {
+              path: '/talkDetail',
+              name: 'talkDetail',
+              meta: {
+                name: '璇濋',
+              },
+              component: () => import('@/views/classManage/talkDetail.vue'),
+            },
+            {
+              path: '/info',
+              name: 'info',
+              meta: {
+                name: '鐝骇閫氱煡鍒楄〃',
+              },
+              component: () => import('@/views/classManage/infoList.vue'),
+            },
+          ],
+        },
       ],
     },
   ],

--
Gitblit v1.9.1