import type { RouteRecordRawWithMeta } from '../../routes'

export default <RouteRecordRawWithMeta>{
    path: '/xsd',
    component: () => import('@/components/CommonHeader/index.vue'),
    name: 'xsd_lljl_head',
    meta: {
        hidden: true,
        sort: 4,
        title: '学生端',
        breadcrumb: false,
    },
    redirect: { name: 'xsd_personal_lljl_index' },
    children: [
        {
            path: 'xsd_person',
            component: () => import('@/pages/xsd/index.vue'),
            name: 'xsd_personal_lljl_index',
            meta: {
                hidden: true,
                sort: 5,
                title: '个人中心',
                breadcrumb: false,
            },
            redirect: { name: 'xsd_personal_lljl' },
            children: [
                {
                    path: 'lljl',
                    component: () => import('@/pages/xsd/lljl/index.vue'),
                    name: 'xsd_personal_lljl',
                    meta: {
                        hidden: false,
                        sort: 0,
                        title: '我的浏览记录',
                        breadcrumb: false,
                    },
                }
            ]
        }
    ]
}