Popup.wxml 716 Bytes
<view class="popup" hidden="{{ !showPopup }}" catchtouchmove="noScroll">
  <view class="popup-bg" bindtap="hidePopup"></view>
  <view class="popup-content" style="height:{{ height }}">
    <block wx:if="{{ title }}">
      <view class="popup-title text-center">{{title}}</view>
    </block>
    <view class="popup-slot popup-slot-class {{ isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':'' }}" style="{{slotStyle}}">
      <slot></slot>
    </view>
    <view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}">
      <view class="cancel btn text-center" bind:tap="hidePopup">取消</view>
      <view class="confirm btn text-center" bind:tap="confirm">确认</view>
    </view>
  </view>
</view>