12345678910111213141516171819202122232425 |
- <view
- wx:if="{{realVisible}}"
- style="{{customStyle + ';z-index:' + zIndex + ';'}}"
- class="{{className}} {{transitionClass}} {{prefix}}-class"
- bind:transitionend="onTransitionEnd"
- >
- <view class="{{classPrefix}}__content {{prefix}}-class-content">
- <view class="{{classPrefix}}__close" bind:tap="handleClose">
- <t-icon name="close" wx:if="{{closeBtn}}" size="64rpx" />
- <slot name="closeBtn" class="{{classPrefix}}-slot" />
- </view>
- <slot name="content" />
- <slot />
- </view>
- </view>
- <t-overlay
- id="popup-overlay"
- wx:if="{{showOverlay}}"
- visible="{{visible}}"
- z-index="{{overlayProps.zIndex}}"
- prevent-scroll-through="{{preventScrollThrough || overlayProps.preventScrollThrough}}"
- bind:tap="handleOverlayClick"
- custom-style="{{overlayProps.customStyle || ''}}"
- />
|