scroll-view scroll-y
时间: 2023-10-08 10:12:30 浏览: 146
scroll view
scroll-view组件中的属性scroll-y是用来开启纵向滚动功能的。当将scroll-y设定为true时,scroll-view组件就可以在纵向上滚动。要开启纵向滚动功能,需要给scroll-view设置一个高度,并且内容的高度要大于scroll-view的高度才能体现出滚动功能。如果内容的高度小于scroll-view的高度,就无法滚动。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [uniapp scroll-view基础用法](https://blog.csdn.net/lxgyydsgod/article/details/126212359)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文