海鲜小程序

index.wxml 574B

12345678910111213141516171819
  1. <wxs src="../wxs/utils.wxs" module="utils" />
  2. <view class="custom-class van-loading {{ vertical ? 'van-loading--vertical' : '' }}">
  3. <view
  4. class="van-loading__spinner van-loading__spinner--{{ type }}"
  5. style="color: {{ color }}; width: {{ utils.addUnit(size) }}; height: {{ utils.addUnit(size) }}"
  6. >
  7. <view
  8. wx:if="{{ type === 'spinner' }}"
  9. wx:for="{{ array12 }}"
  10. wx:key="index"
  11. class="van-loading__dot"
  12. />
  13. </view>
  14. <view class="van-loading__text" style="font-size: {{ utils.addUnit(textSize) }};">
  15. <slot />
  16. </view>
  17. </view>