index.axml 714 B

123456789101112131415161718192021222324
  1. <view
  2. class="ant-empty {{ className || '' }}"
  3. style="{{ style || '' }}">
  4. <view class="ant-empty">
  5. <view class="ant-empty-image">
  6. <slot name="image">
  7. <image
  8. class="ant-empty-image-element"
  9. src="{{ image || 'https://gw.alipayobjects.com/mdn/rms_226d75/afts/img/A*0AaRRrYlVDkAAAAAAAAAAAAAARQnAQ' }}" />
  10. </slot>
  11. </view>
  12. <view class="ant-empty-text">
  13. <view class="ant-empty-text-main">
  14. <slot name="title">{{ title }}</slot>
  15. </view>
  16. <view class="ant-empty-text-sub">
  17. <slot name="message">{{ message }}</slot>
  18. </view>
  19. </view>
  20. <view class="ant-empty-extra">
  21. <slot name="extra" />
  22. </view>
  23. </view>
  24. </view>