index.wxml 956 B

1234567891011121314151617
  1. <slot name="content"/>
  2. <view mut-bind:tap="onLoadmore" wx:if="{{show}}">
  3. <view wx:if="{{custom && type==='end'}}">
  4. <slot name="end"/>
  5. </view>
  6. <view wx:elif="{{custom && type==='loading'}}">
  7. <slot name="loading"/>
  8. </view>
  9. <view class="loading l-class" wx:else>
  10. <view class="line loading-view" style="{{'background-color:'+color}}" wx:if="{{line}}"></view>
  11. <view class="rotate loading-view" style="border-color: {{color}};width:{{size}}rpx;height:{{size}}rpx" wx:if="{{type=='loading'}}"></view>
  12. <view class="loading-text l-loading-class loading-view" style="color:{{color}};font-size:{{size}}rpx" wx:if="{{type=='loading'}}">{{loadingText}}</view>
  13. <view class="loading-text l-end-class loading-view" style="{{'color:'+color}};font-size:{{size}}rpx" wx:if="{{type=='end'}}">{{endText}}</view>
  14. <view class="line l-line-class loading-view" style="{{'background-color:'+color}}" wx:if="{{line}}"></view>
  15. </view>
  16. </view>