| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- 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') },
- // 相机Demo页面
- { path: '/camera-demo', component: () => import('../views/CameraDemo.vue') },
- { path: '/login', component: () => import('../views/Login.vue') },
- // 免登录
- { path: '/quick-login', component: () => import('../views/QuickLogin.vue') },
- // 首页
- {
- path: '/home',
- component: () => import('../components/HomePage.vue')
- },
- // 智能课
- {
- path: '/ai-general-course',
- component: () => import('../views/AIPage/AIGeneralCourse.vue')
- },
- // AI实验室
- {
- path: '/ai-laboratory',
- component: () => import('../views/AIPage/AILaboratory.vue')
- },
- // 英文数字人老师
- {
- path: '/ai-ennumerals',
- component: () => import('../views/EnNumerals/index.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/AIPage/AIPainting.vue')
- },
- // 图生图
- {
- path: '/ai-image',
- component: () => import('../views/AIPage/AIImageToImage.vue')
- },
- // AI头像
- {
- path: '/ai-avatar',
- component: () => import('../views/AIPage/AIAvatar.vue')
- },
- // 图生视频
- {
- path: '/ai-video',
- component: () => import('../views/AIPage/AIImageToVideo.vue')
- },
- // 智能问答
- {
- path: '/ai-questions',
- component: () => import('../views/AIPage/AIQuestions.vue')
- },
- // 发展历程
- {
- path: '/ai-develop',
- component: () => import('../views/AIPage/AIDevelop.vue')
- },
- // 虚拟实验室
- {
- path: '/virtual-laboratory',
- component: () => import('../views/virtuallaboratory/index.vue')
- },
- // Blockly
- { path: '/blockly', component: () => import('../views/block/Blockly.vue') },
- // Blockly2
- { path: '/blockly2', component: () => import('../views/block/Blockly2.vue') },
- { path: '/mapGame', component: () => import('../views/block/MapGame.vue') },
- // 编程游戏列表
- { path: '/programming', component: () => import('../views/gamepage/GameIndex.vue') },
- ]
- const router = createRouter({
- history: createWebHistory(),
- routes
- })
- export default router
|