- 想要去掉所有的原生导航,只需要在pages.json中加上配置:
"globalStyle": {
//去掉默认导航
"navigationStyle": "custom",
"app-plus": {
"titleNView": false
},
},
- 去掉某个页面的原生导航,只需要在pages.json中加上配置:
"pages": [{
{
"path": "pages/index/index",
"style": {
"navigationStyle":"custom"
}
}
],