diff --git a/public/css/custom.css b/public/css/custom.css index f86b056..bd9559d 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -591,25 +591,31 @@ /* Scroll Button */ .scroll-top-btn { - bottom: 20px; + bottom: 40px; right: 21.7%; transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease; } - .scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); } - .scroll-top-btn.hidden { opacity: 0; visibility: hidden; transform: translateY(10px); } +.back-btn { + bottom: 40px; + right: 21.7%; + transition: transform 0.4s ease; +} +.back-btn.shifted { + transform: translateY(-50px); +} /* Scroll Button end */ diff --git a/src/components/button/ScrollTopButton.vue b/src/components/button/ScrollTopButton.vue index 10efb93..f870df6 100644 --- a/src/components/button/ScrollTopButton.vue +++ b/src/components/button/ScrollTopButton.vue @@ -1,4 +1,13 @@ diff --git a/src/components/list/ProjectCard.vue b/src/components/list/ProjectCard.vue index 5f841f9..7574d64 100644 --- a/src/components/list/ProjectCard.vue +++ b/src/components/list/ProjectCard.vue @@ -129,27 +129,31 @@ - - - - - - + +
+ +
+ +
+ +
{ + if (startInputElement) { + startInputElement.showPicker(); + } + }; + + const openEndDatePicker = () => { + if (endInputElement) { + endInputElement.showPicker(); + } + }; + + // 사용자 목록 업데이트 핸들러 const handleEditUserListUpdate = (userLists) => { selectedUsers.value = userLists; @@ -581,8 +606,18 @@ onMounted(async () => { user.value = userStore.user; convertAddressToCoordinates(); + + if (startDateInput.value) { + // FormInput 내부 input 찾기 + startInputElement = startDateInput.value.$el.querySelector('input[type="date"]'); + } + + if (endDateInput.value) { + endInputElement = endDateInput.value.$el.querySelector('input[type="date"]'); + } }); + diff --git a/src/components/projectlist/ProjectList.vue b/src/components/projectlist/ProjectList.vue index 92baeea..ef0c1ce 100644 --- a/src/components/projectlist/ProjectList.vue +++ b/src/components/projectlist/ProjectList.vue @@ -71,25 +71,29 @@ - - - - +
+ +
+
+ +
{ + if (startInputElement) { + startInputElement.showPicker(); + } + }; + + const openEndDatePicker = () => { + if (endInputElement) { + endInputElement.showPicker(); + } + }; + const addressData = ref({ postcode: '', @@ -333,6 +357,13 @@ await userStore.userInfo(); user.value = userStore.user; + if (startDateInput.value) { + // FormInput 내부 input 찾기 + startInputElement = startDateInput.value.$el.querySelector('input[type="date"]'); + } - }); + if (endDateInput.value) { + endInputElement = endDateInput.value.$el.querySelector('input[type="date"]'); + } + });