@opendesign-plus-test/components 0.0.1-rc.26 → 0.0.1-rc.28

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.
Files changed (60) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +269 -197
  3. package/dist/components/OCookieNotice.vue.d.ts +3 -2
  4. package/dist/components/OFooter.vue.d.ts +22 -1
  5. package/dist/components/OHeaderUser.vue.d.ts +0 -2
  6. package/dist/components/activity/OMyActivityCalendar.vue.d.ts +6 -6
  7. package/dist/components/activity/index.d.ts +3 -3
  8. package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
  9. package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
  10. package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
  11. package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
  12. package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
  13. package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
  14. package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
  15. package/dist/components/header/index.d.ts +22 -0
  16. package/dist/components/meeting/OMeetingCalendar.vue.d.ts +1 -6
  17. package/dist/components/meeting/OMeetingForm.vue.d.ts +3 -15
  18. package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +6 -6
  19. package/dist/components/meeting/types.d.ts +14 -5
  20. package/dist/components/meeting/utils.d.ts +1 -0
  21. package/dist/components.cjs.js +46 -46
  22. package/dist/components.css +1 -1
  23. package/dist/components.es.js +17909 -17780
  24. package/dist/index.d.ts +2 -3
  25. package/package.json +1 -1
  26. package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
  27. package/src/components/OCookieNotice.vue +270 -118
  28. package/src/components/OFooter.vue +11 -1
  29. package/src/components/OHeaderUser.vue +14 -81
  30. package/src/components/OSourceCode.vue +1 -1
  31. package/src/components/activity/OActivityApproval.vue +60 -26
  32. package/src/components/activity/OActivityForm.vue +2 -5
  33. package/src/components/activity/OMyActivityCalendar.vue +80 -73
  34. package/src/components/common/MoreText.vue +3 -2
  35. package/src/components/common/ThFilter.vue +7 -3
  36. package/src/components/element-plus/OElCookieNotice.vue +306 -115
  37. package/src/components/events/OEventsApply.vue +16 -0
  38. package/src/components/events/OEventsList.vue +3 -0
  39. package/src/components/header/OHeader.vue +175 -0
  40. package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
  41. package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
  42. package/src/components/header/components/HeaderNav.vue +280 -0
  43. package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
  44. package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
  45. package/src/components/header/index.ts +16 -0
  46. package/src/components/meeting/OMeetingCalendar.vue +19 -12
  47. package/src/components/meeting/OMeetingForm.vue +20 -27
  48. package/src/components/meeting/OMeetingPlayback.vue +1 -1
  49. package/src/components/meeting/OMyMeetingCalendar.vue +36 -36
  50. package/src/components/meeting/components/OMeetingCalendarList.vue +12 -9
  51. package/src/components/meeting/components/OMeetingDetail.vue +38 -17
  52. package/src/components/meeting/types.ts +13 -5
  53. package/src/components/meeting/utils.ts +18 -1
  54. package/src/i18n/en.ts +3 -1
  55. package/src/i18n/zh.ts +4 -2
  56. package/src/index.ts +2 -5
  57. package/dist/components/activity/data.d.ts +0 -51
  58. package/src/components/OHeader.vue +0 -97
  59. package/src/components/activity/data.ts +0 -365
  60. package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
@@ -47,8 +47,9 @@ const determineHeight = () => {
47
47
  };
48
48
 
49
49
  const clickText = () => {
50
- console.log(props.link);
51
- console.log('判断是否使用a标签');
50
+ if (props.link) {
51
+ window.open(props.text)
52
+ }
52
53
  };
53
54
  </script>
