上拉刷新问题
发布于 4 年前 作者 weijiang 17823 次浏览 来自 问答

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

<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 回复

楼主,问题解决了吗

回到顶部