jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/less/Popup/index.axml

30 lines
1015 B
Plaintext
Raw Normal View History

2024-12-01 11:56:54 +00:00
<import-sjs
from="./index.sjs"
name="utils"
></import-sjs>
2024-11-10 07:01:22 +00:00
<view
a:if="{{!destroyOnClose || visible || closing}}"
2024-12-01 11:56:54 +00:00
class="ant-popup {{className || ''}}"
style="{{zIndex ? 'z-index:' + zIndex : ''}};{{style || ''}}"
2024-11-10 07:01:22 +00:00
hidden="{{!destroyOnClose && !visible && !closing}}"
>
<view
2024-12-01 11:56:54 +00:00
a:if="{{showMask}}"
class="ant-popup-mask {{maskClassName || ''}} {{closing && !visible ? 'ant-popup-mask-closing' : ''}}"
onTap="onTapMask"
style="{{animation ? '-webkit-animation-duration:' + duration + 'ms; animation-duration:' + duration + 'ms;' : ''}} {{maskStyle || ''}}"
>
<slot name="mask"></slot>
</view>
<view
class="ant-popup-content ant-popup-{{animationType}}-{{position}} {{closing ? 'ant-popup-' + animationType + '-' + position + '-close' : ''}}"
style="{{utils.getContentStyle(position, animation, duration, width, height)}}"
2024-11-10 07:01:22 +00:00
onAnimationEnd="onAnimationEnd"
>
2024-12-01 11:56:54 +00:00
<slot></slot>
<slot
name="content"
a:if="{{isOldVersion}}"
></slot>
2024-11-10 07:01:22 +00:00
</view>
</view>