overlay.wxml 514 B

12345678910111213141516171819
  1. <view
  2. wx:if="{{realVisible && preventScrollThrough}}"
  3. class="{{prefix}}-overlay {{transitionClass}}"
  4. style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
  5. bind:tap="handleClick"
  6. catchtouchmove="noop"
  7. bind:transitionend="onTransitionEnd"
  8. >
  9. <slot />
  10. </view>
  11. <view
  12. wx:elif="{{realVisible}}"
  13. class="{{prefix}}-overlay {{transitionClass}}"
  14. style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
  15. bind:tap="handleClick"
  16. bind:transitionend="onTransitionEnd"
  17. >
  18. <slot />
  19. </view>