提交
This commit is contained in:
30
甲情_甲意/miniprogram/node_modules/antd-mini/less/Popup/index.axml
generated
vendored
Normal file
30
甲情_甲意/miniprogram/node_modules/antd-mini/less/Popup/index.axml
generated
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<import-sjs
|
||||
from="./index.sjs"
|
||||
name="utils"
|
||||
></import-sjs>
|
||||
<view
|
||||
a:if="{{!destroyOnClose || visible || closing}}"
|
||||
class="ant-popup {{className || ''}}"
|
||||
style="{{zIndex ? 'z-index:' + zIndex : ''}};{{style || ''}}"
|
||||
hidden="{{!destroyOnClose && !visible && !closing}}"
|
||||
>
|
||||
<view
|
||||
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)}}"
|
||||
onAnimationEnd="onAnimationEnd"
|
||||
>
|
||||
<slot></slot>
|
||||
<slot
|
||||
name="content"
|
||||
a:if="{{isOldVersion}}"
|
||||
></slot>
|
||||
</view>
|
||||
</view>
|
Reference in New Issue
Block a user