2018-04-11 05:32:18 +00:00
|
|
|
<cn>
|
2018-12-15 08:54:26 +00:00
|
|
|
#### 大小
|
|
|
|
大中小三种组合,可以和表单输入框进行对应配合。
|
2018-04-11 05:32:18 +00:00
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
2018-12-15 08:54:26 +00:00
|
|
|
#### size
|
|
|
|
There are three sizes available: large, medium, and small. It can coordinate with input box.
|
2018-04-11 05:32:18 +00:00
|
|
|
</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>
|
|
|
|
```
|