微信小程序之滚动视图
scroll-view官方文档:https://mp.weixin.qq.com/debug/wxadoc/dev/component/scroll-view.html
示例1:
<scroll-view scroll-y style="height: 200px;"> <view id="green" class="scroll-view-item bc_green" style='height: 100px;background-color:green'></view> <view id="red" class="scroll-view-item bc_red" style='height: 100px;background-color:red'></view> <view id="yellow" class="scroll-view-item bc_yellow" style='height: 100px;background-color:yellow'></view> <view id="blue" class="scroll-view-item bc_blue" style='height: 100px;background-color:blue'></view> </scroll-view>声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

