project init & fix ui
This commit is contained in:
23
miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxml
Normal file
23
miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxml
Normal file
@@ -0,0 +1,23 @@
|
||||
<view
|
||||
wx:if="{{realVisible && preventScrollThrough}}"
|
||||
class="{{prefix}}-overlay {{transitionClass}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{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}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
|
||||
bind:tap="handleClick"
|
||||
bind:transitionend="onTransitionEnd"
|
||||
aria-role="{{ ariaRole || 'button' }}"
|
||||
aria-label="{{ ariaLabel || '关闭' }}"
|
||||
>
|
||||
<slot />
|
||||
</view>
|
||||
Reference in New Issue
Block a user