메인달력 STYLE 이 다른곳에 적용안되게 수정,

This commit is contained in:
nevermoregb 2025-04-03 10:02:50 +09:00
parent 4c5da13291
commit ff0ea598ec
2 changed files with 14 additions and 19 deletions

View File

@ -156,7 +156,7 @@
monthBirthdayPartyList.value = [];
monthDinnerList.value = [];
monthTeaTimeList.value = [];
monthTeaTimeList.value = [];
monthWorkShopList.value = [];
if (res?.eventList?.length) {
res.eventList.forEach(item => {
@ -520,6 +520,10 @@
},
});
const handleWheelEvent = e => {
handleCloseModal();
};
// ( )
watch(
() => fullCalendarRef.value?.getApi().currentData.viewTitle,
@ -551,35 +555,31 @@
await fetchEventList(param);
useFilterEventList(month, day);
//
// document.addEventListener('click', e => {
// if (showModal.value && !e.target.closest('.event-modal') && !e.target.closest('.fc-daygrid-day')) {
// showModal.value = false;
// }
// });
//
window.addEventListener('wheel', handleWheelEvent);
});
</script>
<style>
.fc-h-event {
<style scoped>
::v-deep(.fc-h-event) {
background-color: transparent;
}
.event-modal {
::v-deep(.event-modal) {
padding: 8px;
border: 1px solid #ddd;
}
.event-icon-select:hover {
::v-deep(.event-icon-select:hover) {
transform: scale(1.1);
transition: transform 0.2s;
}
/* 이벤트 모달 노출 시 텍스트 선택 방지 */
.fc-daygrid-day {
::v-deep(.fc-daygrid-day) {
user-select: none;
}
.fc-daygrid-day-events {
::v-deep(.fc-daygrid-day-events) {
display: flex;
flex-wrap: wrap;
justify-content: center;

View File

@ -22,18 +22,13 @@
/>
</div>
</div>
<div
v-if="category.CMNCODVAL === 300201 || category.CMNCODVAL === 300202"
class="col-9 mx-0 px-0 d-flex align-items-center"
>
<div class="col-9 mx-0 px-0 d-flex align-items-center">
<template v-if="category.CMNCODVAL === 300201">
<MainMemberProfile :members="birthdayList" :baseUrl="baseUrl" />
</template>
<template v-if="category.CMNCODVAL === 300202">
<MainMemberProfile :members="vacationList" :baseUrl="baseUrl" />
</template>
</div>
<div v-else class="col-9 mx-0 px-0 d-flex align-items-center">
<template v-if="category.CMNCODVAL === 300203">
<MainEventBoard :place="birthdayPartyList[0].LOCEVTPLC" :time="birthdayPartyList[0].LOCEVTTME" />
</template>