Switch


开关。Switch UI 提供与WeLink规范一致的视图。

效果示例

HTML
    <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>

result. ""

    Not Found. ""