index.axml 716 B

1234567891011121314
  1. <view class='loading-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <import-sjs from='../wxs/utils.sjs' name='utils'>
  3. </import-sjs>
  4. <view class="{{customClass}} van-loading {{ vertical ? 'van-loading--vertical' : '' }}">
  5. <view class='van-loading__spinner van-loading__spinner--{{ type }}' style='color: {{ color }}; width: {{ utils.addUnit(size) }}; height: {{ utils.addUnit(size) }}'>
  6. <view a:if="{{ type === 'spinner' }}" a:for='{{ array12 }}' a:key='{{index}}' class='van-loading__dot' ref-numbers='{{ array12 }}'>
  7. </view>
  8. </view>
  9. <view class='van-loading__text' style='font-size: {{ utils.addUnit(textSize) }};'>
  10. <slot>
  11. </slot>
  12. </view>
  13. </view>
  14. </view>