<view class="wrap">
  <view class="content {{animate ? 'animate' : ''}}"
        bindtouchstart="handleTouchStart"
        bindtouchmove="handleTouchMove"
        bindtouchend="handleTouchEnd"
        data-type="slide"
        style="transform: translateX({{translateX * 2}}rpx)"
  >
      <slot/>
  </view>
  <view class="action-wrap">
    <view class="action delete" bindtap="handleAction" data-type="delete">
      <text>删除</text>
    </view>
  </view>
</view>