From e43ba9db8deb18375b91c3a7402a770985edb95d Mon Sep 17 00:00:00 2001 From: Timi Date: Thu, 13 Aug 2026 14:50:35 +0800 Subject: [PATCH] add store closed day in event record calendar --- src/components/EventRecordCalendar.vue | 80 +++++++++++++++++-- src/pages/customer/CustomerDataCharts.vue | 1 + .../CustomerEventRecordCalendarSection.vue | 2 + .../StoreEventRecordCalendarSection.vue | 4 + src/utils/avatar.ts | 2 +- 5 files changed, 82 insertions(+), 7 deletions(-) diff --git a/src/components/EventRecordCalendar.vue b/src/components/EventRecordCalendar.vue index 36aa630..1d1f528 100644 --- a/src/components/EventRecordCalendar.vue +++ b/src/components/EventRecordCalendar.vue @@ -36,12 +36,15 @@ v-for="item in calendarDayList" :key="item.key" class="day-cell" - :class="{muted: !item.inMonth, today: item.isToday, marked: 0 < item.records.length}" + :class="{muted: !item.inMonth, today: item.isToday, marked: 0 < item.records.length, 'rest-day': item.isRestDay}" type="button" :disabled="!item.records.length" @click="openDayRecords(item)" > - + + + 休 + @@ -104,8 +107,11 @@