| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- import { createRouter, createWebHistory } from 'vue-router'
- import App from '../App.vue'
- // import HomePage from '../components/HomePage.vue'
- const routes = [
- { path: '/', component: () => import('../views/Login.vue') },
- { path: '/login', component: () => import('../views/Login.vue') },
- // 免登录
- { path: '/quick-login', component: () => import('../views/QuickLogin.vue') },
- // Blockly
- { path: '/blockly', component: () => import('../views/Blockly.vue') },
- { path: '/blockly2', component: () => import('../components/blockly/BlocklyEditor.vue') },
- { path: '/blockly3', component: () => import('../components/blockly/BlocklyEditor_2.vue') },
- // 首页
- {
- path: '/home',
- component: () => import('../components/HomePage.vue')
- },
- // 智能课
- {
- path: '/ai-general-course',
- component: () => import('../views/AIGeneralCourse.vue')
- },
- // AI实验室
- {
- path: '/ai-laboratory',
- component: () => import('../views/AILaboratory.vue')
- },
- // 能力测评 问卷列表
- {
- path: '/evaluation',
- component: () => import('../views/evaluation/testList.vue')
- },
- // 在线测试
- {
- path: '/testTopic',
- component: () => import('../views/evaluation/testTopic.vue')
- },
- // 个性化学习
- {
- path: '/personalized',
- component: () => import('../views/personalized/Personalized.vue')
- },
- // 测试提交
- {
- path: '/testSubmit',
- component: () => import('../views/evaluation/testSubmit.vue')
- },
- // 智能绘画
- {
- path: '/ai-painting',
- component: () => import('../views/AIPainting.vue')
- },
- // 图生图
- {
- path: '/ai-image',
- component: () => import('../views/AIImageToImage.vue')
- },
- // 图生视频
- {
- path: '/ai-video',
- component: () => import('../views/AIImageToVideo.vue')
- },
- // 智能问答
- {
- path: '/ai-questions',
- component: () => import('../views/AIQuestions.vue')
- },
- // 发展历程
- {
- path: '/ai-develop',
- component: () => import('../views/AIDevelop.vue')
- },
- // 虚拟实验室
- {
- path: '/virtual-laboratory',
- component: () => import('../views/virtuallaboratory/index.vue')
- },
- // 智能台灯
- // {
- // path: '/desk-lamp-view',
- // component: () => import('../views/virtuallaboratory/DeskLampView.vue')
- // }
- ]
- const router = createRouter({
- history: createWebHistory(),
- routes
- })
- export default router
|