index.axml 959 B

12345678910111213141516
  1. <view class='swipe-cell-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <view class='van-swipe-cell {{customClass}}' data-key='cell' catchTap='antmoveAction' data-antmove-tap='onClick' onTouchStart='antmoveAction' data-antmove-touchstart='startDrag' catchTouchMove='antmoveAction' data-antmove-touchmove="{{ catchMove ? 'noop' : 'onDrag' }}" onTouchEnd='antmoveAction' data-antmove-touchend='endDrag' onTouchCancel='antmoveAction' data-antmove-touchcancel='endDrag'>
  3. <view style='{{ wrapperStyle }}'>
  4. <view a:if='{{ leftWidth }}' class='van-swipe-cell__left' data-key='left' catchTap='antmoveAction' data-antmove-tap='onClick'>
  5. <slot name='left'>
  6. </slot>
  7. </view>
  8. <slot>
  9. </slot>
  10. <view a:if='{{ rightWidth }}' class='van-swipe-cell__right' data-key='right' catchTap='antmoveAction' data-antmove-tap='onClick'>
  11. <slot name='right'>
  12. </slot>
  13. </view>
  14. </view>
  15. </view>
  16. </view>