index.axml 682 B

123456789101112131415161718192021
  1. <view
  2. class="ant-checklist-item"
  3. onTap="{{ item.disabled || item.readonly ? '' : 'onChecklistItemClick' }}"
  4. hover-class="{{ item.disabled || item.readonly ? '' : 'ant-checklist-item-hover' }}"
  5. hover-start-time="{{ 20 }}"
  6. hover-stay-time="{{ 40 }}">
  7. <view
  8. class="ant-checklist-item-content {{ item.disabled ? 'ant-checklist-item-content-disabled' : '' }}">
  9. <view class="ant-checklist-item-content-box">
  10. <slot
  11. name="content"
  12. item="{{ item }}" />
  13. </view>
  14. <view
  15. a:if="{{ checked }}"
  16. class="ant-checklist-item-content-icon">
  17. <slot name="icon" />
  18. </view>
  19. </view>
  20. <view class="ant-checklist-item-line" />
  21. </view>