scroll-view 下拉在安卓真机上无效,开发工具中正常(另一页面正常的)
发布于 6 年前 作者 weipeng 3099 次浏览 来自 问答
<view wx:if="{{newlist!=''}}">
    <scroll-view bindscroll="scroll" style="height:{{scrollHeight}}px;overflow:auto"  class="scrollview-list" scroll-y="true" bindscrolltolower="lowermore">
      <view wx:for="{{newlist}}" wx:key="">
        <view data-productId="{{item.productId}}" data-shopId="{{item.shopId}}" catchtap="clickitem" class="topContainsView">
          <image class="goodsImage" src="{{item.imageUrl}}" mode='scaleToFill' />
          <view class="topRightView">
            <text class="topRightName">{{item.productName}} </text>
            <text class="topRightTime">¥{{item.price}}</text>
 
            <view class="saleAndcom">
              <text class="saletext">{{item.storeName}}</text>
              <text class="saleRightText">运费:{{item.postPrice}} 销量{{item.salesVolume}}</text>
            </view>
          </view>
        </view>
      </view>
      到底了哦~
    </scroll-view>
  </view>

发现没有调用lowermore,为什么呢?高度我已经获取到了

回到顶部