ipage.js 4.71 KB
const ipageRouter = {
    path: '/ipage',
    meta: {
        permissionPath: 'ipage'
    },
    component: () =>
        import ('@/views/iPage/index'),
    children: [{
        path: '/ipage/ipageaccount',
        name: 'ipageaccount',
        meta: {
            permissionPath: 'ipageaccount'
        },
        component: () =>
            import ('@/views/iPage/account/index')
    }, {
        path: '/ipage/ipagemalllive',
        name: 'ipagemalllive',
        meta: {
            permissionPath: 'ipagemalllive'
        },
        component: () =>
            import ('@/views/iPage/mall/liveroom/index')
    }, {
        path: '/ipage/ipageStatistics',
        name: 'ipageStatistics',
        meta: {
            permissionPath: 'ipageStatistics'
        },
        component: () =>import ('@/views/iPage/mall'),
        children:[{
            path: 'day',
            name: 'ipageStatistics',
            meta: {
                permissionPath: 'ipageStatistics'
            },
            component: () =>
                import ('@/views/iPage/mall/dayS')
        }, {
            path: 'month',
            name: 'ipageStatistics',
            meta: {
                permissionPath: 'ipageStatistics'
            },
            component: () =>
                import ('@/views/iPage/mall/monthS')
        }, {
            path: 'year',
            name: 'ipageStatistics',
            meta: {
                permissionPath: 'ipageStatistics'
            },
            component: () =>
                import ('@/views/iPage/mall/yearS')
        }
      ]
    }, {
            path: '/ipage/ipagemallday',
            name: 'ipagemallday',
            meta: {
                permissionPath: 'ipagemallday'
            },
            component: () =>
                import ('@/views/iPage/mall/day')
        }, {
            path: '/ipage/ipagemallmonth',
            name: 'ipagemallmonth',
            meta: {
                permissionPath: 'ipagemallmonth'
            },
            component: () =>
                import ('@/views/iPage/mall/month')
        }, {
            path: '/ipage/ipagemallyear',
            name: 'ipagemallyear',
            meta: {
                permissionPath: 'ipagemallyear'
            },
            component: () =>
                import ('@/views/iPage/mall/year')
        },{
        path: '/ipage/ipagefloorday',
        name: 'ipagefloorday',
        meta: {
            permissionPath: 'ipagefloorday'
        },
        component: () =>
            import ('@/views/iPage/floor/day')
    }, {
        path: '/ipage/ipagefloormonth',
        name: 'ipagefloormonth',
        meta: {
            permissionPath: 'ipagefloormonth'
        },
        component: () =>
            import ('@/views/iPage/floor/month')
    }, {
        path: '/ipage/ipageflooryear',
        name: 'ipageflooryear',
        meta: {
            permissionPath: 'ipageflooryear'
        },
        component: () =>
            import ('@/views/iPage/floor/year')
    }, {
        path: '/ipage/ipagezoneday',
        name: 'ipagezoneday',
        meta: {
            permissionPath: 'ipagezoneday'
        },
        component: () =>
            import ('@/views/iPage/zone/day')
    }, {
        path: '/ipage/ipagezonemonth',
        name: 'ipagezonemonth',
        meta: {
            permissionPath: 'ipagezonemonth'
        },
        component: () =>
            import ('@/views/iPage/zone/month')
    }, {
        path: '/ipage/ipagezoneyear',
        name: 'ipagezoneyear',
        meta: {
            permissionPath: 'ipagezoneyear'
        },
        component: () =>
            import ('@/views/iPage/zone/year')
    }, {
        path: '/ipage/ipageformatday',
        name: 'ipageformatday',
        meta: {
            permissionPath: 'ipageformatday'
        },
        component: () =>
            import ('@/views/iPage/format/day')
    }, {
        path: '/ipage/ipageformatmonth',
        name: 'ipageformatmonth',
        meta: {
            permissionPath: 'ipageformatmonth'
        },
        component: () =>
            import ('@/views/iPage/format/month')
    }, {
        path: '/ipage/ipageformatyear',
        name: 'ipageformatyear',
        meta: {
            permissionPath: 'ipageformatyear'
        },
        component: () =>
            import ('@/views/iPage/format/year')
    }, {
        path: '/ipage/ipagetime',
        name: 'ipagetime',
        meta: {
            permissionPath: 'ipagetime'
        },
        component: () =>
            import ('@/views/iPage/activity/time')
    }, {
        path: '/ipage/ipagematch',
        name: 'ipagematch',
        meta: {
            permissionPath: 'ipagematch'
        },
        component: () =>
            import ('@/views/iPage/activity/match')
    }]
}
export default ipageRouter