mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
c64d80ab59
commit
ad3973272b
@ -49,7 +49,7 @@ Page({
|
|||||||
通过设置`label-disabled`属性可以禁用复选框文本点击
|
通过设置`label-disabled`属性可以禁用复选框文本点击
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<van-checkbox value="{{ checked }}" icon-disabled>复选框</van-checkbox>
|
<van-checkbox value="{{ checked }}" label-disabled>复选框</van-checkbox>
|
||||||
```
|
```
|
||||||
|
|
||||||
### 自定义形状
|
### 自定义形状
|
||||||
|
@ -54,8 +54,8 @@ Page({
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<van-radio-group value="{{ radio }}" bind:change="onChange">
|
<van-radio-group value="{{ radio }}" bind:change="onChange">
|
||||||
<van-radio name="1" icon-disabled>单选框 1</van-radio>
|
<van-radio name="1" label-disabled>单选框 1</van-radio>
|
||||||
<van-radio name="2" icon-disabled>单选框 2</van-radio>
|
<van-radio name="2" label-disabled>单选框 2</van-radio>
|
||||||
</van-radio-group>
|
</van-radio-group>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user