index.wxml 482 B

1234567891011
  1. <!-- popup.wxml -->
  2. <view class='container-popup {{ show ? "popup-show" : "" }} {{ "l-popup-" + contentAlign }} ' style="z-index:{{zIndex}}; " catchtouchmove="doNothingMove">
  3. <view class='container-bg l-bg-class'></view>
  4. <view
  5. wx:if="{{show}}"
  6. class="popup-content {{ show ? contentAlign : ''}} popup-fade-{{contentAlign}}-active-{{animation ? status:''}}" catchtap='onPupopTap'>
  7. <view catchtap="doNothingTap">
  8. <slot></slot>
  9. </view>
  10. </view>
  11. </view>