{
  "easycom": {
    "autoscan": true,
    "custom": {
      // uni-ui 规则如下配置
      "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
      "^LaiTing(.*)": "@/components/LaiTing$1.vue"
    }
  },
  "pages": [
    //pages数组中第一项表示应用启动页，参考：https://uniapp.dcloud.io/collocation/pages
    {

      "path": "pages/index/index",
      "style": {
        "navigationBarTitleText": "首页",
        "navigationStyle": "custom"
      }

    },
    {
      "path": "pages/my/my",
      "style": {
        "navigationBarTitleText": "我的",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/cart/cart",
      "style": {
        "navigationBarTitleText": "购物车"
      }
    },
    {
      "path": "pages/category/category",
      "style": {
        "navigationBarTitleText": "分类",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/login/login",
      "style": {
        "navigationBarTitleText": "登录"
      }
    }
  ],
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "",
    "navigationBarBackgroundColor": "#F8F8F8",
    "backgroundColor": "#F8F8F8"
  },
  // 设置 TabBar
  "tabBar": {
    "color": "#333",
    "selectedColor": "#27ba9b",
    "backgroundColor": "#fff",
    "borderStyle": "white",
    "list": [
      {
        "text": "首页",
        "pagePath": "pages/index/index",
        "iconPath": "static/tabs/main.png",
        "selectedIconPath": "static/tabs/main_active.png"
      },
      {
        "text": "收藏",
        "pagePath": "pages/category/category",
        "iconPath": "static/tabs/collect.png",
        "selectedIconPath": "static/tabs/collect_active.png"
      },
      // {
      //   "text": "购物车",
      //   "pagePath": "pages/cart/cart",
      //   "iconPath": "static/tabs/cart_default.png",
      //   "selectedIconPath": "static/tabs/cart_selected.png"
      // },
      {
        "text": "我的",
        "pagePath": "pages/my/my",
        "iconPath": "static/tabs/my.png",
        "selectedIconPath": "static/tabs/my_active.png"
      }
    ]
  }
}
