提交 50b5d230 编写于 作者: H hdx

wip(switch): add disabled style

上级 70b7d11e
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
<switch @change="switch2Change" /> <switch @change="switch2Change" />
<!-- <text class="switch-checked-value">{{clickCheckedValue}}</text> --> <!-- <text class="switch-checked-value">{{clickCheckedValue}}</text> -->
</view> </view>
<view class="uni-title">禁用样式</view>
<view class="flex-row">
<switch class="switch-checked" :checked="checked" :disabled="true" />
<switch :disabled="true" />
</view>
<view class="uni-title">不同颜色和尺寸的switch</view> <view class="uni-title">不同颜色和尺寸的switch</view>
<view class="flex-row"> <view class="flex-row">
<switch class="switch-color-checked" :color="color" style="transform:scale(0.7)" :checked="true" /> <switch class="switch-color-checked" :color="color" style="transform:scale(0.7)" :checked="true" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册