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

const personalRoutes = [
  {
    path: '/personal',
    component: Layout,
    redirect: '/personal/info',
    name: 'Personal',
    meta: { title: '个人资料', noCache: true },
    children: [
      {
        path: 'info',
        component: () => import('@/views/normal/personal'),
        name: 'PersonalInfo',
        meta: { title: '个人资料', noCache: true }
        // hidden: true
      },
      {
        path: 'mobile',
        component: () => import('@/views/normal/personal/set-mobile'),
        name: 'PersonalMobile',
        meta: { title: '修改手机号', noCache: true }
        // hidden: true
      },
      {
        path: 'account',
        component: () => import('@/views/normal/personal/set-account'),
        name: 'PersonalAccount',
        meta: { title: '绑定登录账号', noCache: true }
        // hidden: true
      },
      {
        path: 'vip-record',
        component: () => import('@/views/normal/personal/vip-record'),
        name: 'PersonalVipRecord',
        meta: { title: '会员购买记录', noCache: true }
        // hidden: true
      }
    ]
  }
]

export default personalRoutes
