白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -2,15 +2,16 @@
<view
wx:if="{{realVisible}}"
class="{{_.cls(classPrefix, [direction, theme, ['with-text', message]])}} {{prefix}}-class {{transitionClass}}"
style="top: {{placement === 'top' ? '25%' : placement === 'bottom' ? '75%': '45%'}} {{ customStyle }}"
style="top: {{placement === 'top' ? '25%' : placement === 'bottom' ? '75%': '45%'}} {{ style }}"
bind:transitionend="onTransitionEnd"
catch:touchstart="loop"
>
<view class="{{classPrefix}}__content {{classPrefix}}__content--{{direction}}">
<t-icon
aria-hidden="{{true}}"
wx:if="{{typeMapIcon!=='loading' || icon}}"
name="{{typeMapIcon || icon}}"
class="{{classPrefix}}__icon {{classPrefix}}__icon--{{direction}}"
t-class="{{classPrefix}}__icon {{classPrefix}}__icon--{{direction}}"
/>
<t-loading
wx:if="{{typeMapIcon === 'loading'}}"
@@ -30,7 +31,7 @@
</view>
</view>
<t-overlay
customStyle="{{ overlayProps.customStyle }}"
style="{{ overlayProps.style }}"
visible="{{realVisible && (showOverlay || preventScrollThrough)}}"
z-index="{{overlayProps.zIndex}}"
backgroundColor="{{preventScrollThrough ? 'transparent' : overlayProps.backgroundColor}}"