滚动:
盒子:固定高度
overflow:auto;
------------------
容器组件:
scroll-view+固定高度(wxss高度)
scroll-x:横向滚动
scroll-y:纵向滚动
------------------
使用:
<scroll-view scroll-x>
//整个屏幕的滚动
lorem*50//放不了
//需要放容器
</scroll-view>
<scroll-view scroll-y>
//整个屏幕的滚动
lorem*50//放不了
//需要放容器
</scroll-view>
样式:
scroll-view {
height:200px;
}
标签:容器,滚动,实现,50,------------------,滑动,lorem,scroll
From: https://www.cnblogs.com/strundent/p/16911403.html