@opendesign-plus-test/components 0.0.1-rc.20 → 0.0.1-rc.22
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 -141
- 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/OSourceCode.vue.d.ts +2 -0
- 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 +2 -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 +332 -0
- package/dist/components/activity/types.d.ts +72 -0
- package/dist/components/events/config.d.ts +13 -13
- 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 +43038 -2305
- package/dist/index.d.ts +2 -0
- package/package.json +8 -5
- 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 +46 -20
- package/src/components/OHeader.vue +2 -1
- package/src/components/OHeaderMoblie.vue +3 -3
- package/src/components/OSourceCode.vue +35 -6
- package/src/components/activity/OActivityApproval.vue +775 -0
- package/src/components/activity/OActivityForm.vue +540 -0
- package/src/components/activity/OMyActivityCalendar.vue +13 -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 +78 -0
- package/src/components/common/HeaderEulerNav.vue +16 -10
- package/src/components/common/HeaderNavMoblie.vue +9 -9
- package/src/components/common/HeaderUbmcNav.vue +1 -1
- 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 +3 -54
- package/src/components/events/config.ts +15 -29
- 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 +1534 -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 +176 -0
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +611 -0
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +741 -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/src/assets/events/city/beijing.jpg +0 -0
- package/src/assets/events/city/chengdu.jpg +0 -0
- package/src/assets/events/city/default-cover.jpg +0 -0
- package/src/assets/events/city/guangzhou.jpg +0 -0
- package/src/assets/events/city/hangzhou.jpg +0 -0
- package/src/assets/events/city/nanjing.jpg +0 -0
- package/src/assets/events/city/shanghai.jpg +0 -0
- package/src/assets/events/city/shenzhen1.jpg +0 -0
- package/src/assets/events/city/shenzhen2.jpg +0 -0
- package/src/assets/events/city/suzhou.jpg +0 -0
- package/src/assets/events/city/tianjin.jpg +0 -0
- package/src/assets/events/city/wuhan.jpg +0 -0
- package/src/assets/events/city/wuxi.jpg +0 -0
- package/src/assets/events/city/xian.jpg +0 -0
- package/src/assets/events/city/zhengzhou.jpg +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,365 @@
|
|
|
1
|
+
// 活动审批列表
|
|
2
|
+
export const approveListRes = {
|
|
3
|
+
'total': 9,
|
|
4
|
+
'page': '1',
|
|
5
|
+
'size': 10,
|
|
6
|
+
'data': [
|
|
7
|
+
{
|
|
8
|
+
'id': 84,
|
|
9
|
+
'title': 'TEST',
|
|
10
|
+
'start_date': '2025-12-17',
|
|
11
|
+
'end_date': '2025-12-19',
|
|
12
|
+
'activity_type': 2,
|
|
13
|
+
'synopsis': '',
|
|
14
|
+
'activity_mode': 1,
|
|
15
|
+
'status': 2,
|
|
16
|
+
'create_time': '2025-12-17T10:38:45.555722',
|
|
17
|
+
'is_delete': 0,
|
|
18
|
+
'address': '',
|
|
19
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
20
|
+
'start': '10:42',
|
|
21
|
+
'end': '13:00',
|
|
22
|
+
'register_url': 'https://ascend.test.osinfra.cn/',
|
|
23
|
+
'content_url': 'https://ascend.test.osinfra.cn/',
|
|
24
|
+
'update_activity_id': null,
|
|
25
|
+
'register_end_date': '2025-12-17 00:00',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
'id': 83,
|
|
29
|
+
'title': '广州活动1',
|
|
30
|
+
'start_date': '2025-12-18',
|
|
31
|
+
'end_date': '2025-12-18',
|
|
32
|
+
'activity_type': 1,
|
|
33
|
+
'synopsis': '',
|
|
34
|
+
'activity_mode': 1,
|
|
35
|
+
'status': 2,
|
|
36
|
+
'create_time': '2025-12-17T09:46:46.285323',
|
|
37
|
+
'is_delete': 0,
|
|
38
|
+
'address': '广州',
|
|
39
|
+
'sponsor': 'hid_yjn7z1w59d8rln9',
|
|
40
|
+
'start': '09:00',
|
|
41
|
+
'end': '21:00',
|
|
42
|
+
'register_url': 'https://www.openeuler.org/zh/compatibility/',
|
|
43
|
+
'content_url': 'https://www.openeuler.org/zh/compatibility/',
|
|
44
|
+
'update_activity_id': null,
|
|
45
|
+
'register_end_date': '2025-12-18 00:00',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
'id': 69,
|
|
49
|
+
'title': '活动名称实验',
|
|
50
|
+
'start_date': '2025-12-19',
|
|
51
|
+
'end_date': '2025-12-21',
|
|
52
|
+
'activity_type': 2,
|
|
53
|
+
'synopsis': '',
|
|
54
|
+
'activity_mode': 1,
|
|
55
|
+
'status': 2,
|
|
56
|
+
'create_time': '2025-12-16T15:33:26.344198',
|
|
57
|
+
'is_delete': 0,
|
|
58
|
+
'address': '',
|
|
59
|
+
'sponsor': 'hid_yjn7z1w59d8rln9',
|
|
60
|
+
'start': '09:00',
|
|
61
|
+
'end': '21:00',
|
|
62
|
+
'register_url': 'https://www.openeuler.org/zh/projects/',
|
|
63
|
+
'content_url': 'https://www.openeuler.org/zh/projects/',
|
|
64
|
+
'update_activity_id': null,
|
|
65
|
+
'register_end_date': '2025-12-17 00:00',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
'id': 51,
|
|
69
|
+
'title': '123',
|
|
70
|
+
'start_date': '2025-12-19',
|
|
71
|
+
'end_date': '2025-12-20',
|
|
72
|
+
'activity_type': 1,
|
|
73
|
+
'synopsis': '',
|
|
74
|
+
'activity_mode': 1,
|
|
75
|
+
'status': 2,
|
|
76
|
+
'create_time': '2025-12-15T19:20:17.205518',
|
|
77
|
+
'is_delete': 0,
|
|
78
|
+
'address': 'test',
|
|
79
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
80
|
+
'start': '08:00',
|
|
81
|
+
'end': '18:00',
|
|
82
|
+
'register_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/approval',
|
|
83
|
+
'content_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/approval',
|
|
84
|
+
'update_activity_id': null,
|
|
85
|
+
'register_end_date': '2025-12-16 00:00',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
'id': 50,
|
|
89
|
+
'title': '123',
|
|
90
|
+
'start_date': '2025-12-20',
|
|
91
|
+
'end_date': '2025-12-20',
|
|
92
|
+
'activity_type': 2,
|
|
93
|
+
'synopsis': '',
|
|
94
|
+
'activity_mode': 1,
|
|
95
|
+
'status': 2,
|
|
96
|
+
'create_time': '2025-12-15T19:10:39.170137',
|
|
97
|
+
'is_delete': 0,
|
|
98
|
+
'address': '',
|
|
99
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
100
|
+
'start': '08:00',
|
|
101
|
+
'end': '18:00',
|
|
102
|
+
'register_url': 'https://element-plus.org/zh-CN/component/datetime-picker',
|
|
103
|
+
'content_url': 'https://element-plus.org/zh-CN/component/datetime-picker',
|
|
104
|
+
'update_activity_id': null,
|
|
105
|
+
'register_end_date': '2025-12-18 00:00',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
'id': 32,
|
|
109
|
+
'title': 'test2',
|
|
110
|
+
'start_date': '2025-12-12',
|
|
111
|
+
'end_date': '2025-12-16',
|
|
112
|
+
'activity_type': 2,
|
|
113
|
+
'synopsis': 'test2',
|
|
114
|
+
'activity_mode': 1,
|
|
115
|
+
'status': 2,
|
|
116
|
+
'create_time': '2025-12-12T17:31:24.304618',
|
|
117
|
+
'is_delete': 0,
|
|
118
|
+
'address': '',
|
|
119
|
+
'sponsor': 'hid_u18tcgmw-eue4fq',
|
|
120
|
+
'start': '18:30',
|
|
121
|
+
'end': '17:30',
|
|
122
|
+
'register_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/create-activity',
|
|
123
|
+
'content_url': 'https://cann-website.ascend.test.osinfra.cn/cann/my/create-activity',
|
|
124
|
+
'update_activity_id': null,
|
|
125
|
+
'register_end_date': '2025-12-13 00:00',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
'id': 31,
|
|
129
|
+
'title': 'test',
|
|
130
|
+
'start_date': '2025-12-13',
|
|
131
|
+
'end_date': '2025-12-16',
|
|
132
|
+
'activity_type': 2,
|
|
133
|
+
'synopsis': 'test',
|
|
134
|
+
'activity_mode': 1,
|
|
135
|
+
'status': 2,
|
|
136
|
+
'create_time': '2025-12-12T17:24:28.092587',
|
|
137
|
+
'is_delete': 0,
|
|
138
|
+
'address': '',
|
|
139
|
+
'sponsor': 'hid_u18tcgmw-eue4fq',
|
|
140
|
+
'start': '12:00',
|
|
141
|
+
'end': '08:00',
|
|
142
|
+
'register_url': 'https://huawei.com',
|
|
143
|
+
'content_url': 'https://baidu.com',
|
|
144
|
+
'update_activity_id': null,
|
|
145
|
+
'register_end_date': '2025-12-12 00:00',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
'id': 24,
|
|
149
|
+
'title': '1234',
|
|
150
|
+
'start_date': '2025-12-23',
|
|
151
|
+
'end_date': '2025-12-24',
|
|
152
|
+
'activity_type': 1,
|
|
153
|
+
'synopsis': '1234',
|
|
154
|
+
'activity_mode': 1,
|
|
155
|
+
'status': 2,
|
|
156
|
+
'create_time': '2025-12-12T15:02:37.358253',
|
|
157
|
+
'is_delete': 0,
|
|
158
|
+
'address': 'shanghai',
|
|
159
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
160
|
+
'start': '15:00',
|
|
161
|
+
'end': '15:00',
|
|
162
|
+
'register_url': 'https://www.openeuler.org/zh/',
|
|
163
|
+
'content_url': 'https://www.openeuler.org/zh/',
|
|
164
|
+
'update_activity_id': null,
|
|
165
|
+
'register_end_date': '2025-12-20 00:00',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
'id': 23,
|
|
169
|
+
'title': 'asdf',
|
|
170
|
+
'start_date': '2025-12-26',
|
|
171
|
+
'end_date': '2025-12-27',
|
|
172
|
+
'activity_type': 2,
|
|
173
|
+
'synopsis': 'asdf',
|
|
174
|
+
'activity_mode': 1,
|
|
175
|
+
'status': 2,
|
|
176
|
+
'create_time': '2025-12-12T15:01:44.181040',
|
|
177
|
+
'is_delete': 0,
|
|
178
|
+
'address': '',
|
|
179
|
+
'sponsor': 'hid_2o--qyykhbvm5as',
|
|
180
|
+
'start': '15:00',
|
|
181
|
+
'end': '15:00',
|
|
182
|
+
'register_url': 'https://www.openeuler.org/zh/',
|
|
183
|
+
'content_url': 'https://www.openeuler.org/zh/',
|
|
184
|
+
'update_activity_id': null,
|
|
185
|
+
'register_end_date': '2025-12-21 00:00',
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
// 我的活动列表
|
|
191
|
+
export const listRes = {
|
|
192
|
+
'total': 8,
|
|
193
|
+
'page': '1',
|
|
194
|
+
'size': 50,
|
|
195
|
+
'data': [
|
|
196
|
+
{
|
|
197
|
+
'id': 35,
|
|
198
|
+
'title': 'test1231awd',
|
|
199
|
+
'start_date': '2025-12-19',
|
|
200
|
+
'end_date': '2025-12-20',
|
|
201
|
+
'activity_type': 1,
|
|
202
|
+
'synopsis': '',
|
|
203
|
+
'activity_mode': 1,
|
|
204
|
+
'create_time': '2025-12-12T19:30:59.578293',
|
|
205
|
+
'address': 'asdasd',
|
|
206
|
+
'status': 1,
|
|
207
|
+
'sponsor': 'jiasensen',
|
|
208
|
+
'is_delete': 0,
|
|
209
|
+
'start': '10:00',
|
|
210
|
+
'end': '09:00',
|
|
211
|
+
'register_url': 'https://wqeqw.com',
|
|
212
|
+
'content_url': 'https://wqeqw.com',
|
|
213
|
+
'register_end_date': '2025-12-19 00:00',
|
|
214
|
+
'update_activity_id': null,
|
|
215
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
'id': 20,
|
|
219
|
+
'title': 'test1122',
|
|
220
|
+
'start_date': '2025-12-20',
|
|
221
|
+
'end_date': '2025-12-20',
|
|
222
|
+
'activity_type': 3,
|
|
223
|
+
'synopsis': 'test112活动简介',
|
|
224
|
+
'activity_mode': 1,
|
|
225
|
+
'create_time': '2025-12-12T11:43:55.343739',
|
|
226
|
+
'address': 'test112活动地址',
|
|
227
|
+
'status': 2,
|
|
228
|
+
'sponsor': 'jiasensen',
|
|
229
|
+
'is_delete': 0,
|
|
230
|
+
'start': '09:00',
|
|
231
|
+
'end': '10:00',
|
|
232
|
+
'register_url': 'https://aaa.com/',
|
|
233
|
+
'content_url': 'https://aaa111.com/',
|
|
234
|
+
'register_end_date': '2025-12-20 00:00',
|
|
235
|
+
'update_activity_id': null,
|
|
236
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
'id': 26,
|
|
240
|
+
'title': 'test_sensen11',
|
|
241
|
+
'start_date': '2025-12-20',
|
|
242
|
+
'end_date': '2025-12-20',
|
|
243
|
+
'activity_type': 3,
|
|
244
|
+
'synopsis': 'asdas',
|
|
245
|
+
'activity_mode': 1,
|
|
246
|
+
'create_time': '2025-12-12T15:29:33.031145',
|
|
247
|
+
'address': 'asdqwe',
|
|
248
|
+
'status': 3,
|
|
249
|
+
'sponsor': 'jiasensen',
|
|
250
|
+
'is_delete': 0,
|
|
251
|
+
'start': '09:00',
|
|
252
|
+
'end': '12:00',
|
|
253
|
+
'register_url': 'https://aaa.com/',
|
|
254
|
+
'content_url': 'https://aaa111.com/',
|
|
255
|
+
'register_end_date': '2025-12-20 00:00',
|
|
256
|
+
'update_activity_id': null,
|
|
257
|
+
'approver': 'hid_2o--qyykhbvm5as',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
'id': 86,
|
|
261
|
+
'title': 'test1219',
|
|
262
|
+
'start_date': '2025-12-20',
|
|
263
|
+
'end_date': '2025-12-20',
|
|
264
|
+
'activity_type': 1,
|
|
265
|
+
'synopsis': '',
|
|
266
|
+
'activity_mode': 1,
|
|
267
|
+
'create_time': '2025-12-19T13:56:41.860211',
|
|
268
|
+
'address': 'asdasd',
|
|
269
|
+
'status': 1,
|
|
270
|
+
'sponsor': 'jiasensen',
|
|
271
|
+
'is_delete': 0,
|
|
272
|
+
'start': '08:00',
|
|
273
|
+
'end': '12:00',
|
|
274
|
+
'register_url': 'https://asda.com/',
|
|
275
|
+
'content_url': 'https://asda12312.com/',
|
|
276
|
+
'register_end_date': '2025-12-20 00:00',
|
|
277
|
+
'update_activity_id': null,
|
|
278
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
'id': 27,
|
|
282
|
+
'title': 'test_sensen22',
|
|
283
|
+
'start_date': '2025-12-21',
|
|
284
|
+
'end_date': '2025-12-21',
|
|
285
|
+
'activity_type': 1,
|
|
286
|
+
'synopsis': 'asdfasqwe',
|
|
287
|
+
'activity_mode': 1,
|
|
288
|
+
'create_time': '2025-12-12T15:31:26.182283',
|
|
289
|
+
'address': 'adsasd',
|
|
290
|
+
'status': 3,
|
|
291
|
+
'sponsor': 'jiasensen',
|
|
292
|
+
'is_delete': 1,
|
|
293
|
+
'start': '09:00',
|
|
294
|
+
'end': '12:00',
|
|
295
|
+
'register_url': 'https://qqq.com/',
|
|
296
|
+
'content_url': 'https://qqq111.com/',
|
|
297
|
+
'register_end_date': '2025-12-21 00:00',
|
|
298
|
+
'update_activity_id': null,
|
|
299
|
+
'approver': 'hid_2o--qyykhbvm5as',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
'id': 33,
|
|
303
|
+
'title': 'test_sensen123',
|
|
304
|
+
'start_date': '2025-12-26',
|
|
305
|
+
'end_date': '2025-12-26',
|
|
306
|
+
'activity_type': 3,
|
|
307
|
+
'synopsis': 'asdas',
|
|
308
|
+
'activity_mode': 1,
|
|
309
|
+
'create_time': '2025-12-12T18:21:25.369919',
|
|
310
|
+
'address': 'test地址',
|
|
311
|
+
'status': 3,
|
|
312
|
+
'sponsor': 'jiasensen',
|
|
313
|
+
'is_delete': 0,
|
|
314
|
+
'start': '08:00',
|
|
315
|
+
'end': '14:00',
|
|
316
|
+
'register_url': 'https://aaa.com/',
|
|
317
|
+
'content_url': 'https://aaa111.com/',
|
|
318
|
+
'register_end_date': '2025-12-26 00:00',
|
|
319
|
+
'update_activity_id': null,
|
|
320
|
+
'approver': 'hid_u18tcgmw-eue4fq',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
'id': 45,
|
|
324
|
+
'title': 'test_ss1215',
|
|
325
|
+
'start_date': '2025-12-27',
|
|
326
|
+
'end_date': '2025-12-27',
|
|
327
|
+
'activity_type': 3,
|
|
328
|
+
'synopsis': '',
|
|
329
|
+
'activity_mode': 1,
|
|
330
|
+
'create_time': '2025-12-15T11:35:14.992243',
|
|
331
|
+
'address': 'asdas',
|
|
332
|
+
'status': 3,
|
|
333
|
+
'sponsor': 'jiasensen',
|
|
334
|
+
'is_delete': 1,
|
|
335
|
+
'start': '08:00',
|
|
336
|
+
'end': '10:00',
|
|
337
|
+
'register_url': 'https://aaa.com',
|
|
338
|
+
'content_url': 'https://aaa123.com',
|
|
339
|
+
'register_end_date': '2025-12-27 00:00',
|
|
340
|
+
'update_activity_id': null,
|
|
341
|
+
'approver': 'hid_n6-ylcv3nf0jw4n',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
'id': 88,
|
|
345
|
+
'title': 'test',
|
|
346
|
+
'start_date': '2026-04-18',
|
|
347
|
+
'end_date': '2026-04-18',
|
|
348
|
+
'activity_type': 3,
|
|
349
|
+
'synopsis': '',
|
|
350
|
+
'activity_mode': 1,
|
|
351
|
+
'create_time': '2026-04-16T17:28:29.775759',
|
|
352
|
+
'address': '深圳',
|
|
353
|
+
'status': 2,
|
|
354
|
+
'sponsor': 'jiasensen',
|
|
355
|
+
'is_delete': 0,
|
|
356
|
+
'start': '09:00',
|
|
357
|
+
'end': '18:00',
|
|
358
|
+
'register_url': 'https://www.123.com',
|
|
359
|
+
'content_url': 'https://www.123.com',
|
|
360
|
+
'register_end_date': '2026-04-18 00:00',
|
|
361
|
+
'update_activity_id': null,
|
|
362
|
+
'approver': 'hid_yjn7z1w59d8rln9',
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _OActivityForm from './OActivityForm.vue';
|
|
2
|
+
import _OActivityApproval from './OActivityApproval.vue';
|
|
3
|
+
import _OMyActivityCalendar from './OMyActivityCalendar.vue';
|
|
4
|
+
import type { App } from 'vue';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
const OActivityForm = Object.assign(_OActivityForm, {
|
|
8
|
+
install(app: App) {
|
|
9
|
+
app.component('OActivityForm', _OActivityForm);
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
const OActivityApproval = Object.assign(_OActivityApproval, {
|
|
13
|
+
install(app: App) {
|
|
14
|
+
app.component('OActivityApproval', _OActivityApproval);
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
const OMyActivityCalendar = Object.assign(_OMyActivityCalendar, {
|
|
18
|
+
install(app: App) {
|
|
19
|
+
app.component('OMyActivityCalendar', _OMyActivityCalendar);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { OActivityForm, OActivityApproval, OMyActivityCalendar };
|
|
24
|
+
export * from './types';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// 活动新增、修改
|
|
2
|
+
export interface ParamsItemT {
|
|
3
|
+
id?: number; // 活动id
|
|
4
|
+
title: string; // 活动名称
|
|
5
|
+
organizer: string; // 活动主办方
|
|
6
|
+
start_date: string; // 活动起始日期
|
|
7
|
+
end_date: string; // 活动结束日期
|
|
8
|
+
register_end_date: string; // 报名截止时间
|
|
9
|
+
activity_type: string | number; // 活动类型
|
|
10
|
+
synopsis: string; // 活动简介
|
|
11
|
+
register_url: string; // 报名网址
|
|
12
|
+
content_url: string; // 活动详情网址
|
|
13
|
+
address: string; // 活动地址
|
|
14
|
+
start: string; // 活动开始时间
|
|
15
|
+
end: string; // 活动结束时间
|
|
16
|
+
schedules?: string;
|
|
17
|
+
is_publish: string; // 是否发布 true-发布审核 false-发布为草稿
|
|
18
|
+
update_activity_id?: string;
|
|
19
|
+
approver: string; // 审批人
|
|
20
|
+
email_list: string;
|
|
21
|
+
content: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ActivityFormPropsT {
|
|
25
|
+
data?: ParamsItemT;
|
|
26
|
+
creatActivity: any;
|
|
27
|
+
editActivity: any;
|
|
28
|
+
admins: string[];
|
|
29
|
+
status?: string | null;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface TypeOptionT {
|
|
33
|
+
label: string;
|
|
34
|
+
value: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ActivityItemT {
|
|
38
|
+
activity_mode: number;
|
|
39
|
+
activity_type: number;
|
|
40
|
+
address: string;
|
|
41
|
+
approver: string;
|
|
42
|
+
approve_record: object;
|
|
43
|
+
start_date: string;
|
|
44
|
+
end: string;
|
|
45
|
+
end_date: string;
|
|
46
|
+
id: number;
|
|
47
|
+
is_delete: number; // 1-已取消 0-正常
|
|
48
|
+
live_address: string;
|
|
49
|
+
register_end_date: string;
|
|
50
|
+
register_url: string;
|
|
51
|
+
start: string;
|
|
52
|
+
status: number; // 1-草稿 2-审核中 3-报名中 4-进行中 5-已结束 6-已修改 7-驳回
|
|
53
|
+
synopsis: string;
|
|
54
|
+
title: string;
|
|
55
|
+
update_activity_id: number;
|
|
56
|
+
user: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ReviewParamsT {
|
|
60
|
+
page: number;
|
|
61
|
+
size: number;
|
|
62
|
+
status: string;
|
|
63
|
+
activity_mode?: string;
|
|
64
|
+
is_delete?: number;
|
|
65
|
+
search: string;
|
|
66
|
+
sponsor: string;
|
|
67
|
+
order_by: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface ActivityTablePropsT {
|
|
71
|
+
getTableDataRequest: any;
|
|
72
|
+
applicantList: string[];
|
|
73
|
+
cancelActivityRequest: any;
|
|
74
|
+
deleteActivityRequest: any;
|
|
75
|
+
approveActivityRequest: any;
|
|
76
|
+
rejectActivityRequest: any;
|
|
77
|
+
getActivityDetailRequest: any;
|
|
78
|
+
}
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
const { locale } = useLocale();
|
|
19
|
-
const { theme } = useTheme();
|
|
19
|
+
const { theme, isDark } = useTheme();
|
|
20
20
|
|
|
21
21
|
const navRef = ref();
|
|
22
22
|
const navListRef = ref();
|
|
@@ -32,9 +32,9 @@ const navShortcut = ref<any>([]);
|
|
|
32
32
|
const isPicture = ref(false);
|
|
33
33
|
const toggleDebounced = useDebounceFn(function (item: any | null) {
|
|
34
34
|
if (item === null) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
navActive.value = '';
|
|
36
|
+
isShow.value = false;
|
|
37
|
+
isPicture.value = false;
|
|
38
38
|
} else {
|
|
39
39
|
navActive.value = item.id;
|
|
40
40
|
isShow.value = true;
|
|
@@ -103,7 +103,7 @@ onUnmounted(() => {
|
|
|
103
103
|
<div class="right-icon" v-if="navVisibleLeft">
|
|
104
104
|
<OIcon @click="scrollNavLeft"><IconCaretLeft /></OIcon>
|
|
105
105
|
</div>
|
|
106
|
-
<nav ref="navRef" class="o-nav" :class="{ 'o-nav-scroll': navVisibleLeft || !navVisibleRight }">
|
|
106
|
+
<nav ref="navRef" class="o-nav" :class="{ 'o-nav-scroll': navVisibleLeft || !navVisibleRight, dark: isDark }">
|
|
107
107
|
<ul ref="navListRef" class="o-nav-list">
|
|
108
108
|
<li v-for="item in navData" :key="item.id" @mouseenter="toggleDebounced(item)" @mouseleave="toggleDebounced(null)">
|
|
109
109
|
<span :id="'tour_headerNav_' + item.ID" class="nav-item">{{ item.label }}</span>
|
|
@@ -126,7 +126,7 @@ onUnmounted(() => {
|
|
|
126
126
|
</OIcon>
|
|
127
127
|
<OTag v-if="subItem.tag" round="pill" color="danger" size="small" class="content-tag">{{ subItem.tag }}</OTag>
|
|
128
128
|
</a>
|
|
129
|
-
<div class="desc-container">
|
|
129
|
+
<div v-if="subItem.description" class="desc-container">
|
|
130
130
|
<p class="item-desc" :title="showDesc ? subItem.description : null" @mouseenter="descMouseenter($event)">
|
|
131
131
|
{{ subItem.description }}
|
|
132
132
|
</p>
|
|
@@ -214,6 +214,11 @@ onUnmounted(() => {
|
|
|
214
214
|
&::-webkit-scrollbar {
|
|
215
215
|
display: none;
|
|
216
216
|
}
|
|
217
|
+
&.dark {
|
|
218
|
+
&::after {
|
|
219
|
+
background-image: linear-gradient(90deg, rgba(var(--o-mixedgray-4), 0) 0%, rgba(var(--o-mixedgray-4), 1) 100%);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
217
222
|
|
|
218
223
|
.o-nav-list {
|
|
219
224
|
display: flex;
|
|
@@ -285,7 +290,7 @@ onUnmounted(() => {
|
|
|
285
290
|
}
|
|
286
291
|
.nav-dropdown {
|
|
287
292
|
position: fixed;
|
|
288
|
-
top:
|
|
293
|
+
top: var(--o-header-height);
|
|
289
294
|
left: 0;
|
|
290
295
|
right: 0;
|
|
291
296
|
background: var(--o-color-fill2);
|
|
@@ -358,6 +363,7 @@ onUnmounted(() => {
|
|
|
358
363
|
}
|
|
359
364
|
.content-tag {
|
|
360
365
|
margin-left: var(--o-gap-2);
|
|
366
|
+
border-radius: var(--o-radius-xs);
|
|
361
367
|
@include respond-to('<=laptop') {
|
|
362
368
|
display: none;
|
|
363
369
|
}
|
|
@@ -918,9 +924,9 @@ onUnmounted(() => {
|
|
|
918
924
|
}
|
|
919
925
|
|
|
920
926
|
.icon {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
padding-left:
|
|
927
|
+
width: 24px;
|
|
928
|
+
height: 24px;
|
|
929
|
+
padding-left: 8px;
|
|
924
930
|
}
|
|
925
931
|
}
|
|
926
932
|
.content-label {
|
|
@@ -132,7 +132,6 @@ watch(
|
|
|
132
132
|
justify-content: center;
|
|
133
133
|
height: 48px;
|
|
134
134
|
color: var(--o-color-info1);
|
|
135
|
-
font-weight: 500;
|
|
136
135
|
|
|
137
136
|
&.active {
|
|
138
137
|
color: var(--o-color-primary1);
|
|
@@ -142,7 +141,7 @@ watch(
|
|
|
142
141
|
|
|
143
142
|
.header-content-mb {
|
|
144
143
|
position: fixed;
|
|
145
|
-
top:
|
|
144
|
+
top: var(--o-header-height);
|
|
146
145
|
bottom: 0;
|
|
147
146
|
left: 0;
|
|
148
147
|
right: 0;
|
|
@@ -157,8 +156,8 @@ watch(
|
|
|
157
156
|
position: fixed;
|
|
158
157
|
left: 0;
|
|
159
158
|
overflow: hidden;
|
|
160
|
-
top:
|
|
161
|
-
height: calc(100vh -
|
|
159
|
+
top: var(--o-header-height);
|
|
160
|
+
height: calc(100vh - var(--o-header-height));
|
|
162
161
|
transform: translateX(-130%);
|
|
163
162
|
|
|
164
163
|
transition-duration: 0.333s;
|
|
@@ -186,12 +185,12 @@ watch(
|
|
|
186
185
|
padding: 0;
|
|
187
186
|
margin: 0;
|
|
188
187
|
height: auto;
|
|
189
|
-
@include h4;
|
|
190
188
|
|
|
191
189
|
> li {
|
|
192
190
|
position: relative;
|
|
193
|
-
@include nav-item;
|
|
194
191
|
text-align: center;
|
|
192
|
+
@include tip1;
|
|
193
|
+
@include nav-item;
|
|
195
194
|
}
|
|
196
195
|
}
|
|
197
196
|
}
|
|
@@ -228,7 +227,7 @@ watch(
|
|
|
228
227
|
.content-label {
|
|
229
228
|
color: var(--o-color-info3);
|
|
230
229
|
font-weight: 500;
|
|
231
|
-
@include
|
|
230
|
+
@include tip1;
|
|
232
231
|
}
|
|
233
232
|
|
|
234
233
|
.item-not-children {
|
|
@@ -277,6 +276,7 @@ watch(
|
|
|
277
276
|
|
|
278
277
|
.container-mobile {
|
|
279
278
|
color: var(--o-color-primary1);
|
|
279
|
+
margin-top: 8px;
|
|
280
280
|
@include text2;
|
|
281
281
|
|
|
282
282
|
.icon {
|
|
@@ -299,7 +299,7 @@ watch(
|
|
|
299
299
|
color: var(--o-color-primary1);
|
|
300
300
|
display: flex;
|
|
301
301
|
align-items: center;
|
|
302
|
-
@include
|
|
302
|
+
@include tip1;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.content-tag {
|
|
@@ -316,7 +316,7 @@ watch(
|
|
|
316
316
|
margin-top: var(--o-gap-1);
|
|
317
317
|
text-align: justify;
|
|
318
318
|
word-break: normal;
|
|
319
|
-
@include
|
|
319
|
+
@include tip2;
|
|
320
320
|
@include text-truncate(2);
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -419,7 +419,7 @@ const handelHref = (href: string) => {
|
|
|
419
419
|
align-items: center;
|
|
420
420
|
height: 100%;
|
|
421
421
|
padding: 0 var(--o-gap-4);
|
|
422
|
-
color: var(--o-color-
|
|
422
|
+
color: var(--o-color-info1);
|
|
423
423
|
word-break: keep-all;
|
|
424
424
|
position: relative;
|
|
425
425
|
font-weight: normal;
|