单选/多选/开关
单选/多选/开关均支持 disabled
属性。
单选:
.aui-radio
多选:
.aui-checkbox
开关:
.aui-switch
示例源码
<div class="aui-content-padded">
<label><input class="aui-radio" type="radio" name="demo" checked=""> 选项一</label>
<label><input class="aui-radio" type="radio" name="demo"> 选项二</label>
<label><input class="aui-radio" type="radio" name="demo" disabled=""> 禁止</label>
</div>
<div class="aui-content-padded">
<label><input class="aui-checkbox" type="checkbox" name="demo1" checked=""> 选项一</label>
<label><input class="aui-checkbox" type="checkbox" name="demo1"> 选项二</label>
<label><input class="aui-checkbox" type="checkbox" name="demo1" disabled=""> 禁止</label>
</div>
<div class="aui-content-padded">
<input class="aui-switch" type="checkbox" name="demo2" checked=""> 开
<input class="aui-switch" type="checkbox" name="demo2"> 关
<input class="aui-switch" type="checkbox" name="demo2" disabled=""> 禁止
</div>