Home  >  Article  >  Web Front-end  >  How to turn off the top navigation in uniapp

How to turn off the top navigation in uniapp

coldplay.xixi
coldplay.xixiOriginal
2020-12-16 15:19:056450browse

How to turn off the top navigation in uniapp: 1. Remove all navigation bars, the code is ["navigationStyle":"custom"]; 2. Remove the top navigation bar from a single page, the code is ["app-plus" :{"titleNView":false}}].

How to turn off the top navigation in uniapp

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version. This method is suitable for all brands of computers.

Recommended (free): uni-app development tutorial

How to turn off the top navigation in uniapp:

1. Remove all navigation bars

How to turn off the top navigation in uniapp

"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#FFFFFF",
"navigationStyle":"custom",
"app-plus":{
"titleView":false
}
}

2. Remove the top navigation bar from a single page

How to turn off the top navigation in uniapp

Configure in pages.json:

"style": {
"navigationBarTitleText": "库管系统",
"navigationStyle":"custom",
"app-plus":{
"titleNView":false
}
}

Related free learning recommendations: php programming (video)

The above is the detailed content of How to turn off the top navigation in uniapp. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn