first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<wux-spin nested spinning="{{ loading }}">
<view
class="wux-class {{ classes.wrap }}"
data-picker-value="{{ inputValue }}"
style="{{ styles.wrap }}"
bind:touchstart="onTouchStart"
catch:touchmove="onTouchMove"
bind:touchend="onTouchEnd"
bind:touchcancel="onTouchEnd"
>
<view class="wux-mask-class {{ maskClass }} {{ classes.mask }}" style="{{ styles.mask }} {{ extMaskStyle }}"></view>
<view class="wux-indicator-class {{ indicatorClass }} {{ classes.indicator }}" style="{{ styles.indicator }} {{ extIndicatorStyle }}"></view>
<view class="wux-content-class {{ classes.content }}" style="{{ styles.content }} {{ contentStyle }}">
<block wx:for="{{ cols }}" wx:for-item="col" wx:key="{{ col[fieldNames.value] }}">
<view
style="{{ styles.item }} {{ extItemStyle }}"
class="{{ classes.item }} {{ col.disabled ? prefixCls + '__item--disabled' : '' }} {{ selectedIndex === index ? prefixCls + '__item--selected' : '' }}"
data-value="{{ col[fieldNames.value] }}"
data-index="{{ index }}"
data-disabled="{{ !!col.disabled }}"
catchtap="onItemClick"
>
{{ col[fieldNames.label] }}
</view>
</block>
</view>
</view>
</wux-spin>