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.
17 lines
635 B
17 lines
635 B
<wxs src="../wxs/utils.wxs" module="utils" />
|
|
<wxs src="./index.wxs" module="computed" />
|
|
<view
|
|
wx:if="{{ inited }}"
|
|
class="custom-class {{ classes }} {{ utils.bem('popup', [position, { round, safe: safeAreaInsetBottom, safeTop: safeAreaInsetTop, safeTabBar: safeAreaTabBar }]) }}"
|
|
style="{{ computed.popupStyle({ zIndex, currentDuration, display, customStyle }) }}"
|
|
bind:transitionend="onTransitionEnd"
|
|
>
|
|
<slot />
|
|
<van-icon
|
|
wx:if="{{ closeable }}"
|
|
name="{{ closeIcon }}"
|
|
class="close-icon-class van-popup__close-icon van-popup__close-icon--{{ closeIconPosition }}"
|
|
bind:tap="onClickCloseIcon"
|
|
/>
|
|
</view>
|