vant-weapp/dist/popup/index.wxml
2018-08-07 15:10:21 +08:00

10 lines
309 B
Plaintext

<view
wx:if="{{ overlay }}"
class="overlay-class van-popup__overlay {{ show ? 'van-popup--show' : '' }}"
style="{{ overlayStyle }}"
bind:tap="onClickOverlay"
/>
<view class="custom-class van-popup {{ position ? 'van-popup--' + position : '' }} {{ show ? 'van-popup--show' : '' }}">
<slot />
</view>