收藏
回答

onReachBottom触发机制问题


<view class="invited-bg">
  <image class="top-pic" mode='scaleToFill' src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1540977002352&di=f06b711a345882011ae0a7d2c2e6b4a2&imgtype=0&src=http%3A%2F%2Fbpic.ooopic.com%2F16%2F88%2F91%2F16889138-0849565886e748e3dbc63baa54debdc0.jpg"></image>
</view>
<navigator url="/pages/user/child-study/child-study" class="link">查看下级</navigator>
<view class="car-con">
  <block wx:for="{{childrenList}}" wx:key="*this">
    <view class="card">
      <navigator url="/pages/user/detail/detail?userid={{item.UserID}}">
        <image class="avatar" src='{{item.HeadImgUrl}}' mode="scaleToFill"></image>
        <view class="name">{{item.RealName}}</view>
      </navigator>
      <image class="flag" wx:if="{{item.Status == 1 ? flase : true}}" src='./spic1.png'></image>
      <image class="flag" wx:if="{{item.Status == 1 ? true : false}}" src='./spic2.png'></image>
    </view>
  </block>
</view>

我注释掉view.invited-bg就能上拉加载,但是加上了就不能触发,就想问下onReachBottom是怎么实现触发的

最后一次编辑于  2018-11-29  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