@opendesign-plus-test/components 0.0.1-rc.21 → 0.0.1-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +428 -137
- package/dist/components/OBanner.vue.d.ts +10 -1
- package/dist/components/OFooter.vue.d.ts +1 -1
- package/dist/components/OHeaderSearch.vue.d.ts +4 -4
- package/dist/components/activity/OActivityApproval.vue.d.ts +277 -0
- package/dist/components/activity/OActivityForm.vue.d.ts +140 -0
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +578 -0
- package/dist/components/activity/config.d.ts +15 -0
- package/dist/components/activity/data.d.ts +51 -0
- package/dist/components/activity/index.d.ts +623 -0
- package/dist/components/activity/types.d.ts +76 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +309 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +156 -0
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +582 -0
- package/dist/components/meeting/OSigMeetingCalendar.vue.d.ts +24 -0
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +27 -0
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +12 -0
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +5 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/components/meeting/components/OSigMeetingAside.vue.d.ts +16 -0
- package/dist/components/meeting/config.d.ts +27 -0
- package/dist/components/meeting/types.d.ts +140 -0
- package/dist/components/meeting/utils.d.ts +21 -0
- package/dist/components.cjs.js +224 -3
- package/dist/components.css +1 -1
- package/dist/components.es.js +43544 -2307
- package/dist/index.d.ts +2 -0
- package/package.json +6 -3
- package/scripts/generate-components-index.js +4 -0
- package/src/assets/meeting/svg-icons/icon-all.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-backward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-calendar.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-cancel.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-captions.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-close-captions.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-close-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-copy.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-create.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-delete.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-empty.svg +31 -0
- package/src/assets/meeting/svg-icons/icon-empty_dark.svg +49 -0
- package/src/assets/meeting/svg-icons/icon-event.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-export.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-forward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-help.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-important.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-info.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meet.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meeting-message.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-meeting.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-play.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-playing-tip.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-playing.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-question.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-sound.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-speaker.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-summit.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-telligent.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-tip.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-todo.svg +4 -0
- package/src/assets/meeting/transparent.png +0 -0
- package/src/assets/svg-icons/icon-chevron-up.svg +3 -0
- package/src/assets/svg-icons/icon-filter.svg +3 -0
- package/src/assets/svg-icons/icon-loading.svg +4 -0
- package/src/assets/svg-icons/icon-search.svg +3 -0
- package/src/assets/svg-icons/icon-tips.svg +3 -0
- package/src/components/OBanner.vue +11 -3
- package/src/components/OFooter.vue +1 -1
- package/src/components/activity/OActivityApproval.vue +775 -0
- package/src/components/activity/OActivityForm.vue +465 -0
- package/src/components/activity/OMyActivityCalendar.vue +1342 -0
- package/src/components/activity/config.ts +130 -0
- package/src/components/activity/data.ts +365 -0
- package/src/components/activity/index.ts +24 -0
- package/src/components/activity/types.ts +83 -0
- package/src/components/common/MoreText.vue +119 -0
- package/src/components/common/ThFilter.vue +326 -0
- package/src/components/events/OEventsApply.vue +2 -86
- package/src/components/events/OEventsCalendar.vue +0 -25
- package/src/components/events/OEventsList.vue +0 -51
- package/src/components/events/index.ts +1 -0
- package/src/components/meeting/OMeetingCalendar.vue +865 -0
- package/src/components/meeting/OMeetingForm.vue +1035 -0
- package/src/components/meeting/OMeetingPlayback.vue +439 -0
- package/src/components/meeting/OMyMeetingCalendar.vue +1501 -0
- package/src/components/meeting/OSigMeetingCalendar.vue +411 -0
- package/src/components/meeting/components/OMeetingCalendarList.vue +462 -0
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +206 -0
- package/src/components/meeting/components/OMeetingDetail.vue +189 -0
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +611 -0
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +741 -0
- package/src/components/meeting/components/OMyCalendarWrapper.vue +160 -0
- package/src/components/meeting/components/OSigMeetingAside.vue +197 -0
- package/src/components/meeting/config.ts +110 -0
- package/src/components/meeting/index.ts +45 -0
- package/src/components/meeting/types.ts +167 -0
- package/src/components/meeting/utils.ts +106 -0
- package/src/draft/Footer.vue +4 -4
- package/src/env.d.ts +15 -0
- package/src/i18n/en.ts +140 -0
- package/src/i18n/index.ts +18 -4
- package/src/i18n/zh.ts +140 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +6 -2
- package/vite.config.ts +25 -9
- package/npmcachae/_cacache/content-v2/sha512/05/f7/dd881de8b21208ea65cfce17c65f29964c3897505819f81151b9798a3a6ab1a1114324192354ead15cd2c8d93f76cc9929af168066ec9cc7878d0fd87578 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/08/b7/879230f8c2f3765920a6fd6113f4687141f1f645f96af7d95a0dee9113d1095d000fb78a5dd55c1860bbfb9b698ef6281b3874b03b2384222f61fe055fc4 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/10/a0/a6626613c03ee052925a762e8675878efdf83dac64fafea43beb2a875f7d7c3907bb0ee30761253cd16021fd58911449594e1d3358675cbb7c48e62f220a +0 -1
- package/npmcachae/_cacache/content-v2/sha512/2e/a6/7cbcf55a98bbe2ca881d10e982ebf59211a0ec051eaf46eb1914df66cc35ae502ed6888850e51d8f45cd92695bac16961a642bc41508f8d5160a9ab617ab +0 -1
- package/npmcachae/_cacache/content-v2/sha512/92/8d/e5259c5d5cc2a625247f3c4d809192ca9482467e23683d74924a11e91a7997ad890b3d26adaf34df66d5329cc7a5fbde6713110cad05107a0b504e4fd4e8 +0 -1
- package/npmcachae/_cacache/content-v2/sha512/e9/45/9597d870127c35681155cec5fe52fde4e1aa0f778b996ee371e856aca850ee4c13aba74b0c3d3a89ff0ea4c9e1d33e64e53c31dc9cede0b31012695ee659 +0 -1
- package/npmcachae/_cacache/index-v5/16/4a/7195fcc6857299c4ab7e26014a8ae6e3c396507a2c8db3da1b74b005d574 +0 -3
- package/npmcachae/_cacache/index-v5/58/f0/4fe556f104b09be642895a82afa463fe560d9a0dc8f507efeef825a6905e +0 -3
- package/npmcachae/_cacache/index-v5/67/7d/0b50dc4c09555fc922ccf43c46994f1a0a5ff47dc0a5d5cf41437ac2d3e6 +0 -3
- package/npmcachae/_cacache/index-v5/8f/28/353f8839e030ab11aab3e7d9f1b8c053403e9f593cf6d4aa6ec8fdd7610d +0 -3
- package/npmcachae/_cacache/index-v5/97/10/0fcf20eb29d0726bd820822f6729718464b591b0e6901217c956740e943c +0 -3
- package/npmcachae/_cacache/index-v5/db/89/a0a4f35f593105624ab39339962d9e9b5cc65ed0c346b0732fb8dd73721d +0 -3
- package/npmcachae/_logs/2026-03-26T14_10_35_885Z-debug-0.log +0 -171
- package/npmcachae/_logs/2026-03-26T14_10_38_617Z-debug-0.log +0 -4227
- package/npmcachae/_logs/2026-03-26T14_10_45_316Z-debug-0.log +0 -4228
- package/npmcachae/_logs/2026-03-26T14_10_48_169Z-debug-0.log +0 -4228
- package/npmcachae/_logs/2026-03-26T14_10_51_306Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_53_911Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_56_398Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_10_58_861Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_01_337Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_03_851Z-debug-0.log +0 -464
- package/npmcachae/_logs/2026-03-26T14_11_08_024Z-debug-0.log +0 -464
- package/npmcachae/_update-notifier-last-checked +0 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/3e/17/1865217b9acb9f4921c53a09b5c76587cd2ab748beb2699ff6cfb1341d73b1aa56ed91ffc5ab2c9c9b3fbe626103b35d9a79ff29ff6b8cbb8d89755fe1a2 +0 -1
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/a6/15/47bb7552ec9248079e839a5feecc1742d4de19524fdf041cf581701cf4760a5025106036145e279ba193b07c8fa5b07ae3d75f1b6032f0cb2219115b6167 +0 -1
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/d1/4c/133b32e09c97101a27a07cc4432f94e470cff02d120d21babcea77c3f5cd436793516dc1a8e282ee1a568f923c148b1a48f4a43233462a530d35e8b41c67 +0 -1
- package/src/components/meeting/npmcachae/_cacache/index-v5/54/0d/a4909047714a0a7198bb9bd37020992464e47c79a791889919b84d90aab0 +0 -3
- package/src/components/meeting/npmcachae/_cacache/index-v5/8e/2b/21a79778e2ac08cf5663baf83cb35f951995a496007eb2e2f7fba54021a4 +0 -3
- package/src/components/meeting/npmcachae/_cacache/index-v5/eb/a0/b70c8132e5b57a0f1e129b8cc941796420a9c147c0baa680710083740898 +0 -2
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_54_955Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_57_842Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_00_016Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_02_191Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_04_425Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_06_642Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_08_826Z-debug-0.log +0 -277
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_36_140Z-debug-0.log +0 -433
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_39_573Z-debug-0.log +0 -433
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_42_134Z-debug-0.log +0 -212
- package/src/components/meeting/npmcachae/_update-notifier-last-checked +0 -0
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
|
3
|
+
import {
|
|
4
|
+
isClient, OButton,
|
|
5
|
+
OIcon,
|
|
6
|
+
OIconChevronLeft,
|
|
7
|
+
OIconChevronRight,
|
|
8
|
+
OOption,
|
|
9
|
+
OScroller,
|
|
10
|
+
OSelect,
|
|
11
|
+
OTab,
|
|
12
|
+
OTabPane,
|
|
13
|
+
} from '@opensig/opendesign';
|
|
14
|
+
import dayjs from 'dayjs';
|
|
15
|
+
import { ElCalendar, ElConfigProvider } from 'element-plus';
|
|
16
|
+
import OMeetingCalendarList from './components/OMeetingCalendarList.vue';
|
|
17
|
+
import elZh from 'element-plus/es/locale/lang/zh-cn';
|
|
18
|
+
import elEn from 'element-plus/es/locale/lang/en';
|
|
19
|
+
import IconEvent from '~icons/meeting/icon-event.svg';
|
|
20
|
+
import IconSummit from '~icons/meeting/icon-summit.svg';
|
|
21
|
+
import IconMeeting from '~icons/meeting/icon-meet.svg';
|
|
22
|
+
import { Locales, useI18n } from '@/i18n';
|
|
23
|
+
import { MEETING_TABS } from './config';
|
|
24
|
+
import { CalendarDataType, GroupItemT } from './types.ts';
|
|
25
|
+
import { formatDate, getConfig } from './utils.ts';
|
|
26
|
+
|
|
27
|
+
const props = withDefaults(defineProps<{
|
|
28
|
+
getDateListRequest: any;
|
|
29
|
+
getMeetingListRequest: any;
|
|
30
|
+
getSummitListRequest: any;
|
|
31
|
+
getEventsListRequest: any;
|
|
32
|
+
hiddenEvents?: boolean;
|
|
33
|
+
hiddenSummit?: boolean;
|
|
34
|
+
createDesc?: string
|
|
35
|
+
}>(), {
|
|
36
|
+
getSummitListRequest: async () => [],
|
|
37
|
+
getEventsListRequest: async () => [],
|
|
38
|
+
hiddenEvents: false,
|
|
39
|
+
hiddenSummit: false,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const { t, locale } = useI18n();
|
|
43
|
+
const isEn = computed(() => locale.value === Locales.EN);
|
|
44
|
+
const isZh = computed(() => locale.value === Locales.ZH);
|
|
45
|
+
|
|
46
|
+
// -------------------- 获取存在会议的日期列表 --------------------
|
|
47
|
+
const latestDay = ref<string>(''); // 截止当天最新的活动日期
|
|
48
|
+
const dateList = ref([]);
|
|
49
|
+
const summitData = ref([]);
|
|
50
|
+
const eventsData = ref([]);
|
|
51
|
+
const allDates = ref<string[]>([]);
|
|
52
|
+
const meetingData = ref([]);
|
|
53
|
+
// 日历展示时间限制
|
|
54
|
+
const limitTime = '2021-01-01';
|
|
55
|
+
const tabType = ref(MEETING_TABS[0].value);
|
|
56
|
+
const tabs = computed(() => {
|
|
57
|
+
let list = MEETING_TABS;
|
|
58
|
+
if (props.hiddenEvents) {
|
|
59
|
+
list = list.filter((item) => item.value !== CalendarDataType.EVENTS);
|
|
60
|
+
}
|
|
61
|
+
if (props.hiddenSummit) {
|
|
62
|
+
list = list.filter((item) => item.value !== CalendarDataType.SUMMIT);
|
|
63
|
+
}
|
|
64
|
+
if (list.filter(v => v.value !== CalendarDataType.ALL).length === 1) {
|
|
65
|
+
return [];
|
|
66
|
+
}
|
|
67
|
+
return list;
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
watch(() => tabs.value, () => {
|
|
71
|
+
tabType.value = tabs.value[0]?.value ?? CalendarDataType.MEETING;
|
|
72
|
+
});
|
|
73
|
+
const calendar = ref();
|
|
74
|
+
const calendarHeight = ref<string>('407px');
|
|
75
|
+
const isLimit = ref(false);
|
|
76
|
+
const currentDay = ref('');
|
|
77
|
+
// sig组列表
|
|
78
|
+
const sig = ref('');
|
|
79
|
+
const sigOptions = ref<GroupItemT[]>([]);
|
|
80
|
+
const getSummitData = async (date) => {
|
|
81
|
+
if (props.getSummitListRequest) {
|
|
82
|
+
summitData.value = await props.getSummitListRequest(date);
|
|
83
|
+
} else {
|
|
84
|
+
summitData.value = [];
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const getActivityData = async (date) => {
|
|
88
|
+
if (props.getEventsListRequest) {
|
|
89
|
+
eventsData.value = await props.getEventsListRequest(date);
|
|
90
|
+
} else {
|
|
91
|
+
eventsData.value = [];
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const getDateList = async (date) => {
|
|
96
|
+
if (props.getDateListRequest) {
|
|
97
|
+
dateList.value = await props.getDateListRequest(date);
|
|
98
|
+
} else {
|
|
99
|
+
dateList.value = [];
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const paramGetDaysData = async (params: { date: string; type: string }) => {
|
|
104
|
+
if (!props.getMeetingListRequest) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
if (!params.date) {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
try {
|
|
111
|
+
const res = await props.getMeetingListRequest(params.date, sig.value);
|
|
112
|
+
meetingData.value = res.map((v) => {
|
|
113
|
+
return {
|
|
114
|
+
...v,
|
|
115
|
+
time: `${ v.start }-${ v.end }`,
|
|
116
|
+
type: 'meeting',
|
|
117
|
+
date: v.date || params.date,
|
|
118
|
+
};
|
|
119
|
+
}).sort((a: any, b: any) => {
|
|
120
|
+
return parseInt((a.start || a.cycle_start)?.replace(':', '')) - parseInt(b.end || b.cycle_end?.replace(':', ''));
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
sigOptions.value = [...new Set(meetingData.value.map((v) => v.group_name))].map((v) => ({ group_name: v }));
|
|
124
|
+
if (!sigOptions.value.find((v) => v.group_name === sig.value)) {
|
|
125
|
+
sig.value = '';
|
|
126
|
+
}
|
|
127
|
+
} catch {
|
|
128
|
+
meetingData.value = [];
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
const renderData = computed(() => {
|
|
134
|
+
return [
|
|
135
|
+
...meetingData.value.filter((v) => !sig.value || v.group_name === sig.value),
|
|
136
|
+
...eventsData.value.filter(v => v.dates.includes(currentDay.value)),
|
|
137
|
+
...summitData.value.filter(v => v.dates.includes(currentDay.value)),
|
|
138
|
+
].filter((v) => {
|
|
139
|
+
if (tabType.value === 'all') {
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
return v.type === tabType.value;
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
const getDateData = async (day?: string) => {
|
|
147
|
+
const date = dayjs(day).format('YYYY-MM-DD');
|
|
148
|
+
getSummitData(date);
|
|
149
|
+
getActivityData(date);
|
|
150
|
+
getDateList(date);
|
|
151
|
+
|
|
152
|
+
allDates.value = [...new Set([...dateList.value, ...summitData.value.map(v => v.dates), ...eventsData.value.map(v => v.dates)])]
|
|
153
|
+
.flat()
|
|
154
|
+
.sort((a: string, b: string) => dayjs(a).isAfter(dayjs(b)) ? 1 : -1);
|
|
155
|
+
if (!day) {
|
|
156
|
+
if (!allDates.value.length) {
|
|
157
|
+
latestDay.value = formatDate(new Date());
|
|
158
|
+
} else {
|
|
159
|
+
let find = [...allDates.value].reverse().find((v) => dayjs().isAfter(dayjs(v)));
|
|
160
|
+
if (!find) {
|
|
161
|
+
find = allDates.value.find((v) => dayjs(v).isAfter(dayjs()));
|
|
162
|
+
}
|
|
163
|
+
latestDay.value = formatDate(find);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
paramGetDaysData({
|
|
167
|
+
date: date,
|
|
168
|
+
type: tabType.value,
|
|
169
|
+
});
|
|
170
|
+
currentDay.value = date;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
watch([() => tabType.value, () => tabs.value], () => {
|
|
174
|
+
selectTab();
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
// 活动会议筛选
|
|
178
|
+
function selectTab() {
|
|
179
|
+
nextTick(() => {
|
|
180
|
+
paramGetDaysData({
|
|
181
|
+
date: currentDay.value,
|
|
182
|
+
type: tabType.value,
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function changeMeetingDay(day: string, event?: Event) {
|
|
188
|
+
if (new Date(day).getTime() / 1000 < 1610380800) {
|
|
189
|
+
event?.stopPropagation();
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
getDateData(day);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
const selectDate = (val: string, date: string) => {
|
|
197
|
+
if (formatDate(date) === formatDate(limitTime) && val === 'prev-month') {
|
|
198
|
+
isLimit.value = true;
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
isLimit.value = false;
|
|
202
|
+
calendar.value.selectDate(val);
|
|
203
|
+
changeMeetingDay(calendar.value.selectedDay);
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
const removeLeadingZero = (str: string) => {
|
|
207
|
+
// 使用正则表达式匹配以 0 开头的字符串,然后去除开头的 0
|
|
208
|
+
return str.replace(/^0+(?=\d)/, '');
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
const watchChange = (element: HTMLElement) => {
|
|
212
|
+
const observe = new MutationObserver(function() {
|
|
213
|
+
calendarHeight.value = `${ element.offsetHeight - 2 }px`;
|
|
214
|
+
});
|
|
215
|
+
observe.observe(element, {
|
|
216
|
+
childList: true,
|
|
217
|
+
subtree: true,
|
|
218
|
+
characterData: true,
|
|
219
|
+
});
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
onMounted(() => {
|
|
223
|
+
// 设置右侧 日程列表高度
|
|
224
|
+
const tbody = document.querySelector('.calendar-body .el-calendar__body') as HTMLElement;
|
|
225
|
+
if (tbody) {
|
|
226
|
+
watchChange(tbody);
|
|
227
|
+
calendarHeight.value = `${ tbody.offsetHeight - 2 }px`;
|
|
228
|
+
}
|
|
229
|
+
getDateData();
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
const stopWatchData = watch(
|
|
233
|
+
() => allDates.value.length,
|
|
234
|
+
() => {
|
|
235
|
+
if (isClient) {
|
|
236
|
+
nextTick(() => {
|
|
237
|
+
const activeBoxes = document.querySelector('.is-today .out-box') as HTMLElement;
|
|
238
|
+
if (activeBoxes) {
|
|
239
|
+
activeBoxes.click();
|
|
240
|
+
stopWatchData();
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
);
|
|
246
|
+
|
|
247
|
+
const formatYearMonth = (date: string) => {
|
|
248
|
+
if (isEn.value) {
|
|
249
|
+
return date.split(' ').reverse().join(' ');
|
|
250
|
+
} else {
|
|
251
|
+
return date;
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
const emits = defineEmits(['create']);
|
|
255
|
+
const create = () => {
|
|
256
|
+
emits('create');
|
|
257
|
+
};
|
|
258
|
+
</script>
|
|
259
|
+
<template>
|
|
260
|
+
<div class="o-meeting-calendar">
|
|
261
|
+
<div class="calendar-header">
|
|
262
|
+
<span>{{ createDesc || '' }}</span>
|
|
263
|
+
<OButton color="primary" variant="solid" round="pill" @click="create">预定会议</OButton>
|
|
264
|
+
</div>
|
|
265
|
+
<div class="calendar-body">
|
|
266
|
+
<ElCalendar ref="calendar" class="calender">
|
|
267
|
+
<template #header="{ date }">
|
|
268
|
+
<div class="calender-header-left">
|
|
269
|
+
<div class="left-title">
|
|
270
|
+
<OIcon @click="selectDate('prev-month', date)">
|
|
271
|
+
<OIconChevronLeft :class="{ disable: isLimit }" />
|
|
272
|
+
</OIcon>
|
|
273
|
+
<span class="month-date">{{ formatYearMonth(date) }}</span>
|
|
274
|
+
<OIcon @click="selectDate('next-month', date)">
|
|
275
|
+
<OIconChevronRight />
|
|
276
|
+
</OIcon>
|
|
277
|
+
</div>
|
|
278
|
+
<OSelect v-model="sig" :placeholder="t('meeting.allSigs')" clearable>
|
|
279
|
+
<OOption v-for="t in sigOptions" :value="t.group_name" :key="t.group_name">{{ t.group_name }}</OOption>
|
|
280
|
+
</OSelect>
|
|
281
|
+
</div>
|
|
282
|
+
|
|
283
|
+
<div class="right-title">
|
|
284
|
+
{{ t('meeting.latestMeeting') }}
|
|
285
|
+
<span>{{ dayjs(latestDay).format('YYYY/MM/DD') }}</span>
|
|
286
|
+
</div>
|
|
287
|
+
</template>
|
|
288
|
+
<template #date-cell="{ data }">
|
|
289
|
+
<div class="out-box" :class="{ 'has-calender': allDates.includes(data.day) }"
|
|
290
|
+
@click="changeMeetingDay(data.day, $event)">
|
|
291
|
+
<div class="day-box">
|
|
292
|
+
<p :class="data.isSelected ? 'is-selected' : ''" class="date-calender">
|
|
293
|
+
{{ removeLeadingZero(data.day.split('-').at(-1) || '') }}
|
|
294
|
+
</p>
|
|
295
|
+
<div class="icon-box">
|
|
296
|
+
<OIcon
|
|
297
|
+
class="meeting"
|
|
298
|
+
:style="{
|
|
299
|
+
zIndex: getConfig(CalendarDataType.MEETING, 'zIndex'),
|
|
300
|
+
backgroundColor: getConfig(CalendarDataType.MEETING, 'color')
|
|
301
|
+
}"
|
|
302
|
+
v-if="(tabType === CalendarDataType.ALL || tabType === CalendarDataType.MEETING) && dateList.includes(data.day)">
|
|
303
|
+
<IconMeeting />
|
|
304
|
+
</OIcon>
|
|
305
|
+
<OIcon
|
|
306
|
+
class="events"
|
|
307
|
+
:style="{
|
|
308
|
+
zIndex: getConfig(CalendarDataType.EVENTS, 'zIndex'),
|
|
309
|
+
backgroundColor: getConfig(CalendarDataType.EVENTS, 'color')
|
|
310
|
+
}"
|
|
311
|
+
v-if="(tabType === CalendarDataType.ALL || tabType === CalendarDataType.EVENTS) && eventsData.some(v => v.dates.includes(data.day))">
|
|
312
|
+
<IconEvent />
|
|
313
|
+
</OIcon>
|
|
314
|
+
<OIcon
|
|
315
|
+
class="summit"
|
|
316
|
+
:style="{
|
|
317
|
+
zIndex: getConfig(CalendarDataType.SUMMIT, 'zIndex'),
|
|
318
|
+
backgroundColor: getConfig(CalendarDataType.SUMMIT, 'color')
|
|
319
|
+
}"
|
|
320
|
+
v-if="(tabType === CalendarDataType.ALL || tabType === CalendarDataType.SUMMIT) && summitData.some(v => v.dates.includes(data.day))">
|
|
321
|
+
<IconSummit />
|
|
322
|
+
</OIcon>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
</template>
|
|
327
|
+
</ElCalendar>
|
|
328
|
+
<div class="detail-list">
|
|
329
|
+
<div class="current-day">
|
|
330
|
+
{{ t('meeting.latestMeeting') }}
|
|
331
|
+
<span>{{ dayjs(currentDay).format('YYYY/MM/DD') }}</span>
|
|
332
|
+
</div>
|
|
333
|
+
<div class="right-title">
|
|
334
|
+
<div class="title-list">
|
|
335
|
+
<OSelect v-model="sig" :placeholder="t('meeting.allSigs')" clearable>
|
|
336
|
+
<OOption v-for="t in sigOptions" :value="t.group_name" :key="t.group_name">{{ t.group_name }}</OOption>
|
|
337
|
+
</OSelect>
|
|
338
|
+
<OTab v-model="tabType" :line="false">
|
|
339
|
+
<OTabPane v-for="item in tabs" :key="item.value" :value="item.value">
|
|
340
|
+
<template #nav>
|
|
341
|
+
<OIcon>
|
|
342
|
+
<component :is="item.icon" />
|
|
343
|
+
</OIcon>
|
|
344
|
+
{{ item.label }}
|
|
345
|
+
</template>
|
|
346
|
+
</OTabPane>
|
|
347
|
+
</OTab>
|
|
348
|
+
</div>
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
<div>
|
|
352
|
+
<OScroller class="meeting-list" show-type="hover" size="small">
|
|
353
|
+
<OMeetingCalendarList :list="renderData">
|
|
354
|
+
<template #empty>
|
|
355
|
+
<slot name="empty"></slot>
|
|
356
|
+
</template>
|
|
357
|
+
</OMeetingCalendarList>
|
|
358
|
+
</OScroller>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
</div>
|
|
363
|
+
</template>
|
|
364
|
+
<style lang="scss">
|
|
365
|
+
.o-meeting-calendar {
|
|
366
|
+
|
|
367
|
+
.o-select {
|
|
368
|
+
flex-grow: 1;
|
|
369
|
+
max-width: 320px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.el-calendar-table {
|
|
373
|
+
margin-bottom: 0;
|
|
374
|
+
display: table;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.calendar-header {
|
|
378
|
+
display: flex;
|
|
379
|
+
align-items: center;
|
|
380
|
+
justify-content: flex-end;
|
|
381
|
+
gap: var(--o-gap-5);
|
|
382
|
+
margin-bottom: var(--o-gap-5);
|
|
383
|
+
@include respond-to('<=pad_v') {
|
|
384
|
+
flex-direction: column-reverse;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
gap: var(--o-gap-2);
|
|
387
|
+
margin-bottom: var(--o-gap-3);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.calendar-body {
|
|
392
|
+
display: flex;
|
|
393
|
+
border-radius: var(--o-radius-xs);
|
|
394
|
+
background-color: var(--o-color-fill2);
|
|
395
|
+
overflow: hidden;
|
|
396
|
+
@include respond-to('<=pad_v') {
|
|
397
|
+
background-color: transparent;
|
|
398
|
+
flex-direction: column;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.calender {
|
|
402
|
+
width: 56%;
|
|
403
|
+
--el-calendar-borde: none;
|
|
404
|
+
--el-calendar-selected-bg-color: none;
|
|
405
|
+
@include respond-to('<=pad_v') {
|
|
406
|
+
width: 100%;
|
|
407
|
+
flex-direction: column;
|
|
408
|
+
background-color: var(--o-color-fill2);
|
|
409
|
+
border-radius: var(--o-radius-xs);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.el-calendar__header {
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
justify-content: space-between;
|
|
416
|
+
height: 60px;
|
|
417
|
+
padding: 0 var(--o-gap-6);
|
|
418
|
+
gap: var(--o-gap-6);
|
|
419
|
+
border-bottom: 1px solid var(--o-color-control4);
|
|
420
|
+
@include respond-to('<=pad_v') {
|
|
421
|
+
justify-content: center;
|
|
422
|
+
border-bottom: none;
|
|
423
|
+
height: 52px;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.calender-header-left {
|
|
427
|
+
display: flex;
|
|
428
|
+
align-items: center;
|
|
429
|
+
justify-content: center;
|
|
430
|
+
gap: var(--o-gap-6);
|
|
431
|
+
|
|
432
|
+
.o-select {
|
|
433
|
+
max-width: 240px;
|
|
434
|
+
@include respond-to('<=pad_v') {
|
|
435
|
+
display: none;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.left-title {
|
|
441
|
+
display: flex;
|
|
442
|
+
align-items: center;
|
|
443
|
+
flex-shrink: 0;
|
|
444
|
+
@include text2;
|
|
445
|
+
|
|
446
|
+
.o-icon {
|
|
447
|
+
cursor: pointer;
|
|
448
|
+
font-size: 24px;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.month-date {
|
|
452
|
+
font-weight: 500;
|
|
453
|
+
margin: 0 var(--o-gap-1);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.right-title {
|
|
458
|
+
display: flex;
|
|
459
|
+
align-items: center;
|
|
460
|
+
color: var(--o-color-info2);
|
|
461
|
+
word-break: keep-all;
|
|
462
|
+
@include text2;
|
|
463
|
+
@include respond-to('<=pad_v') {
|
|
464
|
+
display: none;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.el-calendar__body {
|
|
470
|
+
padding: 0 var(--o-gap-6) var(--o-gap-6);
|
|
471
|
+
border-right: 1px solid var(--o-color-control4);
|
|
472
|
+
margin-bottom: 0;
|
|
473
|
+
|
|
474
|
+
thead {
|
|
475
|
+
th {
|
|
476
|
+
padding: var(--o-gap-4) var(--o-gap-3);
|
|
477
|
+
text-align: left;
|
|
478
|
+
color: var(--o-color-info3);
|
|
479
|
+
background: none;
|
|
480
|
+
border: none;
|
|
481
|
+
@include text1;
|
|
482
|
+
@include respond-to('<=pad_v') {
|
|
483
|
+
padding: 0;
|
|
484
|
+
text-align: center;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
td {
|
|
490
|
+
border: none;
|
|
491
|
+
padding: 0;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
td:first-child {
|
|
495
|
+
.el-calendar-day {
|
|
496
|
+
margin-left: 0 !important;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
tr:last-child {
|
|
501
|
+
.el-calendar-day {
|
|
502
|
+
margin-bottom: 0 !important;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
@include respond-to('<=pad_v') {
|
|
507
|
+
border: none;
|
|
508
|
+
padding: 0 16px 16px;
|
|
509
|
+
thead {
|
|
510
|
+
background-color: var(--o-color-control4-light);
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
|
|
513
|
+
th {
|
|
514
|
+
padding: 9px 0;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
th:first-child {
|
|
518
|
+
border-top-left-radius: var(--o-radius-xs);
|
|
519
|
+
border-bottom-left-radius: var(--o-radius-xs);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
th:last-child {
|
|
523
|
+
border-top-right-radius: var(--o-radius-xs);
|
|
524
|
+
border-bottom-right-radius: var(--o-radius-xs);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
tr:last-child {
|
|
528
|
+
.out-box {
|
|
529
|
+
margin-bottom: 0 !important;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
td {
|
|
536
|
+
border: none;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.el-calendar-day {
|
|
540
|
+
padding: 0;
|
|
541
|
+
margin-left: var(--o-gap-2);
|
|
542
|
+
margin-bottom: var(--o-gap-2);
|
|
543
|
+
height: 64px;
|
|
544
|
+
color: var(--o-color-info1);
|
|
545
|
+
@include respond-to('<=pad_v') {
|
|
546
|
+
display: flex;
|
|
547
|
+
justify-content: center;
|
|
548
|
+
padding: 0;
|
|
549
|
+
height: fit-content;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.out-box {
|
|
553
|
+
position: relative;
|
|
554
|
+
border-radius: var(--o-radius-xs);
|
|
555
|
+
padding: 8px 12px;
|
|
556
|
+
width: 100%;
|
|
557
|
+
height: 100%;
|
|
558
|
+
background-color: var(--o-color-control2-light);
|
|
559
|
+
border: 1px solid transparent;
|
|
560
|
+
@include tip1;
|
|
561
|
+
@include hover {
|
|
562
|
+
background-color: var(--o-color-control3-light);
|
|
563
|
+
@include respond-to('<=pad_v') {
|
|
564
|
+
@include hover {
|
|
565
|
+
background-color: inherit;
|
|
566
|
+
border: 1px solid transparent;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.day-box {
|
|
572
|
+
display: flex;
|
|
573
|
+
flex-direction: column;
|
|
574
|
+
justify-content: space-between;
|
|
575
|
+
height: 100%;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.icon-box {
|
|
579
|
+
display: flex;
|
|
580
|
+
margin-top: 4px;
|
|
581
|
+
color: var(--o-color-white);
|
|
582
|
+
height: 20px;
|
|
583
|
+
|
|
584
|
+
.o-icon {
|
|
585
|
+
flex-shrink: 0;
|
|
586
|
+
position: relative;
|
|
587
|
+
border-radius: 50%;
|
|
588
|
+
padding: 2px;
|
|
589
|
+
width: 16px;
|
|
590
|
+
height: 16px;
|
|
591
|
+
font-size: 12px;
|
|
592
|
+
margin-left: -4px;
|
|
593
|
+
margin-top: 0;
|
|
594
|
+
@include respond-to('<=pad_v') {
|
|
595
|
+
height: 6px;
|
|
596
|
+
width: 6px;
|
|
597
|
+
margin-left: -2px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&:first-child {
|
|
601
|
+
margin: 0;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.o-icon {
|
|
606
|
+
svg path {
|
|
607
|
+
fill: currentColor;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
@include respond-to('<=pad_v') {
|
|
613
|
+
background-color: transparent;
|
|
614
|
+
padding: 0;
|
|
615
|
+
margin: 6px 8px;
|
|
616
|
+
text-align: center;
|
|
617
|
+
width: 24px;
|
|
618
|
+
height: 24px;
|
|
619
|
+
.day-box {
|
|
620
|
+
display: flex;
|
|
621
|
+
flex-direction: column;
|
|
622
|
+
justify-content: center;
|
|
623
|
+
align-items: center;
|
|
624
|
+
font-size: 14px;
|
|
625
|
+
line-height: 22px;
|
|
626
|
+
}
|
|
627
|
+
.icon-box {
|
|
628
|
+
display: flex;
|
|
629
|
+
justify-content: center;
|
|
630
|
+
margin-top: 0;
|
|
631
|
+
position: absolute;
|
|
632
|
+
left: 50%;
|
|
633
|
+
bottom: -2px;
|
|
634
|
+
height: 6px;
|
|
635
|
+
transform: translate(-50%, 100%);
|
|
636
|
+
}
|
|
637
|
+
.o-icon {
|
|
638
|
+
width: 6px;
|
|
639
|
+
height: 6px;
|
|
640
|
+
|
|
641
|
+
svg {
|
|
642
|
+
display: none;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.date-calender {
|
|
650
|
+
position: relative;
|
|
651
|
+
|
|
652
|
+
&::after {
|
|
653
|
+
content: '';
|
|
654
|
+
position: absolute;
|
|
655
|
+
top: 50%;
|
|
656
|
+
left: 50%;
|
|
657
|
+
transform: translate(-50%, -50%);
|
|
658
|
+
z-index: -1;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.is-selected {
|
|
663
|
+
.out-box {
|
|
664
|
+
background-color: var(--o-color-control3-light);
|
|
665
|
+
border: 1px solid var(--o-color-primary1);
|
|
666
|
+
@include respond-to('<=pad_v') {
|
|
667
|
+
background-color: transparent;
|
|
668
|
+
border: 1px solid transparent;
|
|
669
|
+
.date-calender {
|
|
670
|
+
color: var(--o-color-primary1);
|
|
671
|
+
font-weight: 600;
|
|
672
|
+
z-index: 1;
|
|
673
|
+
|
|
674
|
+
&::after {
|
|
675
|
+
height: 24px;
|
|
676
|
+
width: 40px;
|
|
677
|
+
background-color: var(--o-color-control3-light);
|
|
678
|
+
border-radius: var(--o-radius-l);
|
|
679
|
+
border: 1px solid var(--o-color-primary1);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.is-today {
|
|
687
|
+
.date-calender {
|
|
688
|
+
--num-size: 22px;
|
|
689
|
+
width: fit-content;
|
|
690
|
+
height: var(--num-size);
|
|
691
|
+
line-height: var(--num-size);
|
|
692
|
+
z-index: 1;
|
|
693
|
+
font-weight: 600;
|
|
694
|
+
color: var(--o-color-primary1);
|
|
695
|
+
|
|
696
|
+
&::after {
|
|
697
|
+
width: var(--num-size);
|
|
698
|
+
height: var(--num-size);
|
|
699
|
+
background-color: var(--o-color-control3-light);
|
|
700
|
+
border-radius: 50%;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
@include respond-to('<=pad_v') {
|
|
704
|
+
height: auto;
|
|
705
|
+
width: auto;
|
|
706
|
+
&::after {
|
|
707
|
+
content: '';
|
|
708
|
+
position: absolute;
|
|
709
|
+
top: 50%;
|
|
710
|
+
left: 50%;
|
|
711
|
+
transform: translate(-50%, -50%);
|
|
712
|
+
height: 24px;
|
|
713
|
+
width: 40px;
|
|
714
|
+
border-radius: var(--o-radius-l);
|
|
715
|
+
z-index: -1;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.prev, .next {
|
|
722
|
+
.el-calendar-day {
|
|
723
|
+
color: var(--o-color-info3);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.detail-list {
|
|
729
|
+
width: 44%;
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
@include respond-to('<=pad_v') {
|
|
733
|
+
margin-top: 12px;
|
|
734
|
+
padding-top: 16px;
|
|
735
|
+
background-color: var(--o-color-fill2);
|
|
736
|
+
width: 100%;
|
|
737
|
+
border-radius: var(--o-radius-xs);
|
|
738
|
+
}
|
|
739
|
+
@include respond-to('phone') {
|
|
740
|
+
|
|
741
|
+
margin-top: 16px;
|
|
742
|
+
padding-top: 12px;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.current-day {
|
|
746
|
+
@include respond-to('>pad_v') {
|
|
747
|
+
|
|
748
|
+
display: none;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.current-day {
|
|
753
|
+
@include respond-to('<=pad_v') {
|
|
754
|
+
display: flex;
|
|
755
|
+
margin: 16px 16px 12px;
|
|
756
|
+
padding: 7px 12px;
|
|
757
|
+
justify-content: center;
|
|
758
|
+
border-radius: var(--o-radius-xs);
|
|
759
|
+
background-color: var(--o-color-control4-light);
|
|
760
|
+
@include text2;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.title-list {
|
|
765
|
+
display: flex;
|
|
766
|
+
align-items: center;
|
|
767
|
+
justify-content: flex-end;
|
|
768
|
+
padding: 14px 24px;
|
|
769
|
+
position: relative;
|
|
770
|
+
height: 60px;
|
|
771
|
+
|
|
772
|
+
@include respond-to('<=pad_v') {
|
|
773
|
+
justify-content: space-between;
|
|
774
|
+
padding: 0 16px;
|
|
775
|
+
gap: 24px;
|
|
776
|
+
height: auto;
|
|
777
|
+
align-items: flex-start;
|
|
778
|
+
}
|
|
779
|
+
@include respond-to('phone') {
|
|
780
|
+
flex-direction: column;
|
|
781
|
+
align-items: center;
|
|
782
|
+
gap: 8px;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
&::after {
|
|
786
|
+
content: '';
|
|
787
|
+
position: absolute;
|
|
788
|
+
bottom: 0;
|
|
789
|
+
left: 0;
|
|
790
|
+
width: 100%;
|
|
791
|
+
height: 1px;
|
|
792
|
+
background-color: var(--o-color-control4);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.o-select {
|
|
796
|
+
display: none;
|
|
797
|
+
@include respond-to('<=pad_v') {
|
|
798
|
+
display: inline-flex;
|
|
799
|
+
}
|
|
800
|
+
@include respond-to('phone') {
|
|
801
|
+
display: flex;
|
|
802
|
+
width: 100%;
|
|
803
|
+
max-width: 100%;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.o-tab {
|
|
810
|
+
display: flex;
|
|
811
|
+
justify-content: center;
|
|
812
|
+
align-items: flex-end;
|
|
813
|
+
height: 60px;
|
|
814
|
+
border-bottom: 1px solid var(--o-color-control4);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.o-tab {
|
|
818
|
+
.o-icon {
|
|
819
|
+
svg path {
|
|
820
|
+
fill: currentColor;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
@include respond-to('pad_v-laptop') {
|
|
825
|
+
--tab-nav-padding: 0 0 14px;
|
|
826
|
+
}
|
|
827
|
+
@include respond-to('<=pad_v') {
|
|
828
|
+
border-bottom: none;
|
|
829
|
+
height: auto;
|
|
830
|
+
.o-icon {
|
|
831
|
+
display: none;
|
|
832
|
+
}
|
|
833
|
+
.o-tab-navs-wrap {
|
|
834
|
+
height: 40px;
|
|
835
|
+
|
|
836
|
+
.o-tab-nav {
|
|
837
|
+
line-height: 2;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
@include respond-to('phone') {
|
|
842
|
+
.o-tab-navs-wrap {
|
|
843
|
+
height: auto;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.o-tab-nav-anchor {
|
|
848
|
+
.o-tab-nav-anchor-line {
|
|
849
|
+
width: 100%;
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.meeting-list {
|
|
856
|
+
height: v-bind('calendarHeight');
|
|
857
|
+
@include respond-to('<=pad_v') {
|
|
858
|
+
height: auto;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
}
|
|
865
|
+
</style>
|