【uniapp pages.json】
{
"path" : "pages/shop/shop",
"style" : {
"navigationBarTitleText" : "身边云",
"onReachBottomDistance" : 100,
"enablePullDownRefresh" :false,//下拉刷新
"navigationStyle":"custom",
"mp-weixin":{
"disableScroll":true,
"permission":{
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
}
},
"app-plus" : {
"bounce":"none",
"titleNView" : false
}
}
}
【微信小程序编译后的代码】
{
"pages": [
"pages/shop/shop",
"pages/myteam/myteam",
"pages/sou/sou",
"pages/shopcart/shopcart",
"pages/user/user",
"pages/my/my",
"pages/yuyue/yuyue"
],
"subPackages": [
{
"root": "pagesA",
"pages": [
"shop_cotegory_list/shop_cotegory_list",
"riji/riji",
"product/product",
"fx/fx",
"details/details",
"chanpin/chanpin",
"order/order",
"ms_product/ms_product",
"ms_list/ms_list"
]
},
{
"root": "pagesB",
"pages": [
"bind/bind",
"xiu_pwd/xiu_pwd",
"address/address",
"purse/purse",
"hongbao/hongbao",
"dingdan/dingdan",
"pingtuan/pingtuan",
"map/map"
]
}
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "身边云",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#f9f9f9",
"animationType": "zoom-fade-out"
},
"tabBar": {
"color": "#747474",
"backgroundColor": "#ffffff",
"selectedColor": "#e61e70",
"list": [
{
"pagePath": "pages/shop/shop",
"text": "主页",
"iconPath": "static/home.png",
"selectedIconPath": "static/home2.png"
},
{
"pagePath": "pages/sou/sou",
"text": "分类",
"iconPath": "static/myteam.png",
"selectedIconPath": "static/myteam2.png"
},
{
"pagePath": "pages/yuyue/yuyue",
"text": "预约",
"iconPath": "static/xx.png",
"selectedIconPath": "static/xx2.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/my.png",
"selectedIconPath": "static/my2.png"
}
],
"midButton": {
"width": "50px",
"height": "70px",
"text": "搜索",
"iconPath": "static/sous.png",
"iconWidth": "50px"
}
},
"networkTimeout": {
"downloadFile": 120000
},
"permission": {},
"usingComponents": {
"uni-popup": "/components/uni-popup/uni-popup",
"w-picker": "/components/w-picker/w-picker",
"uni-swiper-dot": "/components/uni-swiper-dot/uni-swiper-dot",
"uni-transition": "/components/uni-transition-go/uni-transition",
"uni-swipe-action": "/components/uni-swipe-action/uni-swipe-action/uni-swipe-action",
"uni-swipe-action-item": "/components/uni-swipe-action/uni-swipe-action-item/uni-swipe-action-item",
"mpvue-citypicker": "/components/mpvue-citypicker/mpvueCityPicker"
}
}