@opendesign-plus/components 0.0.1-rc.22 → 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.
Files changed (65) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +3 -3
  3. package/dist/components/OHeaderSearch.vue.d.ts +58 -14
  4. package/dist/components/OThemeSwitcher.vue.d.ts +2 -5
  5. package/dist/components/activity/{OMyActivityCalendar.vue.d.ts → OActivityMyCalendar.vue.d.ts} +86 -24
  6. package/dist/components/activity/index.d.ts +45 -14
  7. package/dist/components/meeting/{OMyMeetingCalendar.vue.d.ts → OMeetingMyCalendar.vue.d.ts} +86 -24
  8. package/dist/components/meeting/index.d.ts +15 -301
  9. package/dist/components.cjs.js +36 -36
  10. package/dist/components.css +1 -1
  11. package/dist/components.es.js +7156 -7126
  12. package/package.json +3 -3
  13. package/src/assets/styles/element-plus.scss +204 -0
  14. package/src/components/OBanner.vue +18 -18
  15. package/src/components/OCookieNotice.vue +21 -21
  16. package/src/components/OFooter.vue +18 -17
  17. package/src/components/OHeaderSearch.vue +19 -19
  18. package/src/components/OHeaderUser.vue +3 -2
  19. package/src/components/OSection.vue +4 -4
  20. package/src/components/OThemeSwitcher.vue +51 -27
  21. package/src/components/activity/OActivityApproval.vue +14 -10
  22. package/src/components/activity/OActivityForm.vue +7 -5
  23. package/src/components/activity/{OMyActivityCalendar.vue → OActivityMyCalendar.vue} +69 -47
  24. package/src/components/activity/config.ts +1 -1
  25. package/src/components/activity/index.ts +4 -4
  26. package/src/components/common/ContentWrapper.vue +3 -3
  27. package/src/components/element-plus/OElCookieNotice.vue +26 -26
  28. package/src/components/events/OEventsApply.vue +46 -45
  29. package/src/components/events/OEventsCalendar.vue +21 -19
  30. package/src/components/events/OEventsList.vue +22 -20
  31. package/src/components/header/OHeader.vue +2 -2
  32. package/src/components/header/components/HeaderContent.vue +60 -60
  33. package/src/components/header/components/HeaderNav.vue +4 -4
  34. package/src/components/header/components/HeaderNavMobile.vue +3 -3
  35. package/src/components/meeting/OMeetingCalendar.vue +42 -39
  36. package/src/components/meeting/OMeetingForm.vue +32 -26
  37. package/src/components/meeting/{OMyMeetingCalendar.vue → OMeetingMyCalendar.vue} +97 -62
  38. package/src/components/meeting/OMeetingPlayback.vue +36 -12
  39. package/src/components/meeting/{OSigMeetingCalendar.vue → OMeetingSigCalendar.vue} +9 -6
  40. package/src/components/meeting/components/OMeetingCalendarList.vue +12 -12
  41. package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
  42. package/src/components/meeting/components/OMeetingDetail.vue +2 -2
  43. package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +11 -10
  44. package/src/components/meeting/components/OMeetingPlaybackVideo.vue +11 -11
  45. package/src/components/meeting/components/{OSigMeetingAside.vue → OMeetingSigAside.vue} +7 -7
  46. package/src/components/meeting/config.ts +1 -1
  47. package/src/components/meeting/index.ts +6 -6
  48. package/src/draft/Banner.vue +6 -6
  49. package/src/draft/ButtonCards.vue +1 -1
  50. package/src/draft/Feature.vue +6 -6
  51. package/src/draft/Footer.vue +29 -22
  52. package/src/draft/HorizontalAnchor.vue +4 -4
  53. package/src/draft/ItemSwiper.vue +2 -2
  54. package/src/draft/Logo.vue +3 -3
  55. package/src/draft/LogoCard.vue +2 -2
  56. package/src/draft/MultiCard.vue +1 -1
  57. package/src/draft/MultiIconCard.vue +1 -1
  58. package/src/draft/OInfoCard.vue +4 -4
  59. package/src/draft/Section.vue +4 -4
  60. package/src/draft/SingleTabCard.vue +1 -1
  61. package/src/draft/SliderCard.vue +4 -3
  62. package/src/i18n/en.ts +2 -2
  63. package/vite.config.ts +2 -2
  64. /package/dist/components/meeting/{OSigMeetingCalendar.vue.d.ts → OMeetingSigCalendar.vue.d.ts} +0 -0
  65. /package/dist/components/meeting/components/{OSigMeetingAside.vue.d.ts → OMeetingSigAside.vue.d.ts} +0 -0
