豎向滾動:
<scroll-view scroll-y="true" style="height: 280px;">
</scroll-view>
在wxss里加入以下代碼隱藏滾動條方法:
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}
豎向滾動:
<scroll-view scroll-y="true" style="height: 280px;">
</scroll-view>
在wxss里加入以下代碼隱藏滾動條方法:
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}