import Layout from '@/page/index/'


export default [{
  path: '/info',
  component: Layout,
  redirect: '/info/index',
  children: [{
    path: 'index',
    name: '个人信息',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/admin/user/info')
  }]
}, {
  path: '/activti',
  component: Layout,
  redirect: '/activti/detail',
  children: [{
    path: 'detail/:id',
    component: () =>
      import(/* webpackChunkName: "views" */ '@/views/activiti/detail')
  }]
}, {
  path: '/userMgt',
  component: Layout,
  redirect: '/userMgt/index',
  children: [{
    path: 'detail',
    component: () =>
      import(/* webpackChunkName: "views" */ '@/views/userMgt/components/UserDetails')
  }]
},
  // 商家-商品
  {
    path: '/businessGoods',
    component: Layout,
    redirect: '/businessGoods/index',
    children: [{
      path: 'update',
      component: () =>
        import('@/views/businessGoods/update')
    },{
      path: 'details',
      component: () =>
        import('@/views/businessGoods/details')
    },]
  },
  // 商家-订单
  {
    path: '/businessOrder',
    component: Layout,
    redirect: '/businessOrder/index',
    children: [{
      path: 'details',
      component: () =>
        import('@/views/businessOrder/details')
    }]
  },


]
