上位机如果像设置个多页面切换:
位置:
代码如下:
"tabBar": {
"color": "black",
"selectedColor": "#d43c33",
"borderStyle":"black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"text": "",
"iconPath": "/picture/日志.png",
"selectedIconPath": "/picture/日志_填充.png"
},
{
"pagePath": "pages/logs/logs",
"text": "",
"iconPath": "/picture/首页.png",
"selectedIconPath": "/picture/首页_填充.png"
}
]
},
微信开发文档;
小程序配置 / 全局配置 (qq.com)