app.json文件中增加:
{
......
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "images/index.png",
"selectedIconPath": "images/index1.png"
"text": "首页"
},
{
"pagePath": "pages/logs/logs",
"iconPath": "images/log.png",
"selectedIconPath": "images/log1.png"
"text": "日志"
}
]
},
......
网友评论