54
55
 
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import { useLocale } from '@opendesign-plus/composables';
3
2
  import {
4
3
  OCheckbox,
5
4
  OCheckboxGroup,
@@ -13,10 +12,14 @@ import {
13
12
  } from '@opensig/opendesign';
14
13
  import { computed, h, nextTick, ref, watch } from 'vue';
15
14
  import IconFilter from '~icons/components/icon-filter.svg';
16
- import AppEmpty from '../../../../../../.vitepress/src/components/AppEmpty.vue';
15
+ import { useI18n } from '@/i18n';
16
+ import { buildVueDompurifyHTMLDirective } from 'vue-dompurify-html';
17
+
18
+ // 局部注册 v-dompurify-html 指令
19
+ const vDompurifyHtml = buildVueDompurifyHTMLDirective();
17
20
 
18
21
  type TItem = { label: string; value: string | number; children?: TItem[] };
19
- const { t } = useLocale();
22
+ const { t } = useI18n();
20
23
  const props = withDefaults(
21
24
  defineProps<{
22
25
  modelValue: string[] | number[] | string | number;
@@ -257,6 +260,7 @@ const renderLabel = ({ data }) => {
257
260
  min-width: 80px;
258
261
  max-width: calc(var(--table-width, 300) * 0.8px);
259
262
  --dropdown-item-justify: flex-start;
263
+ --dropdown-item-padding: 7px 12px;
260
264
  }
261
265
 
262
266
  .o-dropdown-item.is-active {
@@ -3,7 +3,7 @@ import { ref, onMounted, computed, nextTick, watch } from 'vue';
3
3
  import ClientOnly from '../common/ClientOnlyWrapper';
4
4
  import { useScreen } from '@opendesign-plus/composables';
5
5
  import { useI18n } from '@/i18n';
6
- import { ElButton, ElDialog, ElSwitch, ElIcon } from 'element-plus';
6
+ import { ElButton, ElDialog, ElSwitch, ElIcon, ElDivider } from 'element-plus';
7
7
  import { useVModel } from '@vueuse/core';
8
8
 
9
9
  const NOT_SIGNED = '0';
@@ -15,7 +15,6 @@ const COOKIE_KEY_EN = 'agreed-cookiepolicy-en';
15
15
 
16
16
  const props = defineProps<{
17
17
  visible?: boolean;
18
- enableGrid?: boolean;
19
18
  community: string;
20
19
  detailUrl: string;
21
20
  wrapper?: string | HTMLElement;
@@ -26,10 +25,18 @@ const emits = defineEmits<{
26
25
  (e: 'update:visible', value: boolean): void;
27
26
  }>();
28
27
 
29
- const { lePadV } = useScreen();
28
+ const { lePadV, isPhone } = useScreen();
30
29
  const { locale, t } = useI18n();
31
30
  const isZh = computed(() => locale.value === 'zh');
32
31
 
32
+ const cookieNoticeRef = ref<HTMLDivElement>();
33
+ const enableGrid = computed(() => {
34
+ if (cookieNoticeRef.value) {
35
+ return !!getComputedStyle(cookieNoticeRef.value!).getPropertyValue('--grid-content-width');
36
+ }
37
+ return false;
38
+ });
39
+
33
40
  const cookieKey = computed(() => (isZh.value ? COOKIE_KEY_ZH : COOKIE_KEY_EN));
34
41
 
35
42
  // 是否允许分析cookie
@@ -148,37 +155,70 @@ defineExpose({
148
155
  <template>
149
156
  <ClientOnly>
150
157
  <Teleport :to="wrapper || '#app'">
151
- <div v-if="visibleVmodel" class="cookie-notice">
158
+ <div ref="cookieNoticeRef" v-if="visibleVmodel" class="cookie-notice">
152
159
  <div class="cookie-notice-content">
153
160
  <div :type="locale" :class="{ 'cookie-notice-wrap-grid': enableGrid, 'cookie-notice-wrap': !enableGrid }">
154
- <div class="cookie-notice-left">
155
- <p v-if="isZh" class="cookie-desc" style="margin-top: 0">
156
- {{ t('cookie.desc') }}
157
- <a :href="detailUrl" target="_blank" rel="noopener noreferrer">
158
- {{ t('cookie.about') }}
159
- </a>
160
- </p>
161
- <template v-else>
162
- <p class="cookie-title">{{ t('cookie.title', [community]) }}</p>
163
- <p class="cookie-desc">
161
+ <div class="cookie-title">
162
+ <template v-if="isZh">
163
+ <el-icon style="transform: rotate(180deg); font-size: 24px; margin-right: 4px">
164
+ <svg style="width: 1em; height: 1em" xmlns="http://www.w3.org/2000/svg" version="1.1" width="24" height="24" viewBox="0 0 24 24">
165
+ <path fill="#002fa7" d="M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z" />
166
+ <path
167
+ fill="#fff"
168
+ d="M12 9.4c0.552 0 1-0.448 1-1s-0.448-1-1-1c-0.552 0-1 0.448-1 1s0.448 1 1 1zM12.492 10.943c-0.042-0.233-0.246-0.41-0.492-0.41-0.276 0-0.5 0.224-0.5 0.5v5.5l0.008 0.090c0.042 0.233 0.246 0.41 0.492 0.41 0.276 0 0.5-0.224 0.5-0.5v-5.5l-0.008-0.090z"
169
+ />
170
+ </svg>
171
+ </el-icon>
172
+ <p class="cookie-zh-title" style="margin-top: 0">
164
173
  {{ t('cookie.desc') }}
165
- <a :href="detailUrl" target="_blank" rel="noopener noreferrer">{{ t('cookie.about') }} </a>.
174
+ <a :href="detailUrl" target="_blank" rel="noopener noreferrer">
175
+ {{ t('cookie.about') }}
176
+ </a>
166
177
  </p>
167
178
  </template>
179
+ <p v-else class="cookie-en-title">{{ t('cookie.title', [community]) }}</p>
180
+ <el-icon class="cookie-notice-close" @click="toggleNoticeVisible(false)">
181
+ <slot name="close-icon">
182
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
183
+ <path
184
+ fill="currentColor"
185
+ d="M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"
186
+ />
187
+ </svg>
188
+ </slot>
189
+ </el-icon>
168
190
  </div>
169
- <div v-if="!isZh" class="cookie-notice-right">
170
- <el-button round type="primary" @click="acceptAll">{{ t('cookie.acceptAll') }}</el-button>
171
- <el-button round type="primary" @click="rejectAll">{{ t('cookie.rejectAll') }}</el-button>
172
- <el-button round type="primary" @click="toggleDlgVisible(true)">{{ t('cookie.manage') }}</el-button>
191
+ <div v-if="!isZh" class="cookie-en-content">
192
+ <p class="cookie-en-desc">
193
+ {{ t('cookie.desc') }}
194
+ <a :href="detailUrl" target="_blank" rel="noopener noreferrer">{{ t('cookie.about') }} </a>.
195
+ </p>
196
+ <div class="cookie-notice-right">
197
+ <el-button round type="primary" @click="acceptAll">{{ t('cookie.acceptAll') }}</el-button>
198
+ <el-button round type="primary" @click="rejectAll">{{ t('cookie.rejectAll') }}</el-button>
199
+ <el-button round type="primary" @click="toggleDlgVisible(true)">{{ t('cookie.manage') }}</el-button>
200
+ </div>
173
201
  </div>
174
- <el-icon class="cookie-notice-close" :type="locale" @click="toggleNoticeVisible(false)">
175
- <slot name="close-icon">
176
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z" /></svg>
177
- </slot>
178
- </el-icon>
179
202
  </div>
180
203
  </div>
181
- <el-dialog v-model="isDlgVisible" :width="lePadV ? '90%' : '50%'" :title="t('cookie.manage')" destroy-on-close @open="onDlgOpening">
204
+ <el-dialog
205
+ :show-close="false"
206
+ :class="{ 'cookie-dlg-bottom': lePadV, 'grid-width-dlg': enableGrid }"
207
+ v-model="isDlgVisible"
208
+ destroy-on-close
209
+ @open="onDlgOpening"
210
+ >
211
+ <template #header>
212
+ <div v-if="!lePadV" class="dlg-close-icon" @click="isDlgVisible = false">
213
+ <svg viewBox="0 0 24 24" class="o-icon-close">
214
+ <path
215
+ fill="currentColor"
216
+ d="M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"
217
+ />
218
+ </svg>
219
+ </div>
220
+ <span class="dlg-title">{{ t('cookie.manage') }}</span>
221
+ </template>
182
222
  <div class="cookie-dlg-content">
183
223
  <div class="content-item">
184
224
  <div class="item-header">
@@ -202,8 +242,15 @@ defineExpose({
202
242
  </div>
203
243
  </div>
204
244
  <template #footer>
205
- <el-button round type="primary" @click="handleSave" style="margin-right: 16px">{{ t('cookie.saveSetting') }}</el-button>
206
- <el-button round type="primary" @click="handleAllowAll">{{ t('cookie.acceptAll') }}</el-button>
245
+ <template v-if="lePadV">
246
+ <el-button type="text" @click="handleSave">{{ t('cookie.saveSetting') }}</el-button>
247
+ <el-divider direction="vertical" style="margin: 0 24px" />
248
+ <el-button type="text" @click="handleAllowAll">{{ t('cookie.acceptAll') }}</el-button>
249
+ </template>
250
+ <template v-else>
251
+ <el-button round type="primary" @click="handleSave">{{ t('cookie.saveSetting') }}</el-button>
252
+ <el-button round type="primary" @click="handleAllowAll">{{ t('cookie.acceptAll') }}</el-button>
253
+ </template>
207
254
  </template>
208
255
  </el-dialog>
209
256
  </div>
@@ -211,12 +258,28 @@ defineExpose({
211
258
  </ClientOnly>
212
259
  </template>
213
260
 
261
+ <style lang="scss">
262
+ .cookie-dlg-bottom {
263
+ margin: 0;
264
+ position: absolute;
265
+ bottom: 0;
266
+ left: 50%;
267
+ transform: translateX(-50%);
268
+ }
269
+ </style>
214
270
  <style lang="scss" scoped>
215
271
  .el-button {
216
272
  --el-button-bg-color: transparent;
273
+ --el-button-hover-bg-color: transparent;
274
+ --el-button-active-bg-color: transparent;
275
+
217
276
  --el-button-text-color: var(--o-color-primary1);
277
+ --el-button-hover-text-color: var(--o-color-primary2);
278
+ --el-button-active-text-color: var(--o-color-primary3);
279
+
218
280
  --el-button-border-color: var(--o-color-primary1);
219
- --el-button-hover-bg-color: var(--o-color-primary1);
281
+ --el-button-hover-border-color: var(--o-color-primary2);
282
+ --el-button-active-border-color: var(--o-color-primary3);
220
283
  }
221
284
 
222
285
  .cookie-notice {
@@ -225,17 +288,6 @@ defineExpose({
225
288
  z-index: 999;
226
289
  width: 100%;
227
290
  --el-color-primary: var(--o-color-primary1);
228
- .o-button {
229
- --o-button-font-size-mini: 14px;
230
- }
231
- .o-button + .o-button {
232
- margin-left: 16px;
233
-
234
- @media (max-width: 840px) {
235
- margin-left: 0;
236
- margin-top: 12px;
237
- }
238
- }
239
291
  }
240
292
 
241
293
  .cookie-notice-content {
@@ -246,167 +298,306 @@ defineExpose({
246
298
 
247
299
  .cookie-notice-wrap {
248
300
  position: relative;
249
- display: flex;
250
- justify-content: space-between;
251
301
  margin: 0 auto;
252
- padding: 24px var(--layout-content-padding);
302
+ padding: 16px var(--layout-content-padding);
253
303
  max-width: var(--layout-content-max-width);
304
+ @media (1680px >= width >= 1201px) {
305
+ padding: 12px var(--layout-content-padding);
306
+ }
307
+ @include respond-to('pad_h') {
308
+ padding: 8px var(--layout-content-padding);
309
+ }
310
+ @media (max-width: 840px) {
311
+ padding: 16px var(--layout-content-padding);
312
+ }
313
+ @include respond-to('phone') {
314
+ padding: 16px var(--layout-content-padding);
315
+ }
254
316
  &:not([type='zh']) {
255
317
  @media (max-width: 840px) {
256
318
  flex-direction: column;
257
- align-items: center;
258
319
  }
259
320
  }
260
321
  }
261
322
 
262
323
  .cookie-notice-wrap-grid {
263
- position: relative;
264
- display: flex;
265
- justify-content: space-between;
266
324
  width: var(--grid-content-width);
267
- padding: 24px 0;
325
+ padding: 16px 0;
268
326
  margin: 0 auto;
327
+ @media (1680px >= width >= 1201px) {
328
+ padding: 12px 0;
329
+ }
330
+ @include respond-to('pad_h') {
331
+ padding: 8px 0;
332
+ }
269
333
  @media (max-width: 840px) {
270
334
  padding: 16px 0;
271
- flex-direction: column;
272
- align-items: center;
335
+ }
336
+ @include respond-to('phone') {
337
+ padding: 16px 0;
338
+ }
339
+ &:not([type='zh']) {
340
+ @media (max-width: 840px) {
341
+ padding: 16px 0;
342
+ flex-direction: column;
343
+ }
273
344
  }
274
345
  }
275
346
 
276
- .cookie-notice-left {
277
- width: 60%;
278
-
279
- @media (max-width: 1100px) {
280
- width: 58%;
347
+ .cookie-title {
348
+ display: flex;
349
+ font-size: 16px;
350
+ line-height: calc(1em + 8px);
351
+ color: var(--o-color-info1);
352
+ font-weight: 500;
353
+ @media (max-width: 1680px) {
354
+ font-size: 14px;
281
355
  }
282
-
283
- @media (max-width: 840px) {
284
- width: 100%;
356
+ @include respond-to('<=pad_v') {
357
+ text-align: center;
285
358
  }
359
+ }
286
360
 
287
- .cookie-title {
288
- font-size: 16px;
289
- line-height: 28px;
290
- color: var(--o-color-info1);
291
- font-weight: 500;
292
- @media (max-width: 840px) {
293
- font-size: 16px;
294
- line-height: 24px;
295
- text-align: center;
296
- }
361
+ .cookie-en-title {
362
+ @include respond-to('<=pad_v') {
363
+ margin-left: auto;
297
364
  }
365
+ }
298
366
 
299
- .cookie-desc {
367
+ .cookie-zh-title {
368
+ font-size: 14px;
369
+ line-height: 22px;
370
+ margin-right: 8px;
371
+ text-align: start;
372
+ @include respond-to('<=pad_v') {
300
373
  font-size: 12px;
301
374
  line-height: 18px;
302
- color: var(--o-color-info2);
303
- margin-top: 8px;
304
375
  }
305
376
  }
306
377
 
307
- .cookie-notice-right {
378
+ .cookie-en-content {
308
379
  display: flex;
309
- align-items: center;
310
- margin-top: 12px;
311
-
312
- @media (max-width: 840px) {
313
- width: 100%;
380
+ width: 100%;
381
+ margin-top: 8px;
382
+ @include respond-to('<=pad_v') {
383
+ flex-direction: column;
314
384
  }
385
+ }
315
386
 
316
- @media (max-width: 840px) {
317
- flex-direction: column;
318
- align-items: center;
387
+ .cookie-en-desc {
388
+ font-size: 12px;
389
+ line-height: 18px;
390
+ color: var(--o-color-info2);
391
+ @media (min-width: 1681px) {
392
+ margin-right: 48px;
393
+ }
394
+ @media (1680px >= width >= 1201px) {
395
+ margin-right: 40px;
396
+ }
397
+ @include respond-to('pad') {
398
+ margin-right: 24px;
399
+ }
400
+ @include respond-to('<=pad_v') {
401
+ margin: 0;
319
402
  }
403
+ }
404
+
405
+ .cookie-notice-right {
406
+ display: flex;
407
+ margin-left: auto;
320
408
 
321
409
  .el-button:not(:first-child) {
322
410
  margin-left: 16px;
411
+ @media (1680px >= width >= 1201px) {
412
+ margin-left: 12px;
413
+ }
414
+ @include respond-to('pad_h') {
415
+ margin-left: 8px;
416
+ }
417
+ @media (min-width: 841px) {
418
+ margin-left: 12px;
419
+ }
323
420
  }
324
421
 
325
- @media (max-width: 840px) {
422
+ @include respond-to('<=pad_v') {
423
+ margin-top: 16px;
424
+ width: 100%;
425
+ display: grid;
426
+ grid-template-columns: 1fr 1fr;
427
+ grid-template-rows: auto auto;
428
+ gap: 12px;
429
+
326
430
  .el-button {
327
- align-self: stretch;
328
- &:not(:first-child) {
329
- margin-top: 12px;
330
- margin-left: 0;
431
+ margin: 0;
432
+ &:nth-child(1) {
433
+ grid-column: 1;
434
+ grid-row: 1;
435
+ }
436
+ &:nth-child(2) {
437
+ grid-column: 2;
438
+ grid-row: 1;
439
+ }
440
+ &:nth-child(3) {
441
+ grid-column: 1 / span 2;
442
+ grid-row: 2;
331
443
  }
332
444
  }
333
445
  }
334
446
  }
335
447
 
336
448
  .cookie-notice-close {
337
- &[type='en'] {
338
- position: absolute;
339
- top: 16px;
340
- right: var(--layout-content-padding);
341
- transform-origin: center;
342
- }
449
+ display: block;
450
+ overflow: visible !important;
451
+ margin-left: auto;
343
452
  cursor: pointer;
344
453
  color: var(--o-color-info1);
345
- font-size: 20px;
454
+ font-size: 24px;
346
455
  &:hover {
347
456
  color: var(--o-color-primary2);
348
457
  }
349
- @media (max-width: 840px) {
350
- font-size: 14px;
351
- }
352
458
  @include x-svg-hover;
353
459
  }
354
460
 
355
461
  .cookie-dlg-content {
356
- .content-item + .content-item {
357
- margin-top: 24px;
358
- }
359
-
360
462
  .content-item {
463
+ margin-top: 24px;
464
+ @media (1680px >= width >= 1201px) {
465
+ margin-top: 16px;
466
+ }
467
+ @include respond-to('<=pad') {
468
+ margin-top: 12px;
469
+ }
470
+ &:nth-child(2) {
471
+ .item-detail {
472
+ font-size: 16px !important;
473
+ line-height: calc(1em + 8px);
474
+ }
475
+ }
361
476
  .item-header {
362
477
  display: flex;
363
478
  align-items: center;
479
+ justify-content: space-between;
364
480
  .item-title {
365
- font-size: 18px;
366
- line-height: 32px;
481
+ font-size: 20px;
482
+ line-height: calc(1em + 8px);
367
483
  color: var(--o-color-info1);
368
484
  font-weight: 500;
485
+ @media (1680px >= width >= 1201px) {
486
+ font-size: 18px;
487
+ }
488
+ @include respond-to('<=pad') {
489
+ font-size: 16px;
490
+ }
369
491
  }
370
492
 
371
493
  .item-extra {
372
494
  font-size: 14px;
373
- line-height: 22px;
374
495
  color: var(--o-color-info3);
375
496
  margin-left: 24px;
497
+ @include respond-to('<=pad') {
498
+ font-size: 12px;
499
+ }
376
500
  }
377
501
  }
378
-
379
502
  .item-detail {
380
503
  font-size: 16px;
381
- line-height: 28px;
504
+ line-height: calc(1em + 8px);
382
505
  color: var(--o-color-info2);
383
- margin-top: 12px;
384
- @media (max-width: 840px) {
506
+ margin-top: 16px;
507
+ @media (max-width: 1680px) {
508
+ margin-top: 12px;
385
509
  font-size: 14px;
386
- line-height: 21px;
510
+ }
511
+ @include respond-to('<=pad') {
387
512
  margin-top: 8px;
388
513
  }
514
+ @media (max-width: 840px) {
515
+ margin-top: 8px;
516
+ }
517
+ }
518
+ }
519
+ }
520
+
521
+ .dlg-title {
522
+ font-size: 24px;
523
+ line-height: calc(1em + 8px);
524
+ @media (1680px >= width >= 1201px) {
525
+ font-size: 20px;
526
+ }
527
+ @include respond-to('<=pad') {
528
+ font-size: 18px;
529
+ }
530
+ }
531
+
532
+ .dlg-close-icon {
533
+ font-size: 24px;
534
+ position: absolute;
535
+ top: 8px;
536
+ right: 8px;
537
+ color: var(--o-color-info1);
538
+ cursor: pointer;
539
+ .o-icon-close {
540
+ width: 1em;
541
+ height: 1em;
542
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
543
+ }
544
+ @include hover {
545
+ color: var(--o-color-primary2);
546
+ .o-icon-close {
547
+ transform: rotate(180deg);
389
548
  }
390
549
  }
391
550
  }
392
551
 
393
552
  :deep(.el-dialog) {
394
- .el-dialog__header {
395
- text-align: center;
553
+ @include respond-to('<=pad_v') {
554
+ --el-dialog-width: 100vw;
396
555
  }
397
- .el-dialog__title {
398
- font-size: 32px;
399
- @media (max-width: 840px) {
400
- font-size: 22px;
556
+ &.grid-width-dlg {
557
+ @include respond-to('>pad') {
558
+ --el-dialog-width: var(--grid-14);
401
559
  }
560
+ @include respond-to('pad_h') {
561
+ --el-dialog-width: var(--grid-8);
562
+ }
563
+ }
564
+ }
565
+
566
+ :deep(.el-dialog) {
567
+ --el-bg-color: var(--o-color-control-light);
568
+ --el-dialog-padding-primary: 32px;
569
+ @include respond-to('laptop') {
570
+ --el-dialog-padding-primary: 24px;
571
+ }
572
+ @include respond-to('pad_h') {
573
+ --el-dialog-padding-primary: 16px;
574
+ }
575
+ @include respond-to('phone') {
576
+ --el-dialog-padding-primary: 16px 24px;
577
+ }
578
+ .el-dialog__header {
579
+ text-align: center;
580
+ padding: 0;
402
581
  }
403
582
  .el-dialog__footer {
404
583
  text-align: center;
405
- @media (max-width: 840px) {
406
- .o-button {
407
- margin: 0 8px;
584
+ padding-top: 0;
585
+ margin-top: 24px;
586
+ @media (1680px >= width >= 1201px) {
587
+ margin-top: 16px;
588
+ }
589
+ @include respond-to('<=pad_h') {
590
+ margin-top: 12px;
591
+ }
592
+ .el-button+.el-button {
593
+ margin-left: 16px;
594
+ @media (1680px >= width >= 1201px) {
595
+ margin-left: 12px;
408
596
  }
409
597
  }
598
+ .el-button--text {
599
+ color: var(--o-color-info1);
600
+ }
410
601
  }
411
602
  }
412
603
  </style>
@@ -214,12 +214,17 @@ defineProps<EventsApplyPropsT>();
214
214
  .o-icon {
215
215
  font-size: 16px;
216
216
  margin-right: var(--o-gap-4);
217
+ color: #fff;
217
218
  @include respond-to('pad_v') {
218
219
  margin-right: var(--o-gap-2);
219
220
  }
220
221
  @include respond-to('phone') {
221
222
  margin-right: var(--o-gap-2);
222
223
  }
224
+
225
+ svg path {
226
+ fill: currentColor;
227
+ }
223
228
  }
224
229
 
225
230
  span {
@@ -352,6 +357,10 @@ defineProps<EventsApplyPropsT>();
352
357
  padding-right: var(--o-gap-4);
353
358
  }
354
359
 
360
+ .step-desc {
361
+ padding-bottom: var(--o-gap-5);
362
+ }
363
+
355
364
  .img-wrapper {
356
365
  width: 226px;
357
366
  height: 116px;
@@ -366,6 +375,13 @@ defineProps<EventsApplyPropsT>();
366
375
  }
367
376
  }
368
377
  }
378
+
379
+ &.step-5 {
380
+
381
+ .step-desc {
382
+ padding-bottom: var(--o-gap-5);
383
+ }
384
+ }
369
385
  }
370
386
 
371
387
  // 卡片1: 第1行第1列
@@ -281,6 +281,7 @@ const list = computed(() => {
281
281
  position: absolute;
282
282
  top: var(--o-gap-3);
283
283
  right: var(--o-gap-3);
284
+ border-radius: var(--o-radius-xs);
284
285
  @include respond-to('<=pad_v') {
285
286
  --tag-padding: var(--o-gap-1);
286
287
  }
@@ -341,6 +342,8 @@ const list = computed(() => {
341
342
 
342
343
  .o-pagination {
343
344
  margin-top: var(--o-gap-6);
345
+ --pagination-item-bg-color-current: var(--o-color-primary1);
346
+ --pagination-item-color-current: #fff;
344
347
 
345
348
  .o-pagination-wrap {
346
349
  justify-content: flex-end;