{
"pages": [ //pages数组中第一项表示应用启动页,
{
"path": "pages/main/main",
"style": {
"navigationBarTitleText": "平台",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/reg/reg",
"style": {
"navigationBarTitleText": "注册",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/pwd/pwd",
"style": {
"navigationBarTitleText": "找回密码",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/user",
"style": {
"navigationBarTitleText": "个人中心",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/cart/cart",
"style": {
"navigationBarTitleText": "购物车",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/product/product",
"style": {
"navigationBarTitleText": "商品列表",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/goods/goods-list",
"style": {
"navigationBarTitleText": "商品列表",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/goods/goods",
"style": {
"navigationBarTitleText": "商品详情",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/category/category",
"style": {
"navigationBarTitleText": "商品分类",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/chat/chat",
"style": {
"navigationBarTitleText": "客服",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/business/business",
"style": {
"navigationBarTitleText": "商家列表",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/brand/brand",
"style": {
"navigationBarTitleText": "推荐品牌",
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/site/site",
"style": {
"navigationBarTitleText": "站点服务",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/details/details",
"style": {
"navigationBarTitleText": "服务详情",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/integral/integral",
"style": {
"navigationBarTitleText": "积分兑换",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/label/label",
"style": {
"navigationBarTitleText": "产品标签",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/order/order",
"style": {
"navigationBarTitleText": "确定订单",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/payment/payment",
"style": {
"navigationBarTitleText": "订单支付",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/address/address",
"style": {
"navigationBarTitleText": "地址管理",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/address/edit/edit",
"style": {
"navigationBarTitleText": "修改地址",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/success/success",
"style": {
"navigationBarTitleText": "支付成功",
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/msg/msg",
"style": {
"navigationBarTitleText": "短消息",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
} ,{
"path" : "pages/msg/chat/chat",
"style" : {
"navigationBarBackgroundColor":"#D92F3A",
"backgroundColorTop":"#e5e5e5",
"backgroundColorBottom":"#e5e5e5",
"app-plus":{
"softinputNavBar":"none",
"bounce":"none"
}
}
}, {
"path": "pages/user/balance/balance",
"style": {
"navigationBarTitleText": "我的余额",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/integral/integral",
"style": {
"navigationBarTitleText": "我的积分",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/coupon/coupon",
"style": {
"navigationBarTitleText": "我的优惠卷",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/userOrder/userOrder",
"style": {
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/center/center",
"style": {
"navigationBarTitleText": "应用中心",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/collector/collector",
"style": {
"navigationBarTitleText": "收藏夹",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/personal/personal",
"style": {
"navigationBarTitleText": "个人设置",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/updatePwd/updatePwd",
"style": {
"navigationBarTitleText": "修改密码",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/personaldata/personaldata",
"style": {
"navigationBarTitleText": "个人资料",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/invoice/invoice",
"style": {
"navigationBarTitleText": "发票管理",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/user/invoice/edit/edit",
"style": {
"navigationBarTitleText": "修改发票",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
},
{
"path": "pages/user/deposit/deposit",
"style": {
"navigationBarTitleText": "余额充值",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}, {
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "商品搜索",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#D92F3A"
}
}
],
"tabBar": {
"color": "#7a7e83",
"selectedColor": "#0faeff",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/main/main",
"text": "首页",
"iconPath": "static/img/home.png",
"selectedIconPath": "static/img/homeHL.png"
},
{
"pagePath": "pages/category/category",
"text": "商品分类",
"iconPath": "static/img/list_icon.png",
"selectedIconPath": "static/img/list_iconHL.png"
},
{
"pagePath": "pages/cart/cart",
"text": "购物车",
"iconPath": "static/img/gouwuche.png",
"selectedIconPath": "static/img/gouwucheHL.png"
},
{
"pagePath": "pages/user/user",
"text": "个人中心",
"iconPath": "static/img/user.png",
"selectedIconPath": "static/img/userHL.png"
}
]
},
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#0faeff",
"backgroundColor": "#fbf9fe"
},
"condition": { //模式配置,仅开发期间生效
// "current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "main", //模式名称
"path": "pages/main/main" //启动页面,必选
}, {
"name": "login", //模式名称
"path": "pages/login/login", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到。
},
{
"name": "isme", //模式名称
"path": "pages/user/user", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到。
}
]
}
}