route.js 4.53 KB
/*
 * @Date: 2024-08-26 10:42:15
 * @LastEditors: hookehuyr hookehuyr@gmail.com
 * @LastEditTime: 2024-11-29 14:06:03
 * @FilePath: /hager/src/route.js
 * @Description: 文件描述
 */
export default [{
  path: '/',
  name: '首页',
  component: () => import('@/views/index'),
  meta: {
    title: '首页 | Hager China',
    tag: 'index'
  },
  children: []
}, {
  path: '/product/index',
  name: '二级目录',
  component: () => import('@/views/product/index'),
  meta: {
    title: '海格电气',
    tag: 'product'
  },
  children: []
}, {
  path: '/product/detail',
  name: '详情页',
  component: () => import('@/views/product/detail'),
  meta: {
    title: '海格电气',
    tag: 'product'
  },
  children: []
}, {
  path: '/solution/index',
  name: '解决方案',
  component: () => import('@/views/solution/index'),
  meta: {
    title: '解决方案 | Hager China',
    tag: 'solution'
  },
  children: []
}, {
  path: '/solution/detail',
  name: '解决方案详情',
  component: () => import('@/views/solution/detail'),
  meta: {
    title: '解决方案 | Hager China',
    tag: 'solution'
  },
  children: []
}, {
  path: '/solution/case',
  name: '成功案例',
  component: () => import('@/views/solution/case'),
  meta: {
    title: '解决方案 | Hager China',
    tag: 'solution'
  },
  children: []
}, {
  path: '/about',
  name: '关于海格',
  component: () => import('@/views/about'),
  meta: {
    title: '关于海格 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/global',
  name: '海格全球',
  component: () => import('@/views/about/global'),
  meta: {
    title: '海格全球 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/china',
  name: '海格电气在中国',
  component: () => import('@/views/about/china'),
  meta: {
    title: '海格电气在中国 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/design',
  name: '创新设计',
  component: () => import('@/views/about/design'),
  meta: {
    title: '创新设计 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/product',
  name: '生产研发',
  component: () => import('@/views/about/product'),
  meta: {
    title: '生产研发 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/development',
  name: '可持续发展',
  component: () => import('@/views/about/development'),
  meta: {
    title: '可持续发展 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/about/honors',
  name: '荣誉展示',
  component: () => import('@/views/about/honors'),
  meta: {
    title: '荣誉展示 | Hager China',
    tag: 'about'
  },
  children: []
}, {
  path: '/concat',
  name: '联系我们',
  component: () => import('@/views/concat'),
  meta: {
    title: '联系我们 | Hager China',
    tag: 'concat'
  },
  children: []
}, {
  path: '/news',
  name: '新闻中心',
  component: () => import('@/views/news/index'),
  meta: {
    title: '新闻中心 | Hager China',
    tag: 'news'
  },
  children: []
}, {
  path: '/news/detail',
  name: '新闻详情',
  component: () => import('@/views/news/detail'),
  meta: {
    title: '新闻详情 | Hager China',
    tag: 'news'
  },
  children: []
}, {
  path: '/recruit',
  name: '招聘信息',
  component: () => import('@/views/recruit'),
  meta: {
    title: '招聘信息 | Hager China',
    tag: 'recruit'
  },
  children: []
}, {
  path: '/user',
  name: '用户管理',
  component: () => import('@/views/user/index'),
  meta: {
    title: '用户管理 | Hager China',
    tag: 'user'
  },
  children: [
    {
      path: 'login',
      name: '用户登录',
      component: () => import('@/views/user/login'),
      meta: {
        title: '用户登录 | Hager China',
        tag: 'login'
      },
    },
    {
      path: 'register',
      name: '用户注册',
      component: () => import('@/views/user/register'),
      meta: {
        title: '用户注册 | Hager China',
        tag: 'register'
      },
    },
    {
      path: 'info',
      name: '用户信息',
      component: () => import('@/views/user/info'),
      meta: {
        title: '用户信息 | Hager China',
        tag: 'info'
      },
    },
    {
      path: 'reset',
      name: '密码重置',
      component: () => import('@/views/user/reset'),
      meta: {
        title: '密码重置 | Hager China',
        tag: 'reset'
      },
    },
  ]
}, {
  path: '/search',
  name: '搜索结果',
  component: () => import('@/views/search'),
  meta: {
    title: '搜索结果 | Hager China',
    tag: 'search'
  },
  children: []
}]