project init

This commit is contained in:
limqhz
2022-11-17 17:05:46 +08:00
parent 597b107cf7
commit eec0e5575f
108 changed files with 4483 additions and 36 deletions

View File

@@ -0,0 +1,25 @@
<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 || ''}}"
/>