project init
This commit is contained in:
19
components/overlay/overlay.wxml
Normal file
19
components/overlay/overlay.wxml
Normal file
@@ -0,0 +1,19 @@
|
||||
<view
|
||||
wx:if="{{realVisible && preventScrollThrough}}"
|
||||
class="{{prefix}}-overlay {{transitionClass}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
|
||||
bind:tap="handleClick"
|
||||
catchtouchmove="noop"
|
||||
bind:transitionend="onTransitionEnd"
|
||||
>
|
||||
<slot />
|
||||
</view>
|
||||
<view
|
||||
wx:elif="{{realVisible}}"
|
||||
class="{{prefix}}-overlay {{transitionClass}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
|
||||
bind:tap="handleClick"
|
||||
bind:transitionend="onTransitionEnd"
|
||||
>
|
||||
<slot />
|
||||
</view>
|
||||
Reference in New Issue
Block a user