@@ -21,7 +21,6 @@ import dayjs from 'dayjs';
21
21
  import { useDebounceFn } from '@vueuse/core';
22
22
 
23
23
  import IconCopy from '~icons/meeting/icon-copy.svg';
24
- import IconEvent from '~icons/meeting/icon-event.svg';
25
24
 
26
25
  import type { ActivityItemT, MyActivityCalendarPropsT, ParamsItemT } from './types';
27
26
  import { useScreen } from '@opendesign-plus/composables';
@@ -30,10 +29,12 @@ import { useActivityConfig } from './composables/useActivityConfig';
30
29
  import { CalendarDataType, MeetingItemT, PageParamsT } from '../meeting/types';
31
30
  import OMeetingDetail from '@/components/meeting/components/OMeetingDetail.vue';
32
31
  import { useI18n, Locales } from '@/i18n';
32
+ import { useMeetingConfig } from '@/components/meeting/composables/useMeetingConfig.ts';
33
33
 
34
34
  const { t, locale } = useI18n();
35
35
  const isZh = computed(() => locale.value === Locales.ZH);
36
36
  const { statusMap, activityTypeMap } = useActivityConfig();
37
+ const { getConfig } = useMeetingConfig();
37
38
 
38
39
  const formatMonthYear = (date: string | Date) => {
39
40
  const d = dayjs(date || new Date());
@@ -545,6 +546,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
545
546
  clickable: allDateList.includes(data.day),
546
547
  approved: calcIfApproved(data.day),
547
548
  }"
549
+ :style="{
550
+ '--dot-bg': `${getConfig(CalendarDataType.EVENTS, 'color')}`
551
+ }"
548
552
  >
549
553
  <div class="date-cell-text">
550
554
  {{ Number(data.day.split('-')[2]) }}
