|
@@ -34,11 +34,6 @@ let calendarOptions = ref({
|
|
|
dayHeaderFormat:{ //https://fullcalendar.io/docs/v5/date-formatting
|
|
|
weekday:'narrow', //头部星期显示为一 二 三...
|
|
|
},
|
|
|
- dayMaxEventRows:3,//一天最多展示
|
|
|
- moreLinkContent:(arg)=>{
|
|
|
- return `+${arg.num}more`
|
|
|
- },
|
|
|
- moreLinkClick:(info)=>{handleDateClick({dateStr:moment(info.date).format('YYYY-MM-DD')})},//点击more时触发
|
|
|
dayCellContent:function(arg){ //单元格日期显示为 1 2 3...
|
|
|
return arg.date.getDate()
|
|
|
},
|
|
@@ -150,7 +145,7 @@ defineExpose({ calendarApi });
|
|
|
}
|
|
|
}
|
|
|
:deep(.fc-daygrid-day-events){
|
|
|
- min-height: 1em !important;
|
|
|
+ min-height: 32px !important;
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
:deep(.fc-more-popover){
|
|
@@ -158,6 +153,7 @@ defineExpose({ calendarApi });
|
|
|
}
|
|
|
:deep(.fc-daygrid-day-bottom){
|
|
|
font-size: 12px;
|
|
|
+ display: none;
|
|
|
}
|
|
|
:deep(.fc-daygrid-more-link.fc-more-link){
|
|
|
font-size: 12px;
|
|
@@ -166,6 +162,7 @@ defineExpose({ calendarApi });
|
|
|
font-size: 12px;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
+ /* height: 16px; */
|
|
|
}
|
|
|
}
|
|
|
.water-mark{
|