// 基础路由
// @ts-ignore
import LAYOUT from '@/layout/index.vue'

export default {
    path: '/',
    name: 'Layout',
    component: LAYOUT,
    redirect: '/SearchGrade',
    meta: {
        orderNo: 1,
        icon: 'ion:grid-outline',
        title: 'vue3 平台',
    },
    children: [
        {
            path: 'SearchGrade',
            name: 'SearchGrade',
            component: () => import('@/components/SearchGrade.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: 'csdn查分',
            },
        },
        {
            path: 'GameChart',
            name: 'GameChart',
            component: () => import('@/components/GameChart.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: 'vue3赛道可视化',
            },
        },
        {
            path: 'Draw',
            name: 'Draw',
            component: () => import('@/components/draw/Draw.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '抽奖',
            },
        },
        {
            path: 'Drag',
            name: 'Drag',
            component: () => import('@/components/drag/Drag.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '拼图',
            },
        },
        {
            path: 'Commit',
            name: 'Commit',
            component: () => import('@/components/commit/Commit.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '大模型分析评论',
            },
        },
        {
            path: 'visual',
            name: 'visual',
            component: () => import('@/components/visual/index.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '2023编码可视化',
            },
        },
        {
            path: 'visualHtml',
            name: 'visualHtml',
            component: () => import('@/components/visualHtml/index.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '可视化html',
            },
        },
        {
            path: 'visualPerformance',
            name: 'visualPerformance',
            component: () => import('@/components/visualPerformance/index.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '可视化性能指标',
            },
        },
        {
            path: 'visualSort',
            name: 'visualSort',
            component: () => import('@/components/visualSort/index.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '可视化排序',
            },
        },
        {
            path: 'scrollDemo',
            name: 'scrollDemo',
            component: () => import('@/components/scrollDemo/index.vue'),
            meta: {

                icon: 'ion:grid-outline',
                title: '滚动加载',
            },
        }
    ],
};