@@ -602,9 +606,14 @@ const deleteActions = computed<DialogActionT[]>(() => {
602
606
  >
603
607
  <template #title>
604
608
  <div class="item-header-left">
605
- <div class="act-icon">
609
+ <div
610
+ class="act-icon"
611
+ :style="{
612
+ backgroundColor: `${getConfig(CalendarDataType.EVENTS, 'color')}`
613
+ }"
614
+ >
606
615
  <OIcon>
607
- <IconEvent />
616
+ <component :is="getConfig(CalendarDataType.EVENTS, 'icon')" />
608
617
  </OIcon>
609
618
  </div>
610
619
  <div class="header-info">
@@ -634,7 +643,12 @@ const deleteActions = computed<DialogActionT[]>(() => {
634
643
  </div>
635
644
  <div class="item-header-right"
636
645
  v-if="row.content_url && !row.is_delete && [3,4,5,6].includes(row.status)">
637
- <OLink v-if="row.content_url" :href="row.content_url" target="_blank" rel="noopener noreferrer">
646
+ <OLink
647
+ :hover-underline="false"
648
+ v-if="row.content_url"
649
+ :href="row.content_url"
650
+ target="_blank"
651
+ rel="noopener noreferrer">
638
652
  {{ t('meeting.activityDetail') }}
639
653
  <template #suffix>
640
654
  <OIcon>
@@ -643,6 +657,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
643
657
  </template>
644
658
  </OLink>
645
659
  <OLink
660
+ :hover-underline="false"
646
661
  v-if="
647
662
  row.register_url && (
648
663
  row.status === 3 ||
@@ -735,6 +750,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
735
750
  <style lang="scss">
736
751
 
737
752
  .o-my-activity-calendar {
753
+ --activity-card-radius: var(--o-radius-xs);
754
+ --activity-cell-radius: var(--o-radius-xs);
738
755
  height: 100%;
739
756
  display: flex;
740
757
  flex-direction: column;
@@ -763,11 +780,11 @@ const deleteActions = computed<DialogActionT[]>(() => {
763
780
  gap: var(--o-gap-4);
764
781
  height: 100%;
765
782
  --phone-padding-top: 0;
766
- @include respond-to('pad_v') {
783
+ @include respond('pad_v') {
767
784
  flex-direction: column;
768
785
  gap: var(--o-gap-4);
769
786
  }
770
- @include respond-to('phone') {
787
+ @include respond('phone') {
771
788
  flex-direction: column;
772
789
  gap: var(--o-gap-3);
773
790
  --phone-padding-top: calc(var(--o-gap-5) + var(--o-gap-3) + var(--o-gap-3));
@@ -808,7 +825,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
808
825
  }
809
826
  }
810
827
 
811
- @include respond-to('phone') {
828
+ @include respond('phone') {
812
829
  padding-top: var(--o-gap-7);
813
830
  background-color: var(--o-color-ubmc-bg);
814
831
  padding-bottom: var(--o-gap-4);
@@ -826,7 +843,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
826
843
  .left-calendar {
827
844
  width: 336px;
828
845
  flex-shrink: 0;
829
- @include respond-to('pad_h') {
846
+ @include respond('pad_h') {
830
847
  .el-calendar {
831
848
  .el-calendar__body {
832
849
  padding-left: 12px;
@@ -844,18 +861,18 @@ const deleteActions = computed<DialogActionT[]>(() => {
844
861
  }
845
862
  }
846
863
  }
847
- @include respond-to('pad_v') {
864
+ @include respond('pad_v') {
848
865
  width: 100%;
849
866
  }
850
- @include respond-to('phone') {
867
+ @include respond('phone') {
851
868
  display: none;
852
869
  }
853
870
 
854
871
  .el-calendar {
855
872
  min-height: 460px;
856
- height: calc(100% - 54px);
873
+ height: 100%;
857
874
  background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
858
- border-radius: var(--o-radius-xs);
875
+ border-radius: var(--activity-card-radius);
859
876
 
860
877
  .el-calendar__header {
861
878
  border-bottom: 1px solid var(--o-color-control4);
@@ -884,6 +901,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
884
901
 
885
902
  .el-calendar__body {
886
903
  .el-calendar-table {
904
+ display: table;
887
905
  width: 100%;
888
906
 
889
907
  th {
@@ -929,7 +947,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
929
947
  .date-cell-text {
930
948
  font-size: 14px;
931
949
  line-height: 36px;
932
- border-radius: var(--o-radius-xs);
950
+ border-radius: var(--activity-cell-radius);
933
951
  background-color: var(--o-color-control2-light);
934
952
  border: 1px solid transparent;
935
953
  }
@@ -977,19 +995,19 @@ const deleteActions = computed<DialogActionT[]>(() => {
977
995
 
978
996
  &.clickable {
979
997
  &::after {
980
- background-color: rgb(var(--o-mixedgray-6));
998
+ background-color: rgb(var(--o-grey-6));
981
999
  }
982
1000
 
983
1001
  &.approved::after {
984
- background-color: rgba(var(--o-cyan-6));
1002
+ background-color: var(--dot-bg);
985
1003
  }
986
1004
 
987
1005
  &.expired::after {
988
- background-color: rgb(var(--o-mixedgray-6));
1006
+ background-color: rgb(var(--o-grey-6));
989
1007
  }
990
1008
 
991
1009
  &.all-deleted::after {
992
- background-color: rgb(var(--o-mixedgray-6));
1010
+ background-color: rgb(var(--o-grey-6));
993
1011
  }
994
1012
  }
995
1013
  }
@@ -1008,7 +1026,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1008
1026
  flex-grow: 1;
1009
1027
  background-color: var(--o-color-fill2);
1010
1028
 
1011
- @include respond-to('phone') {
1029
+ @include respond('phone') {
1012
1030
  margin-top: calc(var(--phone-padding-top) - var(--o-gap-4));
1013
1031
  }
1014
1032
 
@@ -1028,7 +1046,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1028
1046
  .scroller-container {
1029
1047
  height: 100%;
1030
1048
  max-height: calc(var(--layout-left-height, 900px) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
1031
- @include respond-to('phone') {
1049
+ @include respond('phone') {
1032
1050
  max-height: fit-content;
1033
1051
  }
1034
1052
 
@@ -1040,7 +1058,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1040
1058
  flex-grow: 1;
1041
1059
  }
1042
1060
 
1043
- @include respond-to('phone') {
1061
+ @include respond('phone') {
1044
1062
  padding-left: var(--o-gap-2);
1045
1063
  }
1046
1064
 
@@ -1069,13 +1087,13 @@ const deleteActions = computed<DialogActionT[]>(() => {
1069
1087
  width: 16px;
1070
1088
  height: 26px;
1071
1089
  position: relative;
1072
- @include respond-to('laptop') {
1090
+ @include respond('laptop') {
1073
1091
  height: 24px;
1074
1092
  }
1075
- @include respond-to('pad_h') {
1093
+ @include respond('pad_h') {
1076
1094
  height: 22px;
1077
1095
  }
1078
- @include respond-to('<=pad_v') {
1096
+ @include respond('<=pad_v') {
1079
1097
  height: 22px;
1080
1098
  }
1081
1099
 
@@ -1128,7 +1146,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1128
1146
  margin-bottom: var(--o-gap-2);
1129
1147
  color: var(--o-color-info1);
1130
1148
  @include text2;
1131
- @include respond-to('phone') {
1149
+ @include respond('phone') {
1132
1150
  padding-left: var(--o-gap-5);
1133
1151
  }
1134
1152
 
@@ -1143,7 +1161,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1143
1161
  .list-body {
1144
1162
  height: 100%;
1145
1163
 
1146
- @include respond-to('phone') {
1164
+ @include respond('phone') {
1147
1165
  height: fit-content;
1148
1166
  padding: var(--o-gap-4) !important;
1149
1167
  }
@@ -1158,7 +1176,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1158
1176
  @include hover {
1159
1177
  --btn-color: var(--o-color-primary2);
1160
1178
  }
1161
- @include respond-to('phone') {
1179
+ @include respond('phone') {
1162
1180
  display: none;
1163
1181
  }
1164
1182
 
@@ -1194,49 +1212,49 @@ const deleteActions = computed<DialogActionT[]>(() => {
1194
1212
  }
1195
1213
 
1196
1214
  .height-placeholder {
1197
- height: 0;
1198
- transition: margin var(--o-easing-standard) var(--o-duration-s);
1199
- }
1200
-
1201
- .o-collapse-item-expanded + .height-placeholder {
1202
1215
  height: var(--o-gap-4);
1203
1216
  }
1204
1217
 
1205
1218
  .o-collapse-item {
1206
1219
  padding: var(--o-gap-4) var(--o-gap-5);
1220
+ padding-bottom: calc(var(--o-gap-5) - var(--o-gap-4));
1207
1221
  border-top: none;
1208
- border-radius: var(--o-radius-xs);
1222
+ border-radius: var(--activity-card-radius);
1209
1223
  transition: margin var(--o-easing-standard) var(--o-duration-s);
1210
1224
  --copy-display: none;
1211
1225
  --icon-size: 24px;
1212
- @include respond-to('<=pad_v') {
1226
+ @include respond('<=pad_v') {
1213
1227
  padding: var(--o-gap-3) var(--o-gap-4);
1214
1228
  }
1215
1229
 
1216
1230
  &:hover {
1217
- @include respond-to('>pad_v') {
1231
+ .title-text {
1232
+ color: var(--o-color-primary1);
1233
+ }
1234
+ @include respond('>pad_v') {
1218
1235
  --copy-display: inline-flex;
1219
1236
  }
1220
1237
  }
1221
1238
 
1222
- @include respond-to('phone') {
1239
+ @include respond('phone') {
1223
1240
  --icon-size: 20px;
1224
1241
  }
1225
1242
 
1226
1243
  &.o-collapse-item-expanded {
1227
- @include respond-to('<=pad_v') {
1244
+ border-bottom: none;
1245
+ background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
1246
+ @include respond('<=pad_v') {
1228
1247
  --copy-display: inline-flex;
1229
1248
  }
1230
- }
1231
-
1232
1249
 
1233
- &.o-collapse-item-expanded {
1234
- background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
1250
+ .o-collapse-item-header {
1251
+ border-bottom: 1px solid var(--o-color-control4);
1252
+ }
1235
1253
  }
1236
1254
  }
1237
1255
 
1238
1256
  .o-collapse-item-header {
1239
- border-bottom: 1px solid var(--o-color-control4);
1257
+ border-bottom: none;
1240
1258
  padding-top: 0;
1241
1259
  padding-bottom: var(--o-gap-4);
1242
1260
  display: flex;
@@ -1248,7 +1266,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1248
1266
  position: relative;
1249
1267
  top: 4px;
1250
1268
  flex-shrink: 0;
1251
- @include respond-to('phone') {
1269
+ @include respond('phone') {
1252
1270
  position: absolute;
1253
1271
  right: 0;
1254
1272
  width: 20px;
@@ -1275,7 +1293,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1275
1293
  gap: var(--o-gap-3);
1276
1294
  width: 100%;
1277
1295
  padding-right: 48px;
1278
- @include respond-to('phone') {
1296
+ @include respond('phone') {
1279
1297
  flex-grow: 1;
1280
1298
  width: 100%;
1281
1299
  align-self: stretch;
@@ -1325,7 +1343,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1325
1343
 
1326
1344
  .o-tag {
1327
1345
  margin-left: 8px;
1328
- --tag-radius: 4px;
1346
+ --tag-radius: var(--activity-cell-radius);
1329
1347
  font-weight: 500;
1330
1348
  padding: 0 8px;
1331
1349
  height: 24px;
@@ -1368,6 +1386,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1368
1386
  color: var(--o-color-info3);
1369
1387
  display: flex;
1370
1388
  align-items: center;
1389
+ font-weight: 400;
1371
1390
  @include tip1;
1372
1391
 
1373
1392
  .date-range {
@@ -1386,6 +1405,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1386
1405
  gap: var(--o-gap-4);
1387
1406
  margin-top: var(--o-gap-2);
1388
1407
  width: 100%;
1408
+ font-weight: 400;
1389
1409
 
1390
1410
  .o-link {
1391
1411
  font-size: 14px;
@@ -1409,7 +1429,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
1409
1429
  height: 18px;
1410
1430
  width: 18px;
1411
1431
  display: var(--copy-display);
1412
- @include respond-to('phone') {
1432
+ color: var(--o-color-info1);
1433
+ @include respond('phone') {
1413
1434
  bottom: var(--o-gap-2);
1414
1435
  transform: revert;
1415
1436
  top: revert;
@@ -1435,7 +1456,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1435
1456
 
1436
1457
  .activity-detail {
1437
1458
  padding-left: calc(var(--o-gap-3) + var(--icon-size));
1438
- @include respond-to('phone') {
1459
+ @include respond('phone') {
1439
1460
  padding-left: 0;
1440
1461
  }
1441
1462
 
@@ -1483,8 +1504,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
1483
1504
 
1484
1505
  <style lang="scss">
1485
1506
  .handle-dialog-active {
1507
+ --activity-card-radius: var(--o-radius-xs);
1486
1508
  width: 450px;
1487
- --dlg-radius: var(--o-radius-xs);
1509
+ --dlg-radius: var(--activity-card-radius);
1488
1510
 
1489
1511
  .o-dlg-header {
1490
1512
  margin-bottom: var(--o-gap-5);
@@ -1 +1 @@
1
- export const WEBSITE_REGEXP = /^http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w ./?%&=-]*)?$/;
1
+ export const WEBSITE_REGEXP = /^https?:\/\/\S+/;
@@ -1,6 +1,6 @@
1
1
  import _OActivityForm from './OActivityForm.vue';
2
2
  import _OActivityApproval from './OActivityApproval.vue';
3
- import _OMyActivityCalendar from './OMyActivityCalendar.vue';
3
+ import _OActivityMyCalendar from './OActivityMyCalendar.vue';
4
4
  import type { App } from 'vue';
5
5
 
6
6
 
@@ -14,11 +14,11 @@ const OActivityApproval = Object.assign(_OActivityApproval, {
14
14
  app.component('OActivityApproval', _OActivityApproval);
15
15
  },
16
16
  });
17
- const OMyActivityCalendar = Object.assign(_OMyActivityCalendar, {
17
+ const OActivityMyCalendar = Object.assign(_OActivityMyCalendar, {
18
18
  install(app: App) {
19
- app.component('OMyActivityCalendar', _OMyActivityCalendar);
19
+ app.component('OActivityMyCalendar', OActivityMyCalendar);
20
20
  },
21
21
  });
22
22
 
23
- export { OActivityForm, OActivityApproval, OMyActivityCalendar };
23
+ export { OActivityForm, OActivityApproval, OActivityMyCalendar };
24
24
  export * from './types';
@@ -59,16 +59,16 @@ const paddingBottom = computed(() => {
59
59
  --layout-content-padding: 64px;
60
60
  --layout-header-height: 80px;
61
61
 
62
- @include respond-to('<=laptop') {
62
+ @include respond('<=laptop') {
63
63
  --layout-content-max-width: 100%;
64
64
  --layout-content-padding: 40px;
65
65
  }
66
66
 
67
- @include respond-to('<=pad') {
67
+ @include respond('<=pad') {
68
68
  --layout-content-padding: 32px;
69
69
  }
70
70
 
71
- @include respond-to('phone') {
71
+ @include respond('phone') {
72
72
  --layout-content-padding: 24px;
73
73
  }
74
74
 
@@ -291,7 +291,7 @@ defineExpose({
291
291
  }
292
292
 
293
293
  .cookie-notice-content {
294
- background-color: rgba(var(--o-mixedgray-1), 0.9);
294
+ background-color: rgba(var(--o-grey-1), 0.9);
295
295
  backdrop-filter: blur(5px);
296
296
  box-shadow: var(--o-shadow-1);
297
297
  }
@@ -304,13 +304,13 @@ defineExpose({
304
304
  @media (1680px >= width >= 1201px) {
305
305
  padding: 12px var(--layout-content-padding);
306
306
  }
307
- @include respond-to('pad_h') {
307
+ @include respond('pad_h') {
308
308
  padding: 8px var(--layout-content-padding);
309
309
  }
310
310
  @media (max-width: 840px) {
311
311
  padding: 16px var(--layout-content-padding);
312
312
  }
313
- @include respond-to('phone') {
313
+ @include respond('phone') {
314
314
  padding: 16px var(--layout-content-padding);
315
315
  }
316
316
  &:not([type='zh']) {
@@ -327,13 +327,13 @@ defineExpose({
327
327
  @media (1680px >= width >= 1201px) {
328
328
  padding: 12px 0;
329
329
  }
330
- @include respond-to('pad_h') {
330
+ @include respond('pad_h') {
331
331
  padding: 8px 0;
332
332
  }
333
333
  @media (max-width: 840px) {
334
334
  padding: 16px 0;
335
335
  }
336
- @include respond-to('phone') {
336
+ @include respond('phone') {
337
337
  padding: 16px 0;
338
338
  }
339
339
  &:not([type='zh']) {
@@ -353,13 +353,13 @@ defineExpose({
353
353
  @media (max-width: 1680px) {
354
354
  font-size: 14px;
355
355
  }
356
- @include respond-to('<=pad_v') {
356
+ @include respond('<=pad_v') {
357
357
  text-align: center;
358
358
  }
359
359
  }
360
360
 
361
361
  .cookie-en-title {
362
- @include respond-to('<=pad_v') {
362
+ @include respond('<=pad_v') {
363
363
  margin-left: auto;
364
364
  }
365
365
  }
@@ -369,7 +369,7 @@ defineExpose({
369
369
  line-height: 22px;
370
370
  margin-right: 8px;
371
371
  text-align: start;
372
- @include respond-to('<=pad_v') {
372
+ @include respond('<=pad_v') {
373
373
  font-size: 12px;
374
374
  line-height: 18px;
375
375
  }
@@ -379,7 +379,7 @@ defineExpose({
379
379
  display: flex;
380
380
  width: 100%;
381
381
  margin-top: 8px;
382
- @include respond-to('<=pad_v') {
382
+ @include respond('<=pad_v') {
383
383
  flex-direction: column;
384
384
  }
385
385
  }
@@ -394,10 +394,10 @@ defineExpose({
394
394
  @media (1680px >= width >= 1201px) {
395
395
  margin-right: 40px;
396
396
  }
397
- @include respond-to('pad') {
397
+ @include respond('pad') {
398
398
  margin-right: 24px;
399
399
  }
400
- @include respond-to('<=pad_v') {
400
+ @include respond('<=pad_v') {
401
401
  margin: 0;
402
402
  }
403
403
  }
@@ -411,7 +411,7 @@ defineExpose({
411
411
  @media (1680px >= width >= 1201px) {
412
412
  margin-left: 12px;
413
413
  }
414
- @include respond-to('pad_h') {
414
+ @include respond('pad_h') {
415
415
  margin-left: 8px;
416
416
  }
417
417
  @media (min-width: 841px) {
@@ -419,7 +419,7 @@ defineExpose({
419
419
  }
420
420
  }
421
421
 
422
- @include respond-to('<=pad_v') {
422
+ @include respond('<=pad_v') {
423
423
  margin-top: 16px;
424
424
  width: 100%;
425
425
  display: grid;
@@ -464,7 +464,7 @@ defineExpose({
464
464
  @media (1680px >= width >= 1201px) {
465
465
  margin-top: 16px;
466
466
  }
467
- @include respond-to('<=pad') {
467
+ @include respond('<=pad') {
468
468
  margin-top: 12px;
469
469
  }
470
470
  &:nth-child(2) {
@@ -485,7 +485,7 @@ defineExpose({
485
485
  @media (1680px >= width >= 1201px) {
486
486
  font-size: 18px;
487
487
  }
488
- @include respond-to('<=pad') {
488
+ @include respond('<=pad') {
489
489
  font-size: 16px;
490
490
  }
491
491
  }
@@ -494,7 +494,7 @@ defineExpose({
494
494
  font-size: 14px;
495
495
  color: var(--o-color-info3);
496
496
  margin-left: 24px;
497
- @include respond-to('<=pad') {
497
+ @include respond('<=pad') {
498
498
  font-size: 12px;
499
499
  }
500
500
  }
@@ -508,7 +508,7 @@ defineExpose({
508
508
  margin-top: 12px;
509
509
  font-size: 14px;
510
510
  }
511
- @include respond-to('<=pad') {
511
+ @include respond('<=pad') {
512
512
  margin-top: 8px;
513
513
  }
514
514
  @media (max-width: 840px) {
@@ -524,7 +524,7 @@ defineExpose({
524
524
  @media (1680px >= width >= 1201px) {
525
525
  font-size: 20px;
526
526
  }
527
- @include respond-to('<=pad') {
527
+ @include respond('<=pad') {
528
528
  font-size: 18px;
529
529
  }
530
530
  }
@@ -550,29 +550,29 @@ defineExpose({
550
550
  }
551
551
 
552
552
  :deep(.el-dialog) {
553
- @include respond-to('<=pad_v') {
553
+ @include respond('<=pad_v') {
554
554
  --el-dialog-width: 100vw;
555
555
  }
556
556
  &.grid-width-dlg {
557
- @include respond-to('>pad') {
557
+ @include respond('>pad') {
558
558
  --el-dialog-width: var(--grid-14);
559
559
  }
560
- @include respond-to('pad_h') {
560
+ @include respond('pad_h') {
561
561
  --el-dialog-width: var(--grid-8);
562
562
  }
563
563
  }
564
564
  }
565
565
 
566
566
  :deep(.el-dialog) {
567
- --el-bg-color: var(--o-color-control-light);
567
+ --el-bg-color: var(--o-color-control5-light);
568
568
  --el-dialog-padding-primary: 32px;
569
- @include respond-to('laptop') {
569
+ @include respond('laptop') {
570
570
  --el-dialog-padding-primary: 24px;
571
571
  }
572
- @include respond-to('pad_h') {
572
+ @include respond('pad_h') {
573
573
  --el-dialog-padding-primary: 16px;
574
574
  }
575
- @include respond-to('phone') {
575
+ @include respond('phone') {
576
576
  --el-dialog-padding-primary: 16px 24px;
577
577
  }
578
578
  .el-dialog__header {
@@ -586,7 +586,7 @@ defineExpose({
586
586
  @media (1680px >= width >= 1201px) {
587
587
  margin-top: 16px;
588
588
  }
589
- @include respond-to('<=pad_h') {
589
+ @include respond('<=pad_h') {
590
590
  margin-top: 12px;
591
591
  }
592
592
  .el-button+.el-button {