mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
13 lines
860 B
Plaintext
13 lines
860 B
Plaintext
<!---------- wxs start ----------->
|
|
<wxs module="utils" src="../wxs/utils.wxs"></wxs>
|
|
<wxs module="computed" src="./index.wxs"></wxs>
|
|
<!---------- wxs end ----------->
|
|
|
|
|
|
|
|
<van-overlay wx:if="{{ overlay }}" show="{{ show }}" z-index="{{ zIndex }}" custom-style="{{ overlayStyle }}" duration="{{ duration }}" bind:click="onClickOverlay"></van-overlay>
|
|
<view wx:if="{{ inited }}" class="custom-class {{ classes }} {{ utils.bem('popup', [position, { round, safe: safeAreaInsetBottom, safeTop: safeAreaInsetTop }]) }}" style="{{ computed.popupClass({ zIndex, currentDuration, display, customStyle }) }}" bind:transitionend="onTransitionEnd">
|
|
<slot></slot>
|
|
<van-icon wx:if="{{ closeable }}" name="{{ closeIcon }}" class="close-icon-class van-popup__close-icon van-popup__close-icon--{{ closeIconPosition }}" bind:tap="onClickCloseIcon"></van-icon>
|
|
</view>
|