diff --git a/src/components/main/MainEventBoard.vue b/src/components/main/MainEventBoard.vue index cdc7ff5..1a4c9e2 100644 --- a/src/components/main/MainEventBoard.vue +++ b/src/components/main/MainEventBoard.vue @@ -1,8 +1,8 @@ diff --git a/src/components/main/MainEventCalendar.vue b/src/components/main/MainEventCalendar.vue index 8cd343b..a9591f6 100644 --- a/src/components/main/MainEventCalendar.vue +++ b/src/components/main/MainEventCalendar.vue @@ -5,7 +5,7 @@
Profile Image { const checkDate = dayjs(date); - const isWeekend = checkDate.day() === 0 || checkDate.day() === 6; + const isWeekend = checkDate.day() === 0 || checkDate.day() === 6; // 주말체크 // 공휴일 체크 const isHoliday = calendarEvents.value.some( event => @@ -315,6 +316,9 @@ // 선택 불가능한 날짜(과거, 주말, 공휴일)에 동일한 클래스 추가 if (!isSelectableDate(cellDate)) { classes.push('fc-day-sat-sun'); + } else { + // 선택 가능한 날짜 포인터 클래스 추가 + classes.push('clickable'); } return classes; @@ -323,7 +327,7 @@ // 날짜 클릭 이벤트 핸들러 let todayEL = null; const handleDateClick = info => { - if (isSelectableDate(info)) { + if (isSelectableDate(info.date)) { if ($common.isToday(info.date)) { // 오늘 날짜 클릭 시 클래스 제거하고 요소 저장 todayEL = info.dayEl; @@ -556,7 +560,6 @@ param.append('day', day); if (!weatherStore.dailyWeatherList?.length) { - console.log(123); await weatherStore.getWeatherInfo(); //dailyWeatherList.value = weatherStore.dailyWeatherList; console.log('dailyWeatherList.value: ', dailyWeatherList.value); @@ -599,4 +602,9 @@ align-items: center; text-align: center !important; */ } + + /* 공휴일만 가로로 넗게 나오게 */ + ::v-deep(.fc-daygrid-event-harness:has(.holiday-event)) { + width: 100% !important; + } diff --git a/src/components/main/MainMemberProfile.vue b/src/components/main/MainMemberProfile.vue index 6fd16db..b026af5 100644 --- a/src/components/main/MainMemberProfile.vue +++ b/src/components/main/MainMemberProfile.vue @@ -2,7 +2,7 @@