怎样让tabBar在所有页面显示?
我定义了一个tabBar,但是这个tabBar只能在首页和日志页显示,怎样才能让tabBar在所有页面显示呢?
app.json中内容如下
"tabBar" : { "list" : [{ "pagePath" : "pages/index/index" , "text" : "首页" , "iconPath" : "/images/home.png" , "selectedIconPath" : "/images/home-selected.png" },{ "pagePath" : "pages/logs/logs" , "text" : "日志" , "iconPath" : "images/logs.png" , "selectedIconPath" : "images/logs-selected.png" } ] }, |