export default [
  {
    path: "/customer",
    name: 'customerManage',
    component: () => import("pages/customer/CustomerManagePage.vue"),
    meta: {
      title: "用户管理",
      Authorization: true,
      KeepAlive:true
    }
  },
  {
    path: "/customer/all",
    component: () => import("pages/customer/CustomerListPage.vue"),
    meta: {
      title: "全部用户",
      Authorization: true,
      KeepAlive:true
    }
  },
  {
    path: "/customer/search",
    component: () => import("pages/customer/CustomerSearchPage.vue"),
    meta: {
      title: "用户搜索",
      Authorization: true,
      KeepAlive:true
    }
  },
  {
    path: "/customer/new",
    component: () => import("pages/customer/CustomerListPage.vue"),
    props: {isNew: true},
    meta: {
      title: "申请进店",
      Authorization: true,
      KeepAlive:true
    }
  },
  // 彩民详情
  {
    path: "/customer/:id",
    component: () => import("src/pages/customer/CustomerInfoPage.vue"),
    meta: {
      title: '用户信息',
      Authorization: true,
    }
  },
  // 所有彩民提现申请列表
  {
    path: "/customer/wallet/draw",
    component: () => import("src/pages/customer/WalletDraw.vue"),
    meta: {
      title: '用户提现',
      Authorization: true,
      KeepAlive:true
    }
  },
  {
    path: "/customer/wallet/draw/info",
    component: () => import("src/pages/customer/DrawMoneyInfo.vue"),
    meta: {
      title: '用户提现详情',
      Authorization: true,
    }
  },
  // 所有彩民的申请提现历史记录
  {
    path: "/customer/wallet/draw/history",
    component: () => import("src/pages/customer/WalletDrawHistory.vue"),
    meta: {
      title: '历史记录',
      Authorization: true,
      KeepAlive:true
    }
  },
  // 彩民账户明细
  {
    path: "/customer/:customerId/wallet/bills",
    component: () => import("src/pages/customer/WalletBillsPage.vue"),
    meta: {
      title: '账户明细',
      Authorization: true,
    }
  },
  {
    path: "/customer/:customerId/orders",
    component: () => import("src/pages/customer/OrdersPage.vue"),
    meta: {
      title: '投注记录',
      Authorization: true,
      KeepAlive:true,
    }
  },
  {
    path: "/customer/:customerId/payment/setting",
    component: () => import("pages/shop/PaymentSettingPage.vue"),
    meta: {
      title: '支付管理',
      Authorization: true,
    }
  },
  // 彩民战绩
  // {
  //   path: '/customer/:customerId/follow/records',
  //   component: () => import("src/pages/customer/FollowRecordsPage.vue"),
  //   meta: {
  //     Authorization: true,
  //     KeepAlive: true
  //   }
  // },
]
