仿互站小程序
This commit is contained in:
6
vant/switch/index.wxml
Normal file
6
vant/switch/index.wxml
Normal file
@@ -0,0 +1,6 @@
|
||||
<view bind:tap="onClick" class="custom-class {{utils.bem( 'switch',{on:value===activeValue,disabled:disabled} )}}" style="font-size: {{size}}; {{checked?activeColor:inactiveColor?'background-color: '+(checked?activeColor:inactiveColor):''}}">
|
||||
<view class="van-switch__node node-class">
|
||||
<van-loading customClass="van-switch__loading" size="50%" wx:if="{{loading}}"></van-loading>
|
||||
</view>
|
||||
</view>
|
||||
<wxs module="utils" src="../wxs/utils.wxs" />
|
Reference in New Issue
Block a user