fix[litemall-wx]: ScrollView高度设置增加像素单位 (#481)

没有像素单位会导致高度设置无效
This commit is contained in:
uuz.vva
2021-05-19 21:24:40 +08:00
committed by GitHub
parent bd5e56abc4
commit fc2f694edd

View File

@@ -6,7 +6,7 @@
</view>
</scroll-view>
</view>
<scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{scrollHeight}};">
<scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{scrollHeight}}px;">
<view class="cate-item">
<view class="h">
@@ -22,4 +22,4 @@
</view>
</view>
</scroll-view>
</view>
</view>