2016-05-22 11:03:07 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2017-01-13 17:11:26 +08:00
|
|
|
一个复杂的应用示例,用 `dateCellRender` 和 `monthCellRender` 函数来自定义需要渲染的数据。
|
2016-05-22 11:03:07 +08:00
|
|
|
|
2016-08-15 11:23:19 +08:00
|
|
|
## en-US
|
2016-05-22 11:03:07 +08:00
|
|
|
|
2017-01-13 17:11:26 +08:00
|
|
|
This component can be rendered by using `dateCellRender` and `monthCellRender` with the data you need.
|
2015-11-13 22:34:49 +08:00
|
|
|
|
2019-05-07 14:57:32 +08:00
|
|
|
```css
|
2015-11-13 22:34:49 +08:00
|
|
|
.events {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2021-01-30 19:39:02 +08:00
|
|
|
list-style: none;
|
2015-11-13 22:34:49 +08:00
|
|
|
}
|
2017-10-16 20:12:21 +08:00
|
|
|
.events .ant-badge-status {
|
2021-01-30 19:39:02 +08:00
|
|
|
width: 100%;
|
2015-11-13 22:34:49 +08:00
|
|
|
overflow: hidden;
|
2021-01-30 19:39:02 +08:00
|
|
|
font-size: 12px;
|
2015-11-13 22:34:49 +08:00
|
|
|
white-space: nowrap;
|
2017-10-16 20:12:21 +08:00
|
|
|
text-overflow: ellipsis;
|
2015-11-13 22:34:49 +08:00
|
|
|
}
|
|
|
|
.notes-month {
|
2017-10-16 20:12:21 +08:00
|
|
|
font-size: 28px;
|
2021-01-30 19:39:02 +08:00
|
|
|
text-align: center;
|
2015-11-13 22:34:49 +08:00
|
|
|
}
|
|
|
|
.notes-month section {
|
|
|
|
font-size: 28px;
|
|
|
|
}
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|