上拉刷新问题

发布于 6 年前作者 weijiang18006 次浏览最后编辑 6 年前来自 ask

我做上拉刷新的时候必须要下拉一下再上拉才能触发

<scroll-view scroll-top=“{{scrollTop}}” scroll-y=“true” style=“height:{{scrollHeight}}px;” bindscrolltolower=“bindDownLoad” bindscroll=“upload” bindscrolltoupper=“upload”  scroll-with-animation=“true” lower-threshold=“1” upper-threshold=“1”>

<view class=“total”>

<view class=“upload” wx:if=“{{up == true}}”>加载数据中…</view>

<view class=“list”>

<view class=“condition listdetail” wx:for=“{{houseimage}}” wx:for-item=“item”>

<view class=“listimg”>

<image src =“{{item.imgUrls}}”></image>

</view>

<view class=“listcontent”>

<view class=“title titlefont fontstyle”>{{item.title}}</view>

<view class=“title contentfont fontstyle”>{{item.room}}室{{item.parlour}}厅{{item.kitchen}}厨{{item.bathroom}}卫.{{item.area}}㎡.{{item.direction}}.</view>

<view class=“title contentfont fontstyle”>{{item.road}}.{{item.district}}</view>

<view class=“title contentfont fontstyle”>{{item.type}}</view>

</view>

</view>

</view>

</view>

</scroll-view>

2 回复
xiafang
xiafang1 楼6 年前

提供一下能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

fliao
fliao2 楼4 年前

楼主,问题解决了吗