index.wxml 503 B

12345678910111213141516
  1. <view class="custom-class van-loading {{ vertical ? 'van-loading--vertical' : '' }}">
  2. <view
  3. class="van-loading__spinner van-loading__spinner--{{ type }}"
  4. style="color: {{ color }}; width: {{ sizeWithUnit }}; height: {{ sizeWithUnit }}"
  5. >
  6. <view
  7. wx:if="{{ type === 'spinner' }}"
  8. wx:for="item in 12"
  9. wx:key="index"
  10. class="van-loading__dot"
  11. />
  12. </view>
  13. <view class="van-loading__text" style="font-size: {{ textSizeWithUnit }};">
  14. <slot />
  15. </view>
  16. </view>