wxml
<scroll-view bindscroll="scroll">
123
</scroll-view>
<view wx:if="{{(list+systemInfo.screenHeight)/systemInfo.screenWidth - 6500/1125 < -0.2}}"></view>
<view class="pull" wx:else>
123
</view>
js
scroll: function (e) {
this.setData({
list: e.detail.scrollTop,
});
// let list = e.detail.scrollTop;
// console.log(list);
},
data:{
systemInfo: wx.getSystemInfoSync(),
list: "",
请发表评论