app.json文件如下
我想在"pagePath": "pages/fahuo/fahuo/fahuo",
"pagePath": "pages/order/all/all",
这两个页面分别建立两个 tabbar
但是发现不行,官方对于问题是不进行解答的吗?????????&微信小程序开发 ...。如果只有一个tabbar时候,能够正常打开相应的页面
如果我多加一个tabbar的时候,就只有一个能打开,一个完全打不开。
请问是我的代码写的有问题么?还是微信小程序 本身不支持?有没有好的解决办法,麻烦指点一下
非常感谢
{
"pages": [
"pages/index/index",
"pages/main/main",
"pages/zhuche/zhuche",
"pages/reg/reg",
"pages/fahuo/fahuo/fahuo",
"pages/order/allxiangxi/allxiangxi",
"pages/order/caigouxiangxi/caigouxiangxi",
"pages/order/caigoulist/caigoulist",
"pages/order/xiangxijindu/xiangxijindu",
"pages/order/falist/falist",
"pages/order/buy/buy",
"pages/order/buylist/buylist",
"pages/zhangdan/zhangdan/zhangdan",
"pages/zhangdan/zhangdanxiangxi/zhangdanxiangxi",
"pages/yuyue/yuyue/yuyue",
"pages/yuyue/yuyuexiangxi/yuyuexiangxi",
"pages/user/user",
"pages/user/edit",
"pages/fahuo/sousuo/sousuo",
"pages/chaxun/chaxun",
"pages/fahuo/fahuolist/fahuolist",
"pages/order/buyall/buyall",
"pages/order/xuyaocaigou/xuyaocaigou",
"pages/order/xuyaoxiuzheng/xuyaoxiuzheng",
"pages/order/weisong/weisong",
"pages/order/all/all",
"pages/sousuo/sousuo",
"pages/logs/logs",
"pages/fahuo/weifahuo/weifahuo",
"pages/fahuo/daifaxiangxi/daifaxiangxi"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "UULLEO ??? ???",
"navigationBarTextStyle": "black"
},
"tabBar": {
"list": [
{
"pagePath": "pages/fahuo/fahuo/fahuo",
"text": "????",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
},
{
"pagePath": "pages/fahuo/weifahuo/weifahuo",
"text": "????",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
},
{
"pagePath": "pages/sousuo/sousuo",
"text": "??",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
}
]
},
"tabBar": {
"list": [
{
"pagePath": "pages/order/all/all",
"text": "????",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
},
{
"pagePath": "pages/order/xuyaocaigou/xuyaocaigou",
"text": "????",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
},
{
"pagePath": "pages/order/weisong/weisong",
"text": "??",
"iconPath": "/pages/img/dingdan.png",
"selectedIconPath": "/pages/img/dingdan1.png"
}
]
}
}
微信小程序开发问题解答 本文来自微信小程序工厂 http://www.xcxgc.com,转载请保留。
微信小程序开发者回答:
ん***:
请保留一个 tabBar 即可。
金***:
是官网不支持2个tabbar么?
我有两个页面需要各自的tabbar ,那其中一个需要另外自己定制,是吧?
官方开发团队注意:mask蒙层无效!!!!!!--微信小程序教程 ...
金***:系统记录
本文网址:http://www.91bianli.com/weixinxiaochengxu/32008.html