小程序npm和node模块

This commit is contained in:
Abin
2026-01-05 18:07:10 +08:00
parent a07c8f7ef9
commit 66b2e3ddac
1402 changed files with 35461 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<wxs src="../wxs/utils.wxs" module="utils" />
<wxs src="./index.wxs" module="computed" />
<view
class="{{ utils.bem('switch', { on: checked === activeValue, disabled }) }} custom-class"
style="{{ computed.rootStyle({ size, checked, activeColor, inactiveColor, activeValue }) }}"
bind:tap="onClick"
>
<view class="van-switch__node node-class">
<van-loading
wx:if="{{ loading }}"
color="{{ computed.loadingColor({ checked, activeColor, inactiveColor, activeValue }) }}"
custom-class="van-switch__loading"
/>
</view>
</view>