设置每周一为第一天,当天背景突显

This commit is contained in:
honue
2024-03-10 16:49:40 +08:00
parent 13d7344bc0
commit ffd0265526

View File

@@ -20,6 +20,7 @@ const calendarOptions: Ref<CalendarOptions> = ref({
],
initialView: 'dayGridMonth',
weekends: true,
firstDay: 1,
headerToolbar: {
left: 'prev',
center: 'title',
@@ -197,6 +198,11 @@ onMounted(() => {
--fc-event-border-color: currentcolor;
}
// 当天背景渐变
.fc-day-today {
background-image: linear-gradient(to bottom, #AF85FD ,rgba(var(--v-theme-on-surface), 0.04));
}
.v-application .fc a {
color: inherit;
}