This commit is contained in:
lik
2026-05-30 21:09:24 +08:00
parent 212c94224b
commit 010cf160a0
1075 changed files with 67487 additions and 1 deletions
@@ -0,0 +1,25 @@
<wxs src="../common/utils.wxs" module="_" />
<view
wx:if="{{realVisible && preventScrollThrough}}"
class="{{prefix}}-overlay {{transitionClass}} class"
style="{{_._style(['--td-overlay-transition-duration:' + duration + 'ms', 'z-index:' + _zIndex, 'top:' + distanceTop + 'px', computedStyle, style, customStyle])}}"
bind:tap="handleClick"
catchtouchmove="noop"
bind:transitionend="onTransitionEnd"
aria-role="{{ ariaRole || 'button' }}"
aria-label="{{ ariaLabel || '关闭' }}"
>
<slot />
</view>
<view
wx:elif="{{realVisible}}"
class="{{prefix}}-overlay {{transitionClass}} class"
style="{{_._style(['z-index:' + _zIndex, computedStyle, style, customStyle])}}"
bind:tap="handleClick"
bind:transitionend="onTransitionEnd"
aria-role="{{ ariaRole || 'button' }}"
aria-label="{{ ariaLabel || '关闭' }}"
>
<slot />
</view>