AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
## **uniapp scroll-view无法横向滚动** 1.在外层scroll-view设置white-space: nowrap;样式2.在内部元素层设置display: inline-block;样式 ## **uniappswiper组件滚动问题** 先给给父元素swiper设置一个高度,然后给子元素swiper-item设置overflow-y: auto;样式即可 ![](https://img.kancloud.cn/08/b4/08b42b00d41bfb9bc4498f9ecac1c82b_864x66.jpg) ## ## **解决uniapp页面出现滚动条问题:在页面style标签中添加以下代码即可** ``` 1.page{ /deep/.uni-scroll-view::-webkit-scrollbar { /\* 隐藏滚动条,但依旧具备可以滚动的功能 \*/ display: none } } 2.//第一种 这是app的不显示滚动条可以在当前页面中添加 "app-plus":{ "scrollIndicator":"none" //当前页面不显示滚动条 } //也可以直接添加 "scrollIndicator": "none" //示例代码 ``` { ``` "path": "pages/content/index", "style": { "navigationBarTitleText": "", "app-plus":{ "scrollIndicator":"none" //当前页面不显示滚动条 }, "scrollIndicator": "none" } ``` } ``` //第二种 直接全局搞就ok   "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "我是王小白", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "scrollIndicator": "none", "app-plus":{ "scrollIndicator":"none" //全局 在APP页面都不显示滚动条 } } ```