
export default {
  // eslint-disable-next-line react-hooks/rules-of-hooks
  pages: [
    'pages/index/index',
    'pages/user/index',
    'pages/shopCar/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
    backgroundColor: '#ffffff',
  },
  tabBar: {
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: './styles/tabbar/home.png',
        selectedIconPath: './styles/tabbar/home_selected.png',
      },
      {
        pagePath: 'pages/shopCar/index',
        text: '购物车',
        iconPath: './styles/tabbar/shop.png',
        selectedIconPath: './styles/tabbar/shop_selected.png',
      },
      {
        pagePath: 'pages/user/index',
        text: '我的',
        iconPath: './styles/tabbar/my.png',
        selectedIconPath: './styles/tabbar/my_selected.png',
      },

    ],
    color: '#707070',
    selectedColor: '#2680EB',
    backgroundColor: '#fff',
    borderStyle: 'white',
  },
  subPackages: [
    {
      root: 'pages/search',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/classList',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/details',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/searchList',
      pages: [
        'searchList',
        'hightSearchList',
        'search',
      ],
    },
    {
      root: 'pages/userEdit',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/addressManager',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/addressAdd',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/company',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/weightList',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/weightListAdd',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/order',
      pages: [
        'index',
        'comfirm',
        'speedComfirm',
        'orderList/index',
      ],
    },
    {
      root: 'pages/editOrder',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/subjectList',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/creditLine',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/creditUsed',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/depositBeforehandDetail',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/depositBeforehand',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/depositList',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/salesAfter',
      pages: [
        'index',
        'salesAfterList/index',
      ],
    },
    // {
    //   root: 'pages/certification',
    //   pages: [
    //     'index',
    //   ],
    // },
    {
      root: 'pages/applyAfterSales',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/collection',
      pages: [
        'index',
        'collectionDetail/index',
      ],
    },
    {
      root: 'pages/sampleComparison',
      pages: [
        'index',
      ],
    },
    {
      root: 'pages/inviteCode',
      pages: [
        'index',
        'inviteCord/index',
      ],
    },
    {
      root: 'pages/codeSetting',
      pages: [
        'index',
        'codeColorList/index',
      ],
    },
    {
      root: 'pages/codeList',
      pages: [
        'index',
      ],
    },

  ],
}
