waterfall.wxml 560 B

123456789101112131415161718
  1. <view class="waterfall custom-class">
  2. <view class="waterfall-inner" style="height:{{waterfallHeight}}px;">
  3. <slot ></slot>
  4. </view>
  5. <view wx:if="{{loading}}" class="loading">
  6. <view class="loading-icon"></view>
  7. <text>{{loadingText}}</text>
  8. </view>
  9. <view wx:if="{{isShowAllLoadedTxt}}" class="all-loaded">
  10. <view class="all-loaded-line"></view>
  11. <text class="all-loaded-text">{{allLoadedText}}</text>
  12. </view>
  13. <view class="empty" wx:if="{{isAllLoaded && isEmpty}}">{{emptyText}}</view>
  14. <view class="placeholder" ></view>
  15. </view>