How to remove the top navigation in uni-app
How to remove the top navigation in uniapp
How to remove the top navigation in uniapp:
1. Remove all navigation bars;
2. Remove the top navigation bar from a single page.
image.png
How to remove top navigation in uniapp:
1. Remove all navigation bars
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationStyle": "custom",
"app-plus": {
"titleNView": false
}
},
image.png
2. Remove the top navigation bar from a single page
Configure in pages.json:
, {
"path": "pages/ldy_home/ldy_home",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"app-plus": {
"titleNView": false
}
}
},