Home  >  Article  >  Web Front-end  >  How to remove side edges in uniapp

How to remove side edges in uniapp

藏色散人
藏色散人Original
2021-02-03 14:37:143076browse

How to remove the side scroll bar in uniapp: first open the corresponding code file; then configure the global configuration to ""globalStyle": {"scrollIndicator":"none","app-plus"}" .

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

Uniapp’s solution to remove the right scroll bar

Use uniapp to develop small programs with a lot of content. Under WeChat developer tools and real machine debugging, A scroll bar appears on the right side, is there a way to hide the scroll bar?

Reference document: https://uniapp.dcloud.net.cn/collocation/pages?id=app-plus

How to remove side edges in uniapp

Solution one:

Reference documentation: https://uniapp.dcloud.net.cn/collocation/pages?id=app-plus

How to remove side edges in uniapp

Global configuration:

"globalStyle": { //全局配置  
    "scrollIndicator":"none", // 不显示滚动条  
    "app-plus"

recommends: "uniapp tutorial"

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