/*
 * @name:
 * @author: Zhang Weiwei
 * @created_date: Do not edit
 * @description:
 */
// 用途：app模块路由配置

//定义相关组件
const notFound = () => import('@/views/app/404')

export default [
  {
    path: '/404',
    component: notFound,
    meta: {
      title: '404'
    }
  },
  {
    path: '*',
    redirect: '/404'
  },
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    component: () => import('@/views/app/layout/Layout.vue'),
    redirect: '/home',
    children: [
      {
        path: '/home',
        component: () => import('@/views/home/home.vue'),
        meta: {
          title: '首页'
        }
      },
      {
        path: '/service/:ecosystem',
        name: 'service',
        meta:{
          title: '服务'
        },
        component: () => import('@/views/service/service-t.vue')
      },
      {
        path: '/service-info/:ecosystem/:position',
        name: 'service-info',
        component: () => import('@/views/service/views/service-info.vue'),
        meta: {
          title: '健康管理'
        }
      }
    ]
  }
]
