export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/explore/index',
    'pages/profile/index',
    'pages/login/index',
    'pages/login/wechat-login',
    'pages/register/index',
    // 电商相关页面
    'pages/goods-list/index',
    'pages/goods-detail/index',
    'pages/cart/index',
    'pages/order-list/index',
    'pages/order-detail/index',
    'pages/order-submit/index',
    'pages/address-manage/index',
    'pages/address-edit/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#1890ff',
    navigationBarTitleText: '小程序Starter',
    navigationBarTextStyle: 'white',
    navigationStyle: 'custom'
  },
  tabBar: {
    custom: true,
    color: "#000000",
    selectedColor: "#000000",
    backgroundColor: "#000000",
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页'
      },
      {
        pagePath: 'pages/goods-list/index',
        text: '商品'
      },
      {
        pagePath: 'pages/cart/index',
        text: '购物车'
      },
      {
        pagePath: 'pages/profile/index',
        text: '我的'
      }
    ]
  },
  usingComponents: {
    'mp-html': './components/mp-html'
  }
})
