const loanIndex = () => import('pages/storeLoan/index')
const timelyRain = () => import('pages/storeLoan/timelyRain')
const repayment = () => import('pages/storeLoan/repayment')
const repaymentType = () => import('pages/storeLoan/repaymentType')
const repaymentDetails = () => import('pages/storeLoan/repaymentDetails')
const refundInput = () => import('pages/storeLoan/refundInput')
const refundSubmit = () => import('pages/storeLoan/refundSubmit')
const refundSuccess = () => import('pages/storeLoan/refundSuccess')
const recordDown = () => import('pages/storeLoan/recordDown')
const recordDSubmit = () => import('pages/storeLoan/recordDSubmit')
const recordCapitalDetails = () => import('pages/storeLoan/recordCapitalDetails')
const recordQueryDetails = () => import('pages/storeLoan/recordQueryDetails')
const recordDialog = () => import('pages/storeLoan/recordDialog')
const borrowMoney = () => import('pages/storeLoan/borrowMoney')
const borrowMoneyempower = () => import('pages/storeLoan/borrowMoneyempower')
const borrowMoneyprocess = () => import('pages/storeLoan/borrowMoneyprocess')
const borrowMoneyFilling = () => import('pages/storeLoan/borrowMoneyFilling')
const borrowMoneyAudit = () => import('pages/storeLoan/borrowMoneyAudit')
const borrowMoneycompletion = () => import('pages/storeLoan/borrowMoneycompletion')
const borrowMoneysuccess = () => import('pages/storeLoan/borrowMoneysuccess')
const borrowMoneyapplyaudit = () => import('pages/storeLoan/borrowMoneyapplyaudit')
const borrowMoneymake = () => import('pages/storeLoan/borrowMoneymake')
const borrowMoneywrite = () => import('pages/storeLoan/borrowMoneywrite')
const recordQuery = () => import('pages/storeLoan/recordQuery')
const recordCapital = () => import('pages/storeLoan/recordCapital')
const recordAccess = () => import('pages/storeLoan/recordAccess')
const recordAccessDetails = () => import('pages/storeLoan/recordAccessDetails')
const borrowMoneyUserProtocol = () => import('pages/storeLoan/borrowMoneyUserProtocol')
const borrowMoneyapplyfail = () => import('pages/storeLoan/borrowMoneyapplyfail')



export default [{
  path: '/',
  component: loanIndex,
  children: [{
      path: '/loan',
      name: 'timelyRain',
      component: timelyRain
    },
    {
      path: '/loan/repayment',
      name: 'repayment',
      component: repayment,
      meta: {
        title: "还款",
        requireAuth: true
      }
    },
    {
      path: '/loan/repaymentType',
      name: 'repaymentType',
      component: repaymentType,
      meta: {
        title: "还款类型列表",
        requireAuth: true
      }
    },
    {
      path: '/loan/repaymentDetails',
      name: 'repaymentDetails',
      component: repaymentDetails,
      meta: {
        title: "还款详情",
        requireAuth: true
      }
    },
    {
      path: '/loan/refundInput',
      name: 'refundInput',
      component: refundInput,
      meta: {
        title: "还款提交",
        requireAuth: true
      }
    },
    {
      path: '/loan/refundSubmit',
      name: 'refundSubmit',
      component: refundSubmit,
      meta: {
        title: "还款提交",
        requireAuth: true
      }
    },
    {
      path: '/loan/refundSuccess',
      name: 'refundSuccess',
      component: refundSuccess,
      meta: {
        title: "还款成功",
        requireAuth: true
      }
    },  
    {
      path: '/loan/recordDown',
      name: 'recordDown',
      component: recordDown,
      meta: {
        title: "下载账单",
        requireAuth: true
      }
    },
    {
      path: '/loan/recordDSubmit',
      name: 'recordDSubmit',
      component: recordDSubmit,
      meta: {
        title: "下载账单申请提交",
        requireAuth: true
      }
    },
     {
      path: '/loan/recordCapitalDetails',
      name: 'recordCapitalDetails',
      component: recordCapitalDetails,
      meta: {
        title: "资金明细申请失败/通过",
        requireAuth: true
      }
    },
    {
      path: '/loan/recordQueryDetails',
      name: 'recordQueryDetails',
      component: recordQueryDetails,
      meta: {
        title: "已结清",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoney',
      name: 'borrowMoney',
      component: borrowMoney,
      meta: {
        title: "借款首页",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneyempower',
      name: 'borrowMoneyempower',
      component: borrowMoneyempower,
      meta: {
        title: "店铺授权",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneyprocess',
      name: 'borrowMoneyprocess',
      component: borrowMoneyprocess,
      meta: {
        title: "借款流程",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneyFilling',
      name: 'borrowMoneyFilling',
      component: borrowMoneyFilling,
      meta: {
        title: "填写资料",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneyAudit',
      name: 'borrowMoneyAudit',
      component: borrowMoneyAudit,
      meta: {
        title: "审核",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneycompletion',
      name: 'borrowMoneycompletion',
      component: borrowMoneycompletion,
      meta: {
        title: "审核完成",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneysuccess',
      name: 'borrowMoneysuccess',
      component: borrowMoneysuccess,
      meta: {
        title: "借款申请审核完成",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneyapplyaudit',
      name: 'borrowMoneyapplyaudit',
      component: borrowMoneyapplyaudit,
      meta: {
        title: "借款申请审核",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneymake',
      name: 'borrowMoneymake',
      component: borrowMoneymake,
      meta: {
        title: "放款",
        requireAuth: true
      }
    },
    {
      path: '/loan/borrowMoneywrite',
      name: 'borrowMoneywrite',
      component: borrowMoneywrite,
      meta: {
        title: "签署合同",
        requireAuth: true
      }
    },
    {
      path: '/loan/recordQuery',
      name: 'recordQuery',
      component: recordQuery,
      meta: {
        title: "借款记录",
        requireAuth: true
      }
    },
    {
      path: '/loan/recordCapital',
      name: 'recordCapital',
      component: recordCapital,
      meta: {
        title: "资金明细",
        requireAuth: true
      }
    },
    {
      path: '/loan/recordAccess',
      name: 'recordAccess',
      component: recordAccess,
      meta: {
        title: "申请记录",
        requireAuth: true
      }
    }, 
    {
      path: '/loan/recordDialog',
      name: 'recordDialog',
      component: recordDialog,
      meta: {
        title: "查看合同",
        requireAuth: true
      }
    },     
    {
      path: '/loan/recordAccessDetails',
      name: 'recordAccessDetails',
      component: recordAccessDetails,
      meta: {
        title: "申请记录详细",
        requireAuth: true
      }
    }, 
    {
      path: '/loan/borrowMoneyUserProtocol',
      name: 'borrowMoneyUserProtocol',
      component: borrowMoneyUserProtocol,
      meta: {
        title: "用户合同",
        requireAuth: true
      }
    },  
    {
      path: '/loan/borrowMoneyapplyfail',
      name: 'borrowMoneyapplyfail',
      component: borrowMoneyapplyfail,
      meta: {
        title: "用户合同",
        requireAuth: true
      }
    },   
  ]
}]
