123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- import Vue from 'vue'
- import Router from 'vue-router'
- import ElementUI from 'element-ui'
- import 'element-ui/lib/theme-chalk/index.css'
- import login from '@/components/login'
- import index from '@/components/index'
- import indexGM from '@/components/GM/indexGM'
- import studentIndex from '@/components/studentIndex'
- import studioIndex from '@/components/studio/index'
- import courseDetail from '@/components/courseDetail'
- import courseDetailS from '@/components/student/courseDetail'
- import courseDetailStudio from '@/components/studio/courseDetail'
- import courseDetailNT from '@/components/noTerminal/courseDetail'
- import courseDetailGM from '@/components/GM/courseDetailGM'
- import mine from '@/components/mine'
- import project from '@/components/project'
- import works from '@/components/works'
- import worksGM from '@/components/GM/worksGM'
- import score from '@/components/score'
- import notice from '@/components/notice'
- import noticeDetail from '@/components/noticeDetail'
- import study from '@/components/study'
- import liveRoom from '@/components/liveRoom'
- import liveProjectDetail from '@/components/liveProjectDetail'
- import audioDemo from '@/components/audioDemo'
- import cameraDemo from '@/components/cameraDemo'
- import studyStudent from '@/components/studyStudent'
- import studyStudentS from '@/components/student/studyStudent'
- import studyStudentStudio from '@/components/studio/studyStudent'
- import studyStudentNT from '@/components/noTerminal/studyStudent'
- import studyStudentGM from '@/components/GM/studyStudentGM'
- import pdf from '@/components/pdf'
- Vue.use(Router).use(ElementUI)
- export default new Router({
- routes: [
- // {
- // path: '/login',
- // name: 'login',
- // component: login
- // },
- {
- path: '/',
- redirect: '/index'
- },
- {
- path: '/index',
- name: 'index',
- component: index,
- requireAuth: ''
- },
- {
- path: '/studentIndex',
- name: 'studentIndex',
- component: studentIndex,
- requireAuth: ''
- },
- {
- path: '/indexGM',
- name: 'indexGM',
- component: indexGM,
- requireAuth: ''
- },
- {
- path: '/courseDetail',
- name: 'courseDetail',
- component: courseDetail,
- requireAuth: ''
- },
- {
- path: '/courseDetailGM',
- name: 'courseDetailGM',
- component: courseDetailGM,
- requireAuth: ''
- },
- {
- path: '/mine',
- name: 'mine',
- component: mine,
- requireAuth: ''
- },
- {
- path: '/project',
- name: 'project',
- component: project,
- requireAuth: ''
- },
- {
- path: '/works',
- name: 'works',
- component: works,
- requireAuth: ''
- },
- {
- path: '/worksGM',
- name: 'worksGM',
- component: worksGM,
- requireAuth: ''
- },
- {
- path: '/score',
- name: 'score',
- component: score,
- requireAuth: ''
- },
- {
- path: '/notice',
- name: 'notice',
- component: notice,
- requireAuth: ''
- },
- {
- path: '/noticeDetail',
- name: 'noticeDetail',
- component: noticeDetail,
- requireAuth: ''
- },
- {
- path: '/study',
- name: 'study',
- component: study,
- requireAuth: ''
- },
- {
- path: '/liveRoom',
- name: 'liveRoom',
- component: liveRoom,
- requireAuth: ''
- },
- {
- path: '/liveProjectDetail',
- name: 'liveProjectDetail',
- component: liveProjectDetail,
- requireAuth: ''
- },
- {
- path: '/audioDemo',
- name: 'audioDemo',
- component: audioDemo,
- requireAuth: ''
- },
- {
- path: '/cameraDemo',
- name: 'cameraDemo',
- component: cameraDemo,
- requireAuth: ''
- },
- {
- path: '/studyStudent',
- name: 'studyStudent',
- component: studyStudent,
- requireAuth: ''
- },{
- path: '/studyStudentGM',
- name: 'studyStudentGM',
- component: studyStudentGM,
- requireAuth: ''
- },{
- path: '/pdf',
- name: 'pdf',
- component: pdf,
- requireAuth: ''
- },
- {
- path: '/studyStudentS',
- name: 'studyStudentS',
- component: studyStudentS,
- requireAuth: ''
- }, {
- path: '/courseDetailS',
- name: 'courseDetailS',
- component: courseDetailS,
- requireAuth: ''
- },
- {
- path: '/studyStudentNT',
- name: 'studyStudentNT',
- component: studyStudentNT,
- requireAuth: ''
- }, {
- path: '/courseDetailNT',
- name: 'courseDetailNT',
- component: courseDetailNT,
- requireAuth: ''
- }, {
- path: '/studioIndex',
- name: 'studioIndex',
- component: studioIndex,
- requireAuth: ''
- }, {
- path: '/courseDetailStudio',
- name: 'courseDetailStudio',
- component: courseDetailStudio,
- requireAuth: ''
- }, {
- path: '/studyStudentStudio',
- name: 'studyStudentStudio',
- component: studyStudentStudio,
- requireAuth: ''
- }
- ]
- })
|