// 不需要登录的路由
export default [
  {
    path: '/student-register',
    name: 'student-register',
    component: () => import('@/views/student-register/index'),
    meta: {
      title: '学生登记'
    }
  },
  {
    path: '/goods-list',
    component: () => import('@/views/student-register/shop-mall/goods-list'),
    meta: {
      title: '商品列表'
    }
  },
  {
    path: '/goodsDetail',
    component: () =>
      import('@/views/student-register/shop-mall/goods-detail/index'),
    meta: {
      title: '商品列表'
    }
  },
  {
    path: '/student-digital-tools',
    component: () => import('@/views/student-register/digital-tools/index'),
    meta: {
      title: '数字化乐器学练工具'
    }
  },
  {
    path: '/courseware-play',
    component: () => import('@/views/courseware-play/index'),
    meta: {
      title: '课件播放'
    }
  },

  {
    path: '/payment-result',
    name: 'payment-result',
    component: () => import('@/views/payment-result/index'),
    meta: {
      title: '支付详情'
    }
  },
  {
    path: '/payCenter',
    name: 'payCenter',
    component: () => import('@/views/adapay/pay-center'),
    meta: {
      title: '支付'
    }
  },
  {
    path: '/payDefine',
    name: 'payDefine',
    component: () => import('@/views/adapay/pay-define'),
    meta: {
      title: '支付'
    }
  },
  {
    path: '/payResult',
    name: 'payResult',
    component: () => import('@/views/adapay/pay-result'),
    meta: {
      title: '支付'
    }
  },
  {
    path: '/preview-protocol',
    name: 'preview-protocol',
    component: () => import('@/views/preview-protocol/index'),
    meta: {
      title: '课堂乐器注册协议'
    }
  },
  {
    path: '/privacy-protocol',
    name: 'privacy-protocol',
    component: () => import('@/views/preview-protocol/privacy'),
    meta: {
      title: '课堂乐器隐私政策'
    }
  },
  {
    path: '/download',
    name: 'download',
    component: () => import('@/views/download/index'),
    meta: {
      title: '下载酷乐秀课堂乐器'
    }
  },
  {
    path: '/transfer',
    name: 'transfer',
    component: () => import('@/views/download/transfer'),
    meta: {
      title: '下载酷乐秀课堂乐器'
    }
  },
  {
    path: '/help-center',
    name: 'help-center',
    component: () => import('@/views/information/help-center/index'),
    meta: {
      title: '帮助中心'
    }
  },
  {
    path: '/help-detail',
    name: 'help-detail',
    component: () => import('@/views/information/help-center/detail'),
    meta: {
      title: '帮助中心详情'
    }
  },
  {
    path: '/information-list',
    name: 'information-list',
    component: () => import('@/views/information'),
    meta: {
      title: '资讯列表'
    }
  },
  {
    path: '/information-detail',
    name: 'information-detail',
    component: () => import('@/views/information/information-detail'),
    meta: {
      title: '资讯详情'
    }
  },
  {
    path: '/notice-detail',
    name: 'notice-detail',
    component: () => import('@/views/information/notice-detail'),
    meta: {
      title: '公告详情'
    }
  },
  {
    path: '/school-register',
    name: 'school-register',
    component: () => import('@/views/school-register/index'),
    meta: {
      title: '学校登记'
    }
  },
  {
    path: '/teaher-register',
    name: 'teaher-register',
    component: () => import('@/views/teaher-register/index'),
    meta: {
      title: '老师注册'
    }
  },
  {
    path: '/guide',
    name: 'guide',
    component: () => import('@/views/guide/guide'),
    meta: {
      title: '投屏帮助'
    }
  },
  {
    path: '/:pathMatch(.*)*',
    component: () => import('@/views/404'),
    meta: {
      title: '404'
    }
  }
];
