const centerIndex = () => import('pages/center/centerIndex')
const account = () => import('pages/center/account')
const setting = () => import('pages/center/setting')
const setItem = () => import('pages/center/setItem')
const holder = () => import('pages/center/holder')
const bankcard = () => import('pages/center/bankcard')

export default [{
  path: "/center/account",
  name: 'centerIndex',
  component: centerIndex,
  children: [{
    path: '/center/account',
    name: 'account',
    component: account,
    meta: {
      title: "我的账户-大麦及时雨，跨境资金一站式服务",
      requireAuth: true
    }
  }, {
    path: '/center/setting',
    name: 'setting',
    component: setting,
    children: [{
      path: '/center/setting',
      name: 'setItem',
      component: setItem,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      },
    }]
  }, {
    path: '/center/holder',
    name: 'holder',
    component: holder,
    meta: {
      title: "我的账户-大麦及时雨，跨境资金一站式服务",
      requireAuth: true
    }
  }, {
    path: '/center/bankcard',
    name: 'bankcard',
    component: bankcard,
    meta: {
      title: "我的账户-大麦及时雨，跨境资金一站式服务",
      auth: true,
      requireAuth: true
    }
  }]
}]
