白色主题

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

@@ -1,5 +1,5 @@
<view
style="{{ customStyle }}"
style="{{ style }}"
class="{{prefix}}-class {{classPrefix}} {{ hover ? classPrefix + '--hover' : ''}} {{ !bordered ? classPrefix + '--borderless' : ''}} {{classPrefix}}--{{align}}"
hover-class="{{classPrefix}}--hover-class"
hover-stay-time="70"
@@ -8,11 +8,14 @@
aria-label="{{ariaLabel}}"
>
<view class="{{classPrefix}}__left {{prefix}}-class-left">
<t-icon wx:if="{{ leftIcon }}" name="{{leftIcon}}" class="{{classPrefix}}__left-icon {{prefix}}-class-left-icon" />
<t-icon
wx:if="{{ leftIcon }}"
name="{{leftIcon}}"
t-class="{{classPrefix}}__left-icon {{prefix}}-class-left-icon"
/>
<slot name="left-icon" />
<t-image
wx:if="{{ image }}"
class="{{classPrefix}}__left-image"
shape="round"
t-class="{{classPrefix}}__left-image {{prefix}}-class-image"
src="{{ image }}"
@@ -40,9 +43,13 @@
</view>
<view class="{{classPrefix}}__right {{prefix}}-class-right">
<t-icon wx:if="{{ arrow }}" name="chevron-right" class="{{classPrefix}}__right-icon {{prefix}}-class-right-icon" />
<t-icon
wx:if="{{ arrow }}"
name="chevron-right"
t-class="{{classPrefix}}__right-icon {{prefix}}-class-right-icon"
/>
<block wx:else>
<t-icon name="{{rightIcon}}" class="{{classPrefix}}__right-icon {{prefix}}-class-right-icon" />
<t-icon name="{{rightIcon}}" t-class="{{classPrefix}}__right-icon {{prefix}}-class-right-icon" />
<slot name="right-icon" />
</block>
</view>