Home > Web Front-end > uni-app > How to remove top navigation in uniapp

How to remove top navigation in uniapp

coldplay.xixi
Release: 2023-01-13 00:44:36
Original
9823 people have browsed it

Uniapp method to remove the top navigation: 1. Remove all navigation bars, the code is ["navigationBarTitleText": "uni-app",]; 2. Remove the top navigation bar from a single page, the code is ["navigationBarTitleText" : "Warehouse Management System"].

How to remove top navigation in uniapp

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

How to remove the top navigation in uniapp:

1. Remove all navigation bars

How to remove top navigation in uniapp##

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

2. Remove the top navigation bar from a single page

Configure in pages.json:

How to remove top navigation in uniapp

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

For more other excellent articles, please pay attention to the uni-app column~

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template