From 7ae8f1ea18375b0269284eb3b2f4e5cb9f40bc9b Mon Sep 17 00:00:00 2001 From: Inna Date: Thu, 9 Oct 2025 08:09:07 +0300 Subject: [PATCH] =?UTF-8?q?fix=20[P-290]:=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D1=86=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=B3=D0=B0=D0=BC=D0=BC=D0=B5=20?= =?UTF-8?q?=D0=BA=D0=B0=D0=BB=D0=B5=D0=BD=D0=B4=D0=B0=D1=80=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI_calendar/CustomCalendar.vue | 2 +- .../calendar_of_events/calendar-create.vue | 51 ++++++++++++------- 2 files changed, 35 insertions(+), 18 deletions(-) diff --git a/src/front/src/components/calendar_of_events/UI_calendar/CustomCalendar.vue b/src/front/src/components/calendar_of_events/UI_calendar/CustomCalendar.vue index a2fd93f67..22c38e601 100644 --- a/src/front/src/components/calendar_of_events/UI_calendar/CustomCalendar.vue +++ b/src/front/src/components/calendar_of_events/UI_calendar/CustomCalendar.vue @@ -544,7 +544,7 @@ export default { :deep(.fc-highlight) { background-color: transparent !important; } -:deep(.fc-day) { +:deep(.fc-day), :deep(.fc-list-event-title) { cursor: pointer; } diff --git a/src/front/src/components/calendar_of_events/calendar-create.vue b/src/front/src/components/calendar_of_events/calendar-create.vue index 56b442f47..2f3e70b19 100644 --- a/src/front/src/components/calendar_of_events/calendar-create.vue +++ b/src/front/src/components/calendar_of_events/calendar-create.vue @@ -217,24 +217,41 @@ export default { }, }); - const color = [ - '#4f46e5', // Индиго (профессиональный синий) - '#0ea5e9', // Яркий голубой - '#10b981', // Изумрудно-зеленый - '#f59e0b', // Теплый янтарный - '#ef4444', // Акцентный красный - '#8b5cf6', // Фиолетовый - '#06b6d4', // Бирюзовый - '#84cc16', // Лаймовый - '#f97316', // Оранжевый - '#ec4899', // Розовый - '#6366f1', // Фиолетово-синий - '#14b8a6', // Бирюзово-зеленый - '#eab308', // Золотисто-желтый - '#3b82f6', // Королевский синий - '#22c55e', // Зеленый - ]; + // const color = [ + // '#0ea5e9', // Яркий голубой + // '#3b82f6', // Королевский синий + // '#10b981', // Изумрудно-зеленый + // '#f59e0b', // Теплый янтарный + // '#ef4444', // Акцентный красный + // '#8b5cf6', // Фиолетовый + // '#4f46e5', // Индиго (профессиональный синий) + // '#06b6d4', // Бирюзовый + // '#84cc16', // Лаймовый + // '#f97316', // Оранжевый + // '#ec4899', // Розовый + // '#6366f1', // Фиолетово-синий + // '#14b8a6', // Бирюзово-зеленый + // '#eab308', // Золотисто-желтый + // '#22c55e', // Зеленый + // ]; +const color = [ + '#3b82f6', // Синий + '#10b981', // Зеленый + '#dc2626', // Красный + '#d97706', // Оранжевый + '#7c3aed', // Фиолетовый + '#0ea5e9', // Голубой + '#84cc16', // Лаймовый + '#f59e0b', // Янтарный + '#8b5cf6', // Пурпурный + '#06b6d4', // Бирюзовый + '#f97316', // Теплый оранжевый + '#6366f1', // Фиолетово-синий + '#14b8a6', // Морской волны + '#ec4899', // Розовый + '#64748b', // Серо-синий +]; const colorPik = (col) => { if (propsCalendar.value.cl_color === col) { propsCalendar.value.cl_color = null;