You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
861 B
41 lines
861 B
|
|
<cn>
|
|
#### 三种大小
|
|
三种大小的输入框,若不设置,则为 `default`。
|
|
</cn>
|
|
|
|
<us>
|
|
#### Three Sizes
|
|
The input box comes in three sizes. `default` will be used if `size` is omitted.
|
|
</us>
|
|
|
|
```html
|
|
<template>
|
|
<div>
|
|
<a-radio-group v-model="size">
|
|
<a-radio-button value="large">Large</a-radio-button>
|
|
<a-radio-button value="default">Default</a-radio-button>
|
|
<a-radio-button value="small">Small</a-radio-button>
|
|
</a-radio-group>
|
|
<br /><br />
|
|
<a-date-picker :size="size" />
|
|
<br />
|
|
<a-month-picker :size="size" placeholder="Select Month" />
|
|
<br />
|
|
<a-range-picker :size="size" />
|
|
<br />
|
|
<a-week-picker :size="size" placeholder="Select Week" />
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import moment from 'moment';
|
|
export default {
|
|
data(){
|
|
return {
|
|
size: 'default',
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
```
|