Small micro-channel program blocks remove the front checkbox / style modification

Micro-channel applet checkbox

<checkbox-group bindchange="checkboxChange">
<label class="checkbox" wx:for="{{items}}" wx:key="item">
<checkbox value="{{item.name}}" checked="{{item.checked}}">{{item.value}}</checkbox>
</label>
</checkbox-group>

Remove the front block checkbox / style modification

{checkbox 
    / * checkbox overall pattern * / 
} 

checkbox .wx-INPUT-checkbox { 
    / * background style options checkbox front frame * / 
} 

checkbox .wx-checkbox-input.wx-checkbox the checked-INPUT-{ 
    / * checkbox is after selecting the check box in front of the background pattern * / 
} 

CheckBox .wx-CheckBox CheckBox-INPUT-input.wx-before-the checked :: { 
    / * CheckBox after a check mark in front of the selected style * / 
}

Guess you like

Origin www.cnblogs.com/tt-ff/p/12073110.html