Home > Web Front-end > uni-app > body text

How to remove side edges in uniapp

藏色散人
Release: 2023-01-13 00:44:37
Original
3022 people have browsed it

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"
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!