const ChildrenRoutes = [
  /** 首页 **/
  {
    path: '/home',
    name: 'Home',
    component: () => import('../views/Home/Home.vue'),
    meta: {
      isBack: false,
      isTab: true,
      title: '首页'
    }
  },
  {
    path: '/production',
    name: 'Production',
    component: () => import('../views/Production/Production.vue'),
    meta: {
      isBack: false,
      isTab: true,
      title: '生产'
    }
  },
  {
    path: '/warn',
    name: 'Warn',
    component: () => import('../views/Warn/Warn.vue'),
    meta: {
      isBack: false,
      isTab: true,
      title: '预警'
    }
  },
  {
    path: '/mine',
    name: 'Mine',
    component: () => import('../views/Mine/Mine.vue'),
    meta: {
      isBack: false,
      isTab: true,
      title: '我的'
    }
  },
  {
    path: '/task',
    name: 'Task',
    component: () => import('../views/Task/Task.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '任务巡检'
    }
  },
  {
    path: '/taskDetail',
    name: 'TaskDetail',
    component: () => import('../views/Task/TaskDetail.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '任务巡检详情'
    }
  },
  {
    path: '/daily',
    name: 'Daily',
    component: () => import('../views/Daily/Daily.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '日常巡检'
    }
  },
  {
    path: '/dailyDetail',
    name: 'DailyDetail',
    component: () => import('../views/Daily/DailyDetail.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '日常巡检详情'
    }
  },
  {
    path: '/history',
    name: 'History',
    component: () => import('../views/History/History.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '历史巡检'
    }
  },
  {
    path: '/env',
    name: 'Env',
    component: () => import('../views/Env/Env.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '智能环控'
    }
  },
  {
    path: '/energy',
    name: 'Energy',
    component: () => import('../views/Energy/Energy.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '智能能耗'
    }
  },
  {
    path: '/feed',
    name: 'Feed',
    component: () => import('../views/Feed/Feed.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '精准饲喂'
    }
  },
  {
    path: '/feedDetail',
    name: 'FeedDetail',
    component: () => import('../views/Feed/FeedDetail.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '精准饲喂详情'
    }
  },
  {
    path: '/ai',
    name: 'Ai',
    component: () => import('../views/Ai/Ai.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: 'AI巡检'
    }
  },
  {
    path: '/video',
    name: 'Video',
    component: () => import('../views/Video/Video.vue'),
    meta: {
      isBack: true,
      isTab: false,
      title: '视频监控'
    }
  }
]

export default ChildrenRoutes
