File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
examples/pages/components/form/pages/checkbox Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 164
164
<view class='title'>8. 前端需要学习哪些技能?</view>
165
165
<l-checkbox-group l-class="l-checkbox-group" bind:linchange="change" placement="row" data-index="8">
166
166
<l-checkbox
167
+ class="checkbox-mg"
167
168
l-class="l-checkbox"
168
169
l-disabled-class="l-checkbox-disabled"
169
170
wx:for="{{items8}}"
170
171
wx:key="{{item.id}}"
171
172
placement="{{position}}"
172
173
key="{{item.name}}"
173
174
checked="{{item.checked}}"
174
- disabled="{{item.id==1}}"
175
175
>
176
176
{{item.name}}
177
177
</l-checkbox>
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
.l-checkbox {
26
+ border: 1px solid #cccccc !important;
26
27
color: rgba(140, 152, 174, 1) !important;
28
+ padding: 0 30rpx;
29
+ border-radius: 10rpx;
27
30
}
28
31
.l-checkbox-disabled {
29
- color: #dddddd !important;
32
+ border: 1px solid #cccccc !important;
33
+ color: rgba(140, 152, 174, 1) !important;
34
+ padding: 0 30rpx;
35
+ border-radius: 10rpx;
30
36
}
31
37
.l-checkbox-group{
32
- margin-top: 30rpx
38
+ margin-top: 10rpx
33
39
}
34
40
35
41
.l-checkbox-color{
43
49
padding: 10rpx 0;
44
50
}
45
51
52
+ .checkbox-mg{
53
+ margin: 10rpx;
54
+ }
You can’t perform that action at this time.
0 commit comments