index.wxml 353B

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