如何实现 在A 页面 显示 A-tabbar,在B页面显示B-tabbar
A-tabbar 跟B-tabbar 是不一样的
A-tabbar
"tabBar": {
"color": "#a9b7b7",
"selectedColor": "#11cd6e",
"borderStyle": "white",
"position": "bottom",
"list": [
{
"selectedIconPath": "/assests/img/sy.png",
"iconPath": "/assests/img/sy.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"selectedIconPath": "/assests/img/fl.png",
"iconPath": "/assests/img/fl.png",
"pagePath": "pages/Product/Product",
"text": "产品"
},{
"selectedIconPath": "/assests/img/gy.png",
"iconPath": "/assests/img/gy.png",
"pagePath": "pages/About/About",
"text": "关于"
}
]
}
B-tabbar
"tabBar": {
"color": "#a9b7b7",
"selectedColor": "#11cd6e",
"borderStyle": "white",
"position": "bottom",
"list": [
{
"selectedIconPath": "/assests/img/sy.png",
"iconPath": "/assests/img/sy.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"selectedIconPath": "/assests/img/gy.png",
"iconPath": "/assests/img/gy.png",
"pagePath": "pages/About/About",
"text": "关于"
}
]
}
网友回复:
你想多了,暂时不支持
这种场景肯定会遇到的
有没有 官方的人来 解答下啊?
使用模板