From cf7e71c6d0fb64eeb6b5deac540da843b4bb465c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期二, 26 八月 2025 10:41:52 +0800 Subject: [PATCH] 关于我们-理念与品牌文化 --- src/router/index.js | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 158 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 839faac..0a1b4df 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -27,11 +27,33 @@ path: '/bookdetail', name: 'bookdetail', component: bookdetail, + meta: { + scrollToTop: true, + }, + }, + { + path: '/search', + name: 'search', + meta: { + name: '鎼滅储', + }, + component: () => import('@/views/home/search.vue'), }, { path: '/bookStore', name: 'bookStore', component: bookStore, + meta: { + scrollToTop: true, + }, + }, + { + path: '/textBookApply', + name: 'textBookApply', + component: () => import('@/views/bookStore/textBookApply.vue'), + meta: { + scrollToTop: true, + }, }, //涓汉涓績 { @@ -63,7 +85,7 @@ path: '/myBook', name: 'myBook', meta: { - name: '鍥句功', + name: '涔︽灦', }, component: () => import('@/views/personalCenter/myBook.vue'), }, @@ -123,11 +145,146 @@ }, 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'), + }, ], }, ], }, ], + scrollBehavior(to, from, savedPosition) { + return { x: 0, y: 0 } + }, }) export default router -- Gitblit v1.9.1