mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-06 21:39:45 +08:00
docs(Checkbox): update checkbox use with cell demo @rex-zsd (#947)
#937
This commit is contained in:
parent
5934e9e18f
commit
1186fb24d5
@ -84,6 +84,7 @@
|
||||
wx:for="{{ list }}"
|
||||
wx:key="{{ index }}"
|
||||
title="复选框{{ item }}"
|
||||
value-class="value-class"
|
||||
clickable
|
||||
data-name="{{ item }}"
|
||||
bind:click="toggle"
|
||||
|
@ -6,6 +6,10 @@
|
||||
margin: 10px 0 0 20px;
|
||||
}
|
||||
|
||||
.value-class {
|
||||
flex: none !important;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 20px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user