Home  >  Article  >  Web Front-end  >  How to remove the top of uniapp

How to remove the top of uniapp

藏色散人
藏色散人Original
2021-02-03 14:19:1510912browse

Uniapp method to remove the top navigation bar: 1. Configure ""app-plus":{"titleNView":false}" in pages.json; 2. Configure ""app-plus" under globalStyle : {"titleNView": false}".

How to remove the top of uniapp

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, DELL G3 computer.

uni-App Remove the top navigation bar

1. Hide the top navigation bar for a separate page, which can be configured under a separate routing style in pages.json "app-plus": {"titleNView": false}

2. To hide the entire app, you can configure a style under globalStyle "app-plus": {"titleNView": false}

Related introduction:

uni-app is a framework that uses Vue.js to develop all front-end applications. Developers write a set of codes that can be published to iOS, Android, H5, and various small programs (WeChat/ Alipay/Baidu/Toutiao/QQ/DingTalk) and other platforms.

Even if it is not cross-terminal, uni-app is also a better small program development framework.

Recommended: "uniapp tutorial"

The above is the detailed content of How to remove the top of 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