docs(Checkbox): update checkbox use with cell demo @rex-zsd (#947)

#937
This commit is contained in:
rex 2018-11-24 11:28:03 +08:00 committed by neverland
parent 5934e9e18f
commit 1186fb24d5
2 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,7 @@
wx:for="{{ list }}"
wx:key="{{ index }}"
title="复选框{{ item }}"
value-class="value-class"
clickable
data-name="{{ item }}"
bind:click="toggle"

View File

@ -6,6 +6,10 @@
margin: 10px 0 0 20px;
}
.value-class {
flex: none !important;
}
.icon {
width: 20px;
}