export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/services/index',
    'pages/services/detail',
    'pages/courses/index',
    'pages/courses/detail',
    'pages/forum/index',
    'pages/goods/detail',
    'pages/cart/cart',
    'pages/order/checkout',
    'pages/order/payment',
    'pages/order/list',
    'pages/user/index'
  ],
  subPackages: [
    {
      root: 'subpackages/distributor',
      pages: [
        'index',
        'register',
        'invite',
        'withdraw'
      ]
    },
    {
      root: 'subpackages/forum',
      pages: [
        'detail/index',
        'create/index',
        'activity/index',
        'activity/detail'
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#000000',
    navigationBarTitleText: 'Quant Speed Market',
    navigationBarTextStyle: 'white'
  },
  tabBar: {
    color: "#666666",
    selectedColor: "#00b96b",
    backgroundColor: "#000000",
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "./assets/home.png",
        selectedIconPath: "./assets/home_active.png"
      },
      {
        pagePath: "pages/services/index",
        text: "AI服务",
        iconPath: "./assets/AI_service.png",
        selectedIconPath: "./assets/AI_service_active.png"
      },
      {
        pagePath: "pages/forum/index",
        text: "社区",
        iconPath: "./assets/VR.png",
        selectedIconPath: "./assets/VR_active.png"
      },
      {
        pagePath: "pages/cart/cart",
        text: "购物车",
        iconPath: "./assets/cart.png",
        selectedIconPath: "./assets/cart_active.png"
      },
      {
        pagePath: "pages/user/index",
        text: "我的",
        iconPath: "./assets/user.png",
        selectedIconPath: "./assets/user_active.png"
      }
    ]
  },
  requiredPrivateInfos: [
    "chooseAddress"
  ]
})
