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