How to not display the navigation bar in uniapp
Dec 16, 2020 pm 05:35 PMMethods for uniapp not to display the navigation bar: 1. Remove all navigation bars through the code ""globalStyle": {...}" method; 2. By configuring ""app-plus" in pages.json :{"titleNView":false}" to remove the top navigation bar from a single page.
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
uniapp removes the top title
1. Remove all navigation bars
"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
Configure in pages.json:
"style": { "navigationBarTitleText": "库管系统", "navigationStyle":"custom", "app-plus":{ "titleNView":false } }
The above is the detailed content of How to not display the navigation bar in uniapp. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to start preview of uniapp project developed by webstorm

What development tools do uniapp use?

What basics are needed to learn uniapp?

In-depth comparison between Flutter and uniapp: explore their similarities, differences and characteristics

Which is better, uniapp or native development?

What component library does uniapp use to develop small programs?
