2024-12-01 11:56:54 +00:00
|
|
|
<view
|
|
|
|
class="ant-popover {{showMask && mixin.value ? 'ant-popover-children' : ''}} {{className ? className : ''}}"
|
|
|
|
style="{{style || ''}}"
|
|
|
|
>
|
|
|
|
<view
|
|
|
|
id="ant-popover-children{{$id ? '-' + $id : ''}}"
|
|
|
|
onTap="onVisibleChange"
|
|
|
|
>
|
|
|
|
<slot></slot>
|
2024-11-10 07:01:22 +00:00
|
|
|
</view>
|
2024-12-01 11:56:54 +00:00
|
|
|
<view
|
2024-11-10 07:01:22 +00:00
|
|
|
a:if="{{!destroyOnClose || mixin.value}}"
|
2024-12-01 11:56:54 +00:00
|
|
|
hidden="{{!mixin.value}}"
|
|
|
|
id="ant-popover-content{{$id ? '-' + $id : ''}}"
|
|
|
|
class="ant-popover-content ant-popover-{{adjustedPlacement}}"
|
|
|
|
style="{{popoverContentStyle}}; {{adjustedPlacement ? '' : 'opacity: 0'}}"
|
|
|
|
>
|
2024-11-10 07:01:22 +00:00
|
|
|
<view
|
2024-12-01 11:56:54 +00:00
|
|
|
class="ant-popover-arrow ant-popover-{{adjustedPlacement}}-arrow"
|
|
|
|
style="{{color ? 'border-bottom-color:' + color : ''}}"
|
|
|
|
></view>
|
|
|
|
<view
|
|
|
|
class="ant-popover-inner {{contentClassName || ''}}"
|
|
|
|
style="{{color ? 'background:' + color : ''}};{{contentStyle || ''}}"
|
|
|
|
>
|
|
|
|
<slot name="content">{{content}}</slot>
|
2024-11-10 07:01:22 +00:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
2024-12-01 11:56:54 +00:00
|
|
|
<mask
|
|
|
|
show="{{showMask && mixin.value}}"
|
|
|
|
id="ant-popover-mask{{$id ? '-' + $id : ''}}"
|
|
|
|
className="ant-popover-mask {{maskClassName || ''}}"
|
|
|
|
style="{{maskStyle}}"
|
|
|
|
onMaskTap="onVisibleChange"
|
|
|
|
></mask>
|