index.axml 505 B

1234567891011121314151617181920212223242526
  1. <view
  2. class="ant-list {{ className ? className : '' }} {{ radius ? 'ant-list-radius' : '' }}">
  3. <view
  4. a:if="{{ header }}"
  5. class="ant-list-header">
  6. {{ header }}
  7. </view>
  8. <view
  9. a:else
  10. class="ant-list-header">
  11. <slot name="header" />
  12. </view>
  13. <view class="ant-list-body">
  14. <slot />
  15. </view>
  16. <view
  17. a:if="{{ footer }}"
  18. class="ant-list-footer">
  19. {{ footer }}
  20. </view>
  21. <view
  22. a:else
  23. class="ant-list-footer">
  24. <slot name="footer" />
  25. </view>
  26. </view>