export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/member/index',
    "pages/mine/index",
    "pages/search/index",
    "pages/login/index"
  ],
  subpackages: [
    {
      root: "pages/indexSub",
      pages: [
        "productDetail/index",
        "seckillIndex/index",
        "searchList/index",
        "highCommission/index"
      ]
    },
    {
      root: "pages/memberSub",
      pages: [
        "storeManagement/index",
        "productManagement/index",
        "productClassify/index",
        "earningsDetail/index",
        "earningsOrder/index",
        "cashOut/index",
        "cashOutRecord/index",
        "statementRecords/index",
        "Alipay/index"
      ]
    },
    {
      root: "pages/mineSub",
      pages: [
        "infoEdit/index",
        "userSpecification/index"
      ]
    },
  ],
  navigateToMiniProgramAppIdList: [
    "ttf31985a46c214faf"
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#FFFFFF',
    navigationBarTitleText: '鱼市',
    navigationBarTextStyle: 'black',
    backgroundColor: "#FFFFFF",
    onReachBottomDistance: 100
  },
  lazyCodeLoading: "requiredComponents",
  tabBar: {
    color: "#000000",
    selectedColor: "#000000",
    borderStyle: "black",
    backgroundColor: "#FFFFFF",
    list: [
      {
        pagePath: "pages/index/index",
        iconPath: "images/nav/home.png",
        selectedIconPath: "images/nav/home_active.png",
        text: "首页"
      },
      {
        pagePath: "pages/member/index",
        iconPath: "images/nav/vip.png",
        selectedIconPath: "images/nav/vip_active.png",
        text: "会员"

      },

      {
        pagePath: "pages/mine/index",
        iconPath: "images/nav/my.png",
        selectedIconPath: "images/nav/my_acitve.png",
        text: "我的"
      }
    ]
  },
})
