index.axml 590 B

123456789101112131415161718192021222324
  1. <view
  2. a:if="{{ loading }}"
  3. class="ant-skeleton {{ className || '' }}">
  4. <view
  5. a:if="{{ avatar }}"
  6. class="ant-skeleton-avatar-wrapper">
  7. <avatar
  8. animate="{{ animate }}"
  9. loading
  10. size="{{ avatar === true ? 'medium' : avatar.size }}" />
  11. </view>
  12. <view class="ant-skeleton-content-wrapper">
  13. <title
  14. a:if="{{ title }}"
  15. animate="{{ animate }}"
  16. loading />
  17. <paragraph
  18. a:if="{{ paragraph }}"
  19. animate="{{ animate }}"
  20. rows="{{ paragraph === true ? 3 : paragraph.rows }}"
  21. loading />
  22. </view>
  23. </view>
  24. <slot a:else />