You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
421 B

<!-- mask.wxml -->
<view
class="container-mask {{center? 'center' : ''}} l-class"
hidden="{{ show? '' : 'hidden'}}"
catchtouchmove="doNothingMove"
catchtap="onMaskTap"
style="z-index:{{zIndex}}; {{show? 'background: rgba(0,0,0,' + opacity+ ')' : ''}}"
>
<!-- <view class="mask-bg" catchtap="onMaskTap" ></view> -->
<view class="mask-content l-mask-class" >
<slot></slot>
</view>
</view>