/* Layout */
import Layout from '@/layout'

const vipRoutes = [
  {
    path: '/vip',
    component: Layout,
    redirect: '/vip/vip-open',
    name: 'Member',
    meta: { title: '权益与支付', noCache: true },
    alwaysShow: false,
    hidden: true,
    children: [
      {
        path: 'vip-open',
        component: () => import('@/views/normal/vip'),
        name: 'VipOpen',
        meta: { title: '开通会员', noCache: true },
        hidden: true
      },
      {
        path: 'vip-renewal',
        component: () => import('@/views/normal/vip'),
        name: 'VipRenewal',
        meta: { title: '续费会员', noCache: true },
        hidden: true
      },
      {
        path: 'vip-pay',
        component: () => import('@/views/normal/vip/buy'),
        name: 'VipPay',
        meta: { title: '购买会员', noCache: true },
        hidden: true
      }
    ]
  }
]

export default vipRoutes
