{
  "pages": [
    {
      "path": "pages/main/index",
      "style": {
        "navigationBarTitleText": "首页",
        "navigationStyle": "custom",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "pages/user/boot",
      "style": {
        "navigationBarTitleText": ""
      }
    },
    {
      "path": "pages/user/login",
      "style": {
        "navigationBarTitleText": "用户登录",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/user/register",
      "style": {
        "navigationBarTitleText": "注册"
      }
    },
    {
      "path": "pages/user/forgot-password",
      "style": {
        "navigationBarTitleText": "忘记密码"
      }
    },
    {
      "path": "pages/user/terms",
      "style": {
        "navigationBarTitleText": "用户协议与隐私政策"
      }
    },
    {
      "path": "pages/user/center",
      "style": {
        "navigationBarTitleText": "用户中心"
      }
    },
    {
      "path": "pages/user/profile",
      "style": {
        "navigationBarTitleText": "个人资料"
      }
    },
    {
      "path": "pages/user/change-password",
      "style": {
        "navigationBarTitleText": "修改密码"
      }
    },
    {
      "path": "pages/user/bind-phone",
      "style": {
        "navigationBarTitleText": "绑定手机"
      }
    },
    {
      "path": "pages/user/bind-email",
      "style": {
        "navigationBarTitleText": "绑定邮箱"
      }
    },
    {
      "path": "pages/main/category",
      "style": {
        "navigationBarTitleText": "分类",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/main/messages",
      "style": {
        "navigationBarTitleText": "消息",
        "enablePullDownRefresh": true
      }
    },
    {
      "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": "edit-profile",
          "style": {
            "navigationBarTitleText": "编辑资料"
          }
        },
        {
          "path": "wallet",
          "style": {
            "navigationBarTitleText": "我的钱包"
          }
        },
        {
          "path": "withdraw",
          "style": {
            "navigationBarTitleText": "余额提现"
          }
        },
        {
          "path": "search",
          "style": {
            "navigationBarTitleText": "搜索",
            "navigationStyle": "custom"
          }
        },
        {
          "path": "product-detail",
          "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom"
          }
        },
        {
          "path": "channel-detail",
          "style": {
            "navigationBarTitleText": "频道详情",
            "navigationStyle": "custom"
          }
        },
        {
          "path": "shop-detail",
          "style": {
            "navigationBarTitleText": "店铺详情"
          }
        },
        {
          "path": "coupons",
          "style": {
            "navigationBarTitleText": "我的优惠券"
          }
        },
        {
          "path": "favorites",
          "style": {
            "navigationBarTitleText": "我的收藏"
          }
        },
        {
          "path": "footprint",
          "style": {
            "navigationBarTitleText": "我的足迹"
          }
        },
        {
          "path": "address",
          "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": "chat_new",
          "style": {
            "navigationBarTitleText": "客服聊天（新版）"
          }
        },
        {
          "path": "subscription/plan-list",
          "style": {
            "navigationBarTitleText": "软件订阅"
          }
        },
        {
          "path": "subscription/plan-detail",
          "style": {
            "navigationBarTitleText": "订阅详情"
          }
        },
        {
          "path": "subscription/subscribe-checkout",
          "style": {
            "navigationBarTitleText": "确认订阅"
          }
        },
        {
          "path": "subscription/my-subscriptions",
          "style": {
            "navigationBarTitleText": "我的订阅"
          }
        },
        {
          "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": "red-packets/index",
          "style": {
            "navigationBarTitleText": "我的红包"
          }
        },
        {
          "path": "bank-cards/index",
          "style": {
            "navigationBarTitleText": "银行卡管理"
          }
        },
        {
          "path": "bank-cards/add",
          "style": {
            "navigationBarTitleText": "添加银行卡"
          }
        },
        {
          "path": "bank-cards/verify",
          "style": {
            "navigationBarTitleText": "银行卡验证"
          }
        },
        {
          "path": "balance/index",
          "style": {
            "navigationBarTitleText": "余额"
          }
        },
        {
          "path": "my-reviews",
          "style": {
            "navigationBarTitleText": "我的评价"
          }
        },
        {
          "path": "message-detail",
          "style": {
            "navigationBarTitleText": "消息详情"
          }
        },
        {
          "path": "member/index",
          "style": {
            "navigationBarTitleText": "会员中心"
          }
        },
        {
          "path": "product-reviews",
          "style": {
            "navigationBarTitleText": "商品评价"
          }
        }
      ]
    }
  ],
  "tabBar": {
    "color": "#999999",
    "selectedColor": "#ff5000",
    "backgroundColor": "#ffffff",
    "borderStyle": "black",
    "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/messages",
        "text": "消息",
        "iconPath": "static/tabbar/message.png",
        "selectedIconPath": "static/tabbar/message.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"
      }
    ]
  },
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "mall",
    "navigationBarBackgroundColor": "#FFFFFF",
    "backgroundColor": "#F8F8F8"
  },
  "condition": {
    "current": 0,
    "list": [
      {
        "name": "consumer端",
        "path": "pages/main/index",
        "query": "role=consumer"
      }
    ]
  }
}
