2018-03-14 14:00:43 +00:00
|
|
|
<cn>
|
|
|
|
#### 卡片模式
|
2018-03-13 14:40:13 +00:00
|
|
|
用于嵌套在空间有限的容器中。
|
2018-03-14 14:00:43 +00:00
|
|
|
</cn>
|
2018-03-13 14:40:13 +00:00
|
|
|
|
2018-03-14 14:00:43 +00:00
|
|
|
<us>
|
|
|
|
#### Card
|
2018-03-13 14:40:13 +00:00
|
|
|
Nested inside a container element for rendering in limited space.
|
2018-03-14 14:00:43 +00:00
|
|
|
</us>
|
2018-03-13 14:40:13 +00:00
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-03-14 14:00:43 +00:00
|
|
|
<template>
|
|
|
|
<div :style="{ width: '300px', border: '1px solid #d9d9d9', borderRadius: '4px' }">
|
|
|
|
<a-calendar :fullscreen="false" @panelChange="onPanelChange" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
2019-09-28 12:45:07 +00:00
|
|
|
export default {
|
|
|
|
methods: {
|
|
|
|
onPanelChange(value, mode) {
|
|
|
|
console.log(value, mode);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
2018-03-14 14:00:43 +00:00
|
|
|
</script>
|
|
|
|
```
|