123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- import { createRouter, createWebHashHistory } from "vue-router";
- export default createRouter({
- history: createWebHashHistory(),
- routes: [
- {
- path: '',
- redirect: '/home'
- },
- {
- path: '/home',
- name: 'home',
- title: '首页',
- component: () => import("~/pages/home/index.vue"),
- },
- {
- path: '/zhjy',
- name: 'zhjy',
- component: () => import("~/pages/zhjy/index.vue"),
- },
- {
- path: '/zhjy/zhjyzxxx',
- name: "zhjy_zhjyzxxx",
- component: () => import("~/pages/zhjy/zhjyzxxx/index.vue"),
- },
- {
- path: '/zhjy/zhjyzxxx/zxxxxq',
- name: "zhjy_zhjyzxxx_zxxxxq",
- component: () => import("~/pages/zhjy/zhjyzxxx/zxxxxq/index.vue"),
- },
- {
- path: '/zhjy/zhjyzxxx/zxxxsp',
- name: "zhjy_zhjyzxxx_zxxxsp",
- component: () => import("~/pages/zhjy/zhjyzxxx/zxxxsp/index.vue"),
- },
- {
- path: '/zhjy/zhjyxtbk',
- name: "zhjy_zhjyxtbk",
- component: () => import("~/pages/zhjy/zhjyxtbk/index.vue"),
- },
- {
- path: '/zhjy/zhjyxtbk/xtbknr',
- name: "zhjy_zhjyxtbk_xtbknr",
- component: () => import("~/pages/zhjy/zhjyxtbk/xtbknr/index.vue"),
- },
- {
- path: '/zhjy/zhjytbjy',
- name: "zhjy_zhjytbjy",
- component: () => import("~/pages/zhjy/zhjytbjy/index.vue"),
- },
- {
- path: '/zhjy/zhjytbjy/tbjynr',
- name: "zhjy_zhjytbjy_tbjynr",
- component: () => import("~/pages/zhjy/zhjytbjy/tbjynr/index.vue"),
- },
- {
- path: '/ysgc',
- name: 'ysgc',
- component: () => import("~/pages/ysgc/index.vue"),
- },
- {
- path: '/ysgc_detail',
- name: 'ysgc_detail',
- component: () => import('~/pages/ysgc/ysgc_detail/index.vue')
- },
- {
- path: '/szmsg',
- name: 'szmsg',
- component: () => import("~/pages/szmsg/index.vue"),
- },
- {
- path: '/tzkc',
- name: 'tzkc',
- component: () => import('~/pages/szmsg/tzkc/index.vue'),
- },
- {
- path: '/tzkc_detail',
- name: 'tzkc_detail',
- component: () => import('~/pages/szmsg/tzkc/tzkc_detail/index.vue')
- },
- {
- path: '/yslm',
- name: 'yslm',
- component: () => import('~/pages/szmsg/yslm/index.vue')
- },
- {
- path: '/resource',
- name: 'resource',
- title: '首页',
- component: () => import("~/pages/courseResources.vue"),
- },
- {
- path: '/resourceAll',
- name: 'resourceAll',
- title: '首页',
- component: () => import("~/pages/courseResourcesAll.vue"),
- },
- {
- path: '/zbkt',
- title: '直播课堂',
- children: [
- {
- path: '',
- name: 'zbkt',
- component: () => import("~/pages/zbkt/index.vue"),
- },
- {
- path: 'ssys',
- children: [
- {
- path: '',
- name: 'ssys',
- component: () => import("~/pages/zbkt/ssys/index.vue"),
- },
- {
- path: 'content/:id',
- name: 'ssys_content',
- component: () => import("~/pages/zbkt/ssys/content.vue"),
- props: true
- },
- {
- path: 'rtc/:id',
- name: 'ssys_rtc',
- component: () => import("~/pages/zbkt/ssys/rtc.vue"),
- props: true
- },
- ]
- },
- {
- path: 'wlzb',
- children: [
- {
- path: '',
- name: 'wlzb',
- component: () => import("~/pages/zbkt/wlzb/index.vue"),
- },
- {
- path: 'content/:id',
- name: 'wlzb_content',
- component: () => import("~/pages/zbkt/wlzb/content.vue"),
- },
- {
- path: 'detail/:id',
- name: 'wlzb_detail',
- component: () => import("~/pages/zbkt/wlzb/detail.vue"),
- },
- ]
- },
- {
- path: 'ztzb',
- children: [
- {
- path: '',
- name: 'ztzb',
- component: () => import("~/pages/zbkt/ztzb/index.vue"),
- },
- {
- path: 'content',
- name: 'ztzb_content',
- component: () => import("~/pages/zbkt/ztzb/content.vue"),
- },
- ]
- }
- ]
- },
- {
- path: '/resourceChapter',
- name: 'resourceChapter',
- title: '课程资源章节',
- component: () => import("~/pages/courseResourcesChapter.vue"),
- },
- {
- path: '/resourceFileReview',
- name: 'resourceFileReview',
- title: '课程资源文件预览',
- component: () => import("~/pages/resourceFileReview.vue"),
- },
- {
- path: '/resourceMovReview',
- name: 'resourceMovReview',
- title: '课程资源视频预览',
- component: () => import("~/pages/resourceMovReview.vue"),
- },
- ]
- })
|