<!--component/dialog/dialog.wxml-->
<view class='wxy-dialog fade {{show ? "in":""}}'>
  <view wx:if="{{show}}">
    <view data-id="mask" class="dialog-mask" capture-catch:touchstart='_close'></view>
    <view class='dialog-body' wx:if="{{showDefalut && dialog.state !== 'success'}}">
      <view class='main' bindtap='_handleGo'>
        <view class="main-close" bindtap='_close'>x</view>
        <view class='content'>
          <text>确认删除此作品吗?</text>
          <view class="check-del" bindtap='confirm'>确认</view>
        </view>
      </view>

    </view>
    <slot name="after"></slot>
  </view>
</view>

