41 lines
1.3 KiB
Markdown
41 lines
1.3 KiB
Markdown
<cn>
|
|
#### 大小
|
|
大中小三种组合,可以和表单输入框进行对应配合。
|
|
</cn>
|
|
|
|
<us>
|
|
#### size
|
|
There are three sizes available: large, medium, and small. It can coordinate with input box.
|
|
</us>
|
|
|
|
```html
|
|
<template>
|
|
<div>
|
|
<div>
|
|
<a-radio-group defaultValue="a" size="large">
|
|
<a-radio-button value="a">Hangzhou</a-radio-button>
|
|
<a-radio-button value="b">Shanghai</a-radio-button>
|
|
<a-radio-button value="c">Beijing</a-radio-button>
|
|
<a-radio-button value="d">Chengdu</a-radio-button>
|
|
</a-radio-group>
|
|
</div>
|
|
<div :style="{ marginTop: '16px' }">
|
|
<a-radio-group defaultValue="a">
|
|
<a-radio-button value="a">Hangzhou</a-radio-button>
|
|
<a-radio-button value="b">Shanghai</a-radio-button>
|
|
<a-radio-button value="c">Beijing</a-radio-button>
|
|
<a-radio-button value="d">Chengdu</a-radio-button>
|
|
</a-radio-group>
|
|
</div>
|
|
<div :style="{ marginTop: '16px' }">
|
|
<a-radio-group defaultValue="a" size="small">
|
|
<a-radio-button value="a">Hangzhou</a-radio-button>
|
|
<a-radio-button value="b">Shanghai</a-radio-button>
|
|
<a-radio-button value="c">Beijing</a-radio-button>
|
|
<a-radio-button value="d">Chengdu</a-radio-button>
|
|
</a-radio-group>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
```
|