const portalIndex = () => import('pages/portal/index')
//交易明细
const dealTitle = () => import('pages/query/dealTitle')
const deal = () => import('pages/query/deal')
const dealDetail = () => import('pages/query/dealDetail')
const downloadDeal = () => import('pages/query/downloadDeal')
const downloadReceipt = () => import('pages/query/downloadReceipt')
//资金明细
const fundTitle = () => import('pages/query/fundTitle')
const fund = () => import('pages/query/fund')
const fundDetail = () => import('pages/query/fundDetail')
const downloadFund = () => import('pages/query/downloadFund')

export default [{
  path: '/account',
  name: 'portalIndex',
  component: portalIndex,
  children: [{
    path: '/record/deal',
    name: 'dealTitle',
    component: dealTitle,
    children: [{
      path: "/",
      nama: "deal",
      component: deal,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }, {
      path: "detail",
      nama: "dealDetail",
      component: dealDetail,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }, {
      path: "record",
      nama: "downloadDeal",
      component: downloadDeal,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }, {
      path: "receipt",
      nama: "downloadReceipt",
      component: downloadReceipt,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }]
  }, {
    path: '/record/fund',
    name: 'fundTitle',
    component: fundTitle,
    children: [{
      path: "/",
      nama: "fund",
      component: fund,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }, {
      path: "detail",
      nama: "fundDetail",
      component: fundDetail,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }, {
      path: "fund",
      nama: "downloadFund",
      component: downloadFund,
      meta: {
        title: "我的账户-大麦及时雨，跨境资金一站式服务",
        requireAuth: true
      }
    }]
  }]
}]
