{
  "pages": [
    {
      "path": "pages/user/login",
      "style": {
        "navigationBarTitleText": "用户登录",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/main/index",
      "style": {
        "navigationBarTitleText": "首页",
        "navigationStyle": "custom",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "pages/main/category",
      "style": {
        "navigationBarTitleText": "分类",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/main/cart",
      "style": {
        "navigationBarTitleText": "购物车",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/main/profile",
      "style": {
        "navigationBarTitleText": "我的",
        "navigationStyle": "custom"
      }
    }
  ],
  "subPackages": [
    {
      "root": "pages/mall/consumer",
      "pages": [
        {
          "path": "settings",
          "style": { "navigationBarTitleText": "设置" }
        },
        {
          "path": "wallet",
          "style": { "navigationBarTitleText": "我的钱包" }
        },
        {
          "path": "withdraw",
          "style": { "navigationBarTitleText": "余额提现" }
        },
        {
          "path": "search",
          "style": { "navigationBarTitleText": "搜索", "navigationStyle": "custom" }
        },
        {
          "path": "product-detail",
          "style": { "navigationBarTitleText": "商品详情" }
        },
        {
          "path": "shop-detail",
          "style": { "navigationBarTitleText": "店铺详情" }
        },
        {
          "path": "coupons",
          "style": { "navigationBarTitleText": "我的优惠券" }
        },
        {
          "path": "favorites",
          "style": { "navigationBarTitleText": "我的收藏" }
        },
        {
          "path": "footprint",
          "style": { "navigationBarTitleText": "我的足迹" }
        },
        {
          "path": "address-list",
          "style": { "navigationBarTitleText": "收货地址" }
        },
        {
          "path": "address-edit",
          "style": { "navigationBarTitleText": "编辑地址" }
        },
        {
          "path": "checkout",
          "style": { "navigationBarTitleText": "确认订单" }
        },
        {
          "path": "payment",
          "style": { "navigationBarTitleText": "收银台" }
        },
        {
          "path": "payment-success",
          "style": { "navigationBarTitleText": "支付成功", "navigationStyle": "custom" }
        },
        {
          "path": "orders",
          "style": { "navigationBarTitleText": "我的订单", "enablePullDownRefresh": true }
        },
        {
          "path": "order-detail",
          "style": { "navigationBarTitleText": "订单详情" }
        },
        {
          "path": "logistics",
          "style": { "navigationBarTitleText": "物流详情" }
        },
        {
          "path": "review",
          "style": { "navigationBarTitleText": "评价晒单" }
        },
        {
          "path": "refund",
          "style": { "navigationBarTitleText": "退款/售后" }
        },
        {
          "path": "apply-refund",
          "style": { "navigationBarTitleText": "申请售后" }
        },
        {
          "path": "refund-review",
          "style": { "navigationBarTitleText": "服务评价" }
        },
        {
          "path": "chat",
          "style": { "navigationBarTitleText": "客服聊天", "navigationStyle": "custom" }
        },
        {
          "path": "subscription/followed-shops",
          "style": { "navigationBarTitleText": "关注店铺" }
        },
        {
          "path": "points/index",
          "style": { "navigationBarTitleText": "积分管理" }
        },
        {
          "path": "points/signin",
          "style": { "navigationBarTitleText": "每日签到" }
        },
        {
          "path": "points/exchange",
          "style": { "navigationBarTitleText": "积分兑换" }
        },
        {
          "path": "points/exchange-records",
          "style": { "navigationBarTitleText": "兑换记录" }
        },
        {
          "path": "product-reviews",
          "style": { "navigationBarTitleText": "商品评价" }
        },
        {
          "path": "my-reviews",
          "style": { "navigationBarTitleText": "我的评价" }
        },
        {
          "path": "balance/index",
          "style": { "navigationBarTitleText": "我的余额" }
        },
        {
          "path": "share/index",
          "style": { "navigationBarTitleText": "我的分享" }
        },
        {
          "path": "share/detail",
          "style": { "navigationBarTitleText": "分享详情" }
        },
        {
          "path": "member/index",
          "style": { "navigationBarTitleText": "会员中心" }
        },
        {
          "path": "message-detail",
          "style": { "navigationBarTitleText": "消息详情" }
        },
        {
          "path": "red-packets/index",
          "style": { "navigationBarTitleText": "我的红包" }
        },
        {
          "path": "bank-cards/index",
          "style": { "navigationBarTitleText": "银行卡管理" }
        },
        {
          "path": "bank-cards/add",
          "style": { "navigationBarTitleText": "添加银行卡" }
        }
      ]
    }
  ],
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "商城",
    "navigationBarBackgroundColor": "#ffffff",
    "backgroundColor": "#f5f5f5"
  },
  "tabBar": {
    "color": "#999999",
    "selectedColor": "#ff5000",
    "borderStyle": "black",
    "backgroundColor": "#ffffff",
    "list": [
      {
        "pagePath": "pages/main/index",
        "text": "首页",
        "iconPath": "static/tabbar/home.png",
        "selectedIconPath": "static/tabbar/home-active.png"
      },
      {
        "pagePath": "pages/main/category",
        "text": "分类",
        "iconPath": "static/tabbar/category.png",
        "selectedIconPath": "static/tabbar/category.png"
      },
      {
        "pagePath": "pages/main/cart",
        "text": "购物车",
        "iconPath": "static/tabbar/cart.png",
        "selectedIconPath": "static/tabbar/cart.png"
      },
      {
        "pagePath": "pages/main/profile",
        "text": "我的",
        "iconPath": "static/tabbar/user.png",
        "selectedIconPath": "static/tabbar/user.png"
      }
    ]
  },
  "preloadRule": {
    "pages/main/index": {
      "network": "all",
      "packages": ["pages/mall/consumer"]
    }
  },
  "easycom": {
    "autoscan": true,
    "custom": {
      "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
    }
  },
  "optimization": {
    "subPackages": true
  }
}
