This commit is contained in:
dyhj625 2025-04-08 10:52:13 +09:00
commit 1d893200cb
5 changed files with 35 additions and 10 deletions

View File

@ -722,6 +722,12 @@
pointer-events: none; pointer-events: none;
} }
.hidden-time-input {
position: absolute;
opacity: 0;
pointer-events: none;
}
/* 권한부여 */ /* 권한부여 */
.user-card-container { .user-card-container {
display: flex; display: flex;

View File

@ -33,6 +33,7 @@
<span v-if="noInputAlert" class="invalid-feedback d-block" style="padding-left: 5px">{{ noInputAlert }}</span> <span v-if="noInputAlert" class="invalid-feedback d-block" style="padding-left: 5px">{{ noInputAlert }}</span>
</div> </div>
<div class="mb-2"> <div class="mb-2">
<div @click="focusPicker">
<input <input
type="time" type="time"
class="form-control form-control-sm py-1" class="form-control form-control-sm py-1"
@ -40,6 +41,16 @@
v-model="eventTime" v-model="eventTime"
@input="handleChangeInput2" @input="handleChangeInput2"
/> />
</div>
<input
ref="timeInput"
type="time"
class="hidden-time-input"
style="height: 25px; font-size: 12px"
v-model="eventTime"
@input="handleChangeInput2"
/>
<span v-if="noInputAlert2" class="invalid-feedback d-block" style="padding-left: 5px">{{ noInputAlert2 }}</span> <span v-if="noInputAlert2" class="invalid-feedback d-block" style="padding-left: 5px">{{ noInputAlert2 }}</span>
</div> </div>
<div class="text-end"> <div class="text-end">
@ -81,6 +92,14 @@
const eventTime = ref(''); const eventTime = ref('');
const noInputAlert = ref(null); const noInputAlert = ref(null);
const noInputAlert2 = ref(null); const noInputAlert2 = ref(null);
const timeInput = ref(null);
const focusPicker = () => {
if (timeInput.value) {
timeInput.value.showPicker(); // ( )
timeInput.value.focus(); //
}
};
const eventTypes = [ const eventTypes = [
{ type: 'birthdayParty', code: '300203', title: '생일파티' }, { type: 'birthdayParty', code: '300203', title: '생일파티' },

View File

@ -543,8 +543,10 @@
const dateStr = $common.dateFormatter(arg.date, 'YMD'); const dateStr = $common.dateFormatter(arg.date, 'YMD');
// //
const theDayWeatherInfo = dailyWeatherList.value.find(weather => weather.date === dateStr); const theDayWeatherInfo = dailyWeatherList.value.find(weather => weather.date === dateStr);
const dayTopEl = arg.el.querySelector('.fc-daygrid-day-top');
const isWeatherInfoExist = dayTopEl.getElementsByClassName('weather-icon').length > 0; //
if (theDayWeatherInfo) { if (theDayWeatherInfo && !isWeatherInfoExist) {
let weatherIconUrl = `https://openweathermap.org/img/wn/${theDayWeatherInfo.icon}.png`; let weatherIconUrl = `https://openweathermap.org/img/wn/${theDayWeatherInfo.icon}.png`;
if (theDayWeatherInfo.icon === '01d' || theDayWeatherInfo.icon === '01n') { if (theDayWeatherInfo.icon === '01d' || theDayWeatherInfo.icon === '01n') {
weatherIconUrl = '/img/icons/sunny-custom.png'; weatherIconUrl = '/img/icons/sunny-custom.png';
@ -558,9 +560,8 @@
weatherEl.style.height = '28px'; weatherEl.style.height = '28px';
// //
const dayTopEl = arg.el.querySelector('.fc-daygrid-day-top');
dayTopEl.classList.add('align-items-center'); dayTopEl.classList.add('align-items-center');
dayTopEl.prepend(weatherEl); // dayTopEl.prepend(weatherEl); // reverse
} }
}; };

View File

@ -333,11 +333,10 @@ import { useRoute } from 'vue-router';
} }
.q-editor-container { .q-editor-container {
max-width: 100%; max-width: 100%; /* 영역이 넘치지 않게 */
overflow: hidden; overflow: auto; /* 넘치는 내용은 스크롤로 처리 */
text-overflow: ellipsis; /* 긴 내용이면 말줄임표 처리도 가능 */ word-wrap: break-word; /* 긴 단어는 자동으로 줄바꿈 */
word-break: break-word; white-space: normal; /* 내용이 길어지면 자동으로 줄바꿈 */
white-space: normal;
} }
</style> </style>