Welink ui组件介绍Switch
Switch
开关。Switch UI 提供与WeLink规范一致的视图。
<div class="weui-cells__title">Switch开关</div>
<div class="weui-cells weui-cells_form">
<div class="weui-cell weui-cell-list weui-cell_switch">
<div class="weui-cell__bd">
主文体
</div>
<div class="weui-cell__ft">
<input class="weui-switch" type="checkbox" checked/>
</div>
</div>
<div class="weui-cell weui-cell-list weui-cell_switch">
<div class="weui-cell__bd">
主文体
<div class="weui-cell__explan">
此处是辅助说明文体,说明文本
</div>
</div>
<div class="weui-cell__ft">
<input class="weui-switch" type="checkbox"/>
</div>
</div>
</div>
- 点赞
- 收藏
- 关注作者
评论(0)