import { TableOutlined, HomeOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: 'homebanner/index',
        name: 'homebanner',
        component: 'pages/homeBanner/index.vue',
        meta: {
            icon: HomeOutlined,
            title: '首页轮播图',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'neighborhood/index',
        name: 'neighborhood',
        component: 'pages/neighborhood/index.vue',
        meta: {
            icon: TableOutlined,
            title: '邻里圈轮播图',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'announcementList/index',
        name: 'announcementList',
        component: 'pages/announcementList/index.vue',
        meta: {
            icon: 'icon-gonggao',
            title: '社区公告',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
        {
        path: 'aiHelper/index',
        name: 'aiHelper',
        component: 'pages/aiHelper/index.vue',
        meta: {
            icon: 'icon-rengongzhinengbeifen',
            title: 'ai助手',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'activity/index',
        name: 'activity',
        component: 'pages/activity/index.vue',
        meta: {
            icon: 'icon-huodongliebiao-copy',
            title: '热门活动',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'nbdMutual',
        name: 'nbdMutual',
        component: 'RouteViewLayout',
        meta: {
            icon: 'icon-cooperation',
            title: '邻里互助',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'nbdMutual/nbdMutualAid',
                name: 'nbdMutualAid',
                component: 'pages/nbdMutual/nbdMutualAid/index.vue',
                meta: {
                    icon: '',
                    title: '邻里互助',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            // {
            //     path: 'nbdMutual/mutualComment',
            //     name: 'mutualComment',
            //     component: 'pages/nbdMutual/mutualComment/index.vue',
            //     meta: {
            //         icon: 'icon-huodongliebiao-copy',
            //         title: '求助评论',
            //         isMenu: true,
            //         keepAlive: true,
            //         permission: '*',
            //     },
            // },
        ],
    },
    {
        path: 'workOrder',
        name: 'workOrder',
        component: 'RouteViewLayout',
        meta: {
            icon: 'icon-gongdan',
            title: '工单列表',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'workOrder/orderType',
                name: 'orderType',
                component: 'pages/workOrder/orderType/index.vue',
                meta: {
                    icon: '',
                    title: '功能类型',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'workOrder/orderList',
                name: 'orderList',
                component: 'pages/workOrder/orderList/index.vue',
                meta: {
                    icon: '',
                    title: '工单列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'workOrder/orderArea',
                name: 'orderArea',
                component: 'pages/workOrder/orderArea/index.vue',
                meta: {
                    icon: '',
                    title: '工单区域管理',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
    {
        path: 'server',
        name: 'server',
        component: 'RouteViewLayout',
        meta: {
            icon: 'icon-zhoubian',
            title: '周边服务',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'server/serverType',
                name: 'serverType',
                component: 'pages/server/serverType/index.vue',
                meta: {
                    icon: '',
                    title: '门店类型',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'server/serverList',
                name: 'serverList',
                component: 'pages/server/serverList/index.vue',
                meta: {
                    icon: '',
                    title: '门店列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
    {
        path: 'mettingMgt',
        name: 'mettingMgt',
        component: 'RouteViewLayout',
        meta: {
            icon: 'icon-huiyishi1',
            title: '会客厅管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'mettingMgt/mettingRoom',
                name: 'mettingRoom',
                component: 'pages/mettingMgt/mettingList/index.vue',
                meta: {
                    icon: '',
                    title: '会客厅',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'mettingMgt/mettingYuYue',
                name: 'mettingYuYue',
                component: 'pages/mettingMgt/mettingYuYue/index.vue',
                meta: {
                    icon: '',
                    title: '会客厅预约',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
    {
        path: 'customer/index',
        name: 'customer',
        component: 'pages/user/index.vue',
        meta: {
            icon: 'icon-yonghu',
            title: '用户管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'abbreviation/index',
        name: 'abbreviation',
        component: 'pages/abbreviationList/index.vue',
        meta: {
            icon: 'icon-yonghu',
            title: '活动报名',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    },
    {
        path: 'vote/index',
        name: 'vote',
        component: 'pages/vote/index.vue',
        meta: {
            icon: 'icon-huodongliebiao-copy',
            title: '信息登记',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
    }
]
