export default {
  pages: [
    // TabBar 页面
    'pages/index/index',
    'pages/shop/index',
    'pages/points/index',
    'pages/user/user',
    // 认证页面
    'passport/login',
    'passport/register',
    'passport/sms-login',
    'passport/forget',
    'passport/agreement',
    'passport/setting',
    'passport/qr-login/index',
    'passport/qr-confirm/index',
    'passport/unified-qr/index',
    // 首页子页面
    'pages/index/search',
    'pages/index/notification',
    'pages/index/article-detail',
    'pages/index/article-list',
    'pages/index/coupon-center/index',
    // 商城子页面
    'pages/shop/category',
    'pages/shop/product-detail',
    'pages/shop/cart',
    'pages/shop/checkout',
    'pages/shop/group-buy-list/index',
    'pages/shop/group-buy-detail/index',
    'pages/shop/seckill-list/index',
    'pages/shop/seckill-detail/index',
    // 积分子页面
    'pages/points/signin',
    'pages/points/product-detail',
    'pages/points/product-list/index',
    'pages/points/exchange/index',
    'pages/points/points-rules/index',
    'pages/order-list',
    // 用户子页面
    'pages/user/profile',
    'pages/user/wallet',
    'pages/user/recharge',
    'pages/user/recharge-record/index',
    // 'pages/user/withdraw/index',
    'pages/user/balance-log/index',
    'pages/user/coupon-list',
    'pages/user/points-record',
    'pages/user/address-list',
    'pages/user/address-edit',
    'pages/user/setting',
    'pages/user/shop-setting/index',
    'pages/user/member/index',
    'pages/user/member-upgrade/index',
    'pages/user/vip-upgrade/index',
    'pages/user/vip-review/index',
    'pages/user/invite-subordinate/index',
    'pages/user/register-pay/index',
    'pages/user/promotion/index',
    'pages/user/commission/index',
    'pages/user/withdraw-list/index',
    'pages/user/team/index',
    'pages/user/invite-record/index',
    'pages/user/favorite-list/index',
    'pages/user/history-list/index',
    'pages/user/help-center/index',
    'pages/user/help-detail/index',
    'pages/user/customer-service/index',
    'pages/user/redeem/index',
    // 关于我们
    'pages/user/about/index',
    // 会员权益包页面
    'pages/user/benefit-packages/index',
    'pages/user/benefit-exchange-confirm/index',
    'pages/user/benefit-exchange-list/index',
    // 订单页面
    'pages/order/list',
    'pages/order/detail',
    'pages/order/refund',
    'pages/order/refund-detail',
    'pages/order/after-sale-apply',
    'pages/order/after-sale-list',
    'pages/order/after-sale-detail',
    'pages/order/logistics',
    'pages/order/evaluate/index',
    'pages/order/evaluate-list/index',
    'pages/order/evaluate-detail/index',
    // 门店页面
    'pages/store/list/index',
    'pages/store/booking/index',
    'pages/store/center/index',
    'pages/store/orders/index',
    // 售后页面
    'pages/after-sale/apply/index',
    'pages/after-sale/progress/index',
    'pages/after-sale/list/index',
    // 活动页面
    'pages/activity/list/index',
    'pages/activity/detail/index',
    // 赛事报名页面
    'pages/event/list/index',
    'pages/event/detail/index',
    'pages/event/register/index',
    'pages/event/my/index',
    // 预约订单页面
    'pages/booking/list/index',
    'pages/booking/detail/index',
    'pages/booking/reschedule/index',
    // 消息页面
    'pages/message/list/index',
    'pages/message/detail/index',
    // 礼品卡页面
    'pages/gift-card/purchase/index',
    'pages/gift-card/exchange/index',
    'pages/gift-card/balance/index',
    // 发票页面
    'pages/invoice/title/index',
    'pages/invoice/apply/index',
    'pages/invoice/records/index',
    // 分享返利页面
    'pages/share/index',
    'pages/rebate/records/index',
    'pages/rebate/withdraw/index',
    // 数据统计页面
    'pages/statistics/dashboard/index',
    'pages/statistics/sales/index',
    'pages/statistics/users/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'Paopao Taro',
    navigationBarTextStyle: 'black',
    backgroundColor: '#f8f8f8',
  },
  permission: {
    'scope.userLocation': {
      desc: '用于获取您的位置，按距离展示附近门店和选择收货地址定位',
    },
  },
  requiredPrivateInfos: ['getLocation', 'chooseLocation'],
  tabBar: {
    custom: false,
    color: '#8a8a8a',
    selectedColor: '#0e932e',
    backgroundColor: '#ffffff',
      list: [
          {
              pagePath: 'pages/index/index',
              iconPath: 'assets/tabbar/home.png',
              selectedIconPath: 'assets/tabbar/home-active.png',
              text: '首页',
          },
          {
              pagePath: 'pages/shop/index',
              iconPath: 'assets/tabbar/category.png',
              selectedIconPath: 'assets/tabbar/category-active.png',
              text: '分类',
          },
          {
              pagePath: 'pages/order/list',
              iconPath: 'assets/tabbar/order.png',
              selectedIconPath: 'assets/tabbar/order-active.png',
              text: '订单',
          },
          {
              pagePath: 'pages/user/user',
              iconPath: 'assets/tabbar/user.png',
              selectedIconPath: 'assets/tabbar/user-active.png',
              text: '我的',
          },
      ],
  },
}
