<!--components/confirm/confirm.wxml-->
<view wx:if="{{visible}}" class="message-cmp">
  <shadow>
    <view class="message-box">
      <!-- <image src="/assets/images/message/cancel.png" class="cancel-icon" bind:tap="close" /> -->
      <!-- <image src="/assets/images/message/success.png" class="type-icon" /> -->
      <view class="title">{{title}}</view>
      <view class="message">{{message}}</view>
      <view class="btns">
        <view class="cancel-btn" bind:tap="cencel">{{cancelText}}</view>
        <view class="confirm-btn" bind:tap="confirm">{{confirmText}}</view>
      </view>
      <!-- <view wx:if="{{confirmShow}}" class="confim-btn" bind:tap="confirm">{{confirmText}}</view> -->
      <!-- <view wx:if="{{cancelShow}}" class="cancel-btn" bind:tap="cencel">{{cancelText}}</view> -->
    </view>
  </shadow>
</view>