From 5f00696dfb25bc90034448ceb634ed1ef256681a Mon Sep 17 00:00:00 2001
From: qiyunfeng-create <1940665526@qq.com>
Date: 星期四, 21 八月 2025 21:13:35 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/xiehe_website

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

diff --git a/src/router/index.js b/src/router/index.js
new file mode 100644
index 0000000..9e6270a
--- /dev/null
+++ b/src/router/index.js
@@ -0,0 +1,265 @@
+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),
+  routes: [
+    {
+      path: '/',
+      name: 'layout',
+      component: PageLayout,
+      redirect: { name: 'home' },
+      children: [
+        {
+          path: '/home',
+          name: 'home',
+          component: HomeView,
+        },
+        {
+          path: '/aboutUs',
+          name: 'aboutUs',
+          component: aboutUs,
+        },
+        {
+          path: '/bookdetail',
+          name: 'bookdetail',
+          component: bookdetail,
+        },
+        {
+          path: '/bookStore',
+          name: 'bookStore',
+          component: bookStore,
+        },
+        //涓汉涓績
+        {
+          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'),
+            },
+          ],
+        },
+      ],
+    },
+  ],
+})
+
+export default router

--
Gitblit v1.9.1