<!--components/message/message.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 wx:if="{{iconShow}}" src="/assets/images/message/success.png" class="type-icon" />
      <view class="title">{{title}}</view>
      <view class="message">{{message}}</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>