细嗅蔷薇
细嗅蔷薇
  • 发布:2020-06-09 16:21
  • 更新:2020-06-09 16:21
  • 阅读:2642

scrollview 如何在ios上隐藏滚动条的解决方案

分类:uni-app

配置文件pages.json文件里,app-plus中设置:

"scrollIndicator": "none"

参考设置:

     {  
        "path": "pages/xxxx/xxxxxx",  
        "style": {  
            "navigationBarTitleText": "xxxx",  
            "app-plus": {  
                "titleNView": {  
                    "titleColor": "#FFFFFF",  
                    "backgroundColor": "#E41F19",  
                    "pullToRefresh": {  
                        "support": false  
                    }  
                },  
                "enablePullDownRefresh": false,  
                 //滚动条显示策略,设置为 "none" 时不显示滚动条  
                "scrollIndicator": "none"  
            }  
        }  
    }
0 关注 分享

要回复文章请先登录注册