<view
  class="pop pop--{{ type }} {{ show ? 'pop--show' : '' }}"
>
  <view 
    wx:if="{{ overlay }}"
    class="pop__mask {{ showOverlay ? '' : 'pop__mask--hide' }}"
    bindtap="handleMaskClick"
  ></view>
  <view class="pop__container">
    <slot></slot>
  </view>
</view>
