recycle-item 子view设置margin导致不能下拉刷新
https://developers.weixin.qq.com/miniprogram/dev/extended/component-plus/recycle-view.html <recycle-view enable-back-to-top="true" batch="{{batchSetRecycleData}}" id="recycleId"> <recycle-item class="recycle-item" wx:for="{{recycleList}}" wx:key="id"> <view class="item-content"> <text style="font-size:20px;">{{item.username}}</text> </view> </recycle-item> </recycle-view> .wxss 如下: .item-content{ margin:3rpx 20rpx 0 20rpx; background-color: white; font-size:14px; }