白色主题

This commit is contained in:
2023-02-12 19:05:37 +08:00
parent 57ab6fbb49
commit a0b72a542a
104 changed files with 3942 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<wxs src="../common/utils.wxs" module="_" />
<view
style="{{ style }}"
class="{{_.cls(classPrefix + '__group', [])}} class {{prefix}}-class"
bind:touchstart="onTouchStart"
catch:touchmove="onTouchMove"
bind:touchend="onTouchEnd"
bind:touchcancel="onTouchEnd"
>
<view
class="{{classPrefix}}__wrapper"
style="transition: transform {{ duration }}ms cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, {{ offset }}px, 0)"
>
<view
class="{{_.cls(classPrefix + '__item', [['active', curIndex == index]])}}"
wx:for="{{options}}"
wx:key="index"
wx:for-item="option"
data-index="{{ index }}"
>
{{option.label}}
</view>
</view>
</view>