index.wxml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <waterfall
  2. custom-class="waterfall-box"
  3. loading="{{updateLoading}}"
  4. isAllLoaded="{{isAllLoaded}}"
  5. isUpdateFlow="{{goodsTypeId}}"
  6. >
  7. <waterfall-item
  8. id="waterfall"
  9. custom-class="product-item-box"
  10. wx:for="{{list}}"
  11. wx:key="index"
  12. >
  13. <view class="col-item" data-id="{{item.aid}}" data-relAid="{{item.relAid ||''}}" data-title="{{item.title}}" bindtap="goDetails">
  14. <view style="width:342rpx;height:342rpx;overflow:hidden;background: #eaeaea;">
  15. <image class="goods-img" lazy-load mode="widthFix" src="{{item.logo}}"></image>
  16. </view>
  17. <view class="goods-it-bo">
  18. <view class="title">{{item.title}}</view>
  19. <view class="act-sign" wx:if="{{item.maxUserCoin&&item.maxUserCoin>0}}">
  20. <text>宝贝币最高再抵{{item.maxUserCoin/10}}元</text>
  21. </view>
  22. <view class="goods-price" wx:if="{{item.price || item.originalPrice}}">
  23. <text class="real-p" wx:if="{{item.price}}">¥{{item.price}}</text>
  24. <text class="orig-p" wx:if="{{item.originalPrice}}">¥{{item.originalPrice}}</text>
  25. </view>
  26. </view>
  27. </view>
  28. </waterfall-item>
  29. </waterfall>