mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
智慧宿舍系统小程序
This commit is contained in:
16
wechat/miniprogram/node_modules/@vant/weapp/dist/switch/index.wxml
generated
vendored
Normal file
16
wechat/miniprogram/node_modules/@vant/weapp/dist/switch/index.wxml
generated
vendored
Normal 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 }) }}"
|
||||
bind:tap="onClick"
|
||||
>
|
||||
<view class="van-switch__node node-class">
|
||||
<van-loading
|
||||
wx:if="{{ loading }}"
|
||||
color="{{ computed.loadingColor({ checked, activeColor, inactiveColor }) }}"
|
||||
custom-class="van-switch__loading"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user