@opendesign-plus-test/components 0.0.1-rc.25 → 0.0.1-rc.27

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 (56) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +262 -194
  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/activity/types.d.ts +0 -1
  9. package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
  10. package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
  11. package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
  12. package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
  13. package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
  14. package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
  15. package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
  16. package/dist/components/header/index.d.ts +22 -0
  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 +11 -4
  20. package/dist/components.cjs.js +47 -47
  21. package/dist/components.css +1 -1
  22. package/dist/components.es.js +17529 -17361
  23. package/dist/index.d.ts +2 -3
  24. package/package.json +1 -1
  25. package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
  26. package/src/components/OCookieNotice.vue +270 -118
  27. package/src/components/OFooter.vue +11 -1
  28. package/src/components/OHeaderUser.vue +14 -81
  29. package/src/components/OSourceCode.vue +1 -1
  30. package/src/components/activity/OActivityApproval.vue +205 -213
  31. package/src/components/activity/OActivityForm.vue +2 -2
  32. package/src/components/activity/OMyActivityCalendar.vue +206 -97
  33. package/src/components/activity/types.ts +0 -1
  34. package/src/components/common/MoreText.vue +3 -2
  35. package/src/components/element-plus/OElCookieNotice.vue +306 -115
  36. package/src/components/events/OEventsApply.vue +16 -0
  37. package/src/components/events/OEventsList.vue +3 -0
  38. package/src/components/header/OHeader.vue +175 -0
  39. package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
  40. package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
  41. package/src/components/header/components/HeaderNav.vue +280 -0
  42. package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
  43. package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
  44. package/src/components/header/index.ts +16 -0
  45. package/src/components/meeting/OMeetingCalendar.vue +16 -2
  46. package/src/components/meeting/OMeetingForm.vue +22 -25
  47. package/src/components/meeting/OMeetingPlayback.vue +1 -1
  48. package/src/components/meeting/OMyMeetingCalendar.vue +12 -14
  49. package/src/components/meeting/components/OMeetingCalendarList.vue +1 -1
  50. package/src/components/meeting/components/OMeetingDetail.vue +15 -2
  51. package/src/components/meeting/types.ts +11 -5
  52. package/src/index.ts +2 -5
  53. package/dist/components/activity/data.d.ts +0 -51
  54. package/src/components/OHeader.vue +0 -97
  55. package/src/components/activity/data.ts +0 -365
  56. package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
@@ -14,7 +14,7 @@ import {
14
14
  OIconArrowRight,
15
15
  OIconChevronLeft,
16
16
  OIconChevronRight,
17
- DialogActionT,
17
+ DialogActionT, OLink,
18
18
  } from '@opensig/opendesign';
19
19
  import { ElCalendar } from 'element-plus';
20
20
  import dayjs from 'dayjs';
@@ -43,7 +43,7 @@ const pageSize = ref(50); // 分页-每页数量
43
43
  const total = ref(null); // 分页-总数
44
44
  const reloadAll = ref(false); // 是否需要清空数据
45
45
 
46
- const expanded = ref([]); // 展开的数据,id
46
+ const expanded = ref([]); // 展开的数据,id
47
47
 
48
48
  const nextLoading = ref(false);
49
49
  const bottomReached = ref(false);
@@ -71,7 +71,6 @@ const getList = async () => {
71
71
  page: currentPage.value,
72
72
  size: pageSize.value,
73
73
  } as unknown as PageParamsT);
74
- console.log(res);
75
74
  const tempList = (res.data || [])
76
75
  .map((item: ActivityItemT) => {
77
76
  const { start_date, end_date, start, end } = item;
@@ -89,13 +88,11 @@ const getList = async () => {
89
88
  })
90
89
  .flat()
91
90
  .filter((v) => {
92
- console.log(v.start_date, formatDate(selectedDate.value, 'YYYY-MM-DD'));
93
91
  return v.start_date.slice(0, 7) === formatDate(selectedDate.value, 'YYYY-MM-DD').slice(0, 7);
94
92
  });
95
93
  if (reloadAll.value) {
96
94
  originList.value = res.data || [];
97
95
  list.value = tempList;
98
- console.log(list.value);
99
96
  } else {
100
97
  if (currentPage.value === 1 && !isPhone.value) {
101
98
  originList.value = res.data || [];
@@ -460,6 +457,7 @@ const revokeActions = computed<DialogActionT[]>(() => {
460
457
  color: 'primary',
461
458
  variant: 'outline',
462
459
  round: 'pill',
460
+ size: 'large',
463
461
  label: '确定',
464
462
  onClick: () => {
465
463
  confirm();
@@ -469,6 +467,7 @@ const revokeActions = computed<DialogActionT[]>(() => {
469
467
  color: 'primary',
470
468
  variant: 'solid',
471
469
  round: 'pill',
470
+ size: 'large',
472
471
  label: '取消',
473
472
  onClick: () => {
474
473
  cancel();
@@ -482,6 +481,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
482
481
  color: 'primary',
483
482
  variant: 'outline',
484
483
  round: 'pill',
484
+ size: 'large',
485
485
  label: '确定',
486
486
  onClick: () => {
487
487
  confirmDelete();
@@ -491,6 +491,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
491
491
  color: 'primary',
492
492
  variant: 'solid',
493
493
  round: 'pill',
494
+ size: 'large',
494
495
  label: '取消',
495
496
  onClick: () => {
496
497
  cancelDelete();
@@ -505,8 +506,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
505
506
  <div v-if="isPhone" class="list-calendar-mb">
506
507
  <span>{{ (selectedDate ? dayjs(new Date(selectedDate)) : dayjs()).format('YYYY MM月') }}</span>
507
508
  <span>
508
- <OIcon @click="changeMonth('prev-month')"><OIconArrowLeft /></OIcon>
509
- <OIcon @click="changeMonth('next-month')"><OIconArrowRight /></OIcon>
509
+ <OIcon @click="changeMonth('prev-month')"><OIconChevronLeft /></OIcon>
510
+ <OIcon @click="changeMonth('next-month')"><OIconChevronRight /></OIcon>
510
511
  </span>
511
512
  </div>
512
513
  <div class="left-calendar">
@@ -515,10 +516,10 @@ const deleteActions = computed<DialogActionT[]>(() => {
515
516
  <span>{{ (selectedDate ? dayjs(new Date(selectedDate)) : dayjs()).format('YYYY MM月') }}</span>
516
517
  <div>
517
518
  <OIcon @click="changeMonth('prev-month')">
518
- <OIconArrowLeft />
519
+ <OIconChevronLeft />
519
520
  </OIcon>
520
521
  <OIcon @click="changeMonth('next-month')">
521
- <OIconArrowRight />
522
+ <OIconChevronRight />
522
523
  </OIcon>
523
524
  </div>
524
525
  </template>
@@ -554,7 +555,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
554
555
  <template v-for="(act, idx) in activityList" :key="act.start_date">
555
556
  <div class="list-month-change prev-month" v-if="idx === 0" @click="changeMonth('prev-month')">
556
557
  <OIcon>
557
- <OIconChevronLeft />
558
+ <OIconArrowLeft />
558
559
  </OIcon>
559
560
  <span>上个月</span>
560
561
  </div>
@@ -589,8 +590,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
589
590
  >
590
591
  <template #title>
591
592
  <div class="item-header-left">
592
- <div class="act-icon"
593
- :class="[`act-icon-${row.is_delete ? 'delete' : statusMap.get(row.status)?.id}`]">
593
+ <div class="act-icon">
594
594
  <OIcon>
595
595
  <IconEvent />
596
596
  </OIcon>
@@ -621,19 +621,31 @@ const deleteActions = computed<DialogActionT[]>(() => {
621
621
  </div>
622
622
  </div>
623
623
  <div class="item-header-right" v-if="!row.is_delete">
624
- <OButton
624
+ <OLink v-if="row.content_url" :href="row.content_url" target="_blank" rel="noopener noreferrer">
625
+ 活动详情
626
+ <template #suffix>
627
+ <OIcon>
628
+ <OIconChevronRight></OIconChevronRight>
629
+ </OIcon>
630
+ </template>
631
+ </OLink>
632
+ <OLink
625
633
  v-if="
626
634
  row.status === 3 ||
627
635
  row.status === 4 ||
628
636
  (row.status === 2 && row.update_activity_id && new Date(row.register_end_date).getTime() > new Date().getTime())
629
637
  "
630
- color="primary"
631
638
  :href="row.register_url"
632
639
  target="_blank"
633
640
  rel="noopener noreferrer"
634
- >我要报名
635
- </OButton
636
641
  >
642
+ 我要报名
643
+ <template #suffix>
644
+ <OIcon>
645
+ <OIconChevronRight></OIconChevronRight>
646
+ </OIcon>
647
+ </template>
648
+ </OLink>
637
649
  </div>
638
650
  </template>
639
651
  <div class="activity-detail">
@@ -643,18 +655,30 @@ const deleteActions = computed<DialogActionT[]>(() => {
643
655
  :ref="(insRef) => getDetailRefs(insRef, row.id)"
644
656
  />
645
657
  <div class="activity-btn" v-if="!row.isExpired && !row.is_delete">
646
- <OButton v-if="row.status === 2" variant="text" @click="handleRevokeItem(row)">撤销审核
658
+ <OButton
659
+ v-if="row.status === 2"
660
+ variant="text"
661
+ @click="handleRevokeItem(row)"
662
+ >
663
+ 撤销审核
664
+ </OButton>
665
+ <OButton
666
+ v-if="row.status === 1 || row.status === 3 || row.status === 4 || row.status === 7"
667
+ variant="text" @click="handleEditItem(row)"
668
+ >
669
+ 修改活动
647
670
  </OButton>
648
- <OButton v-if="row.status === 1 || row.status === 3 || row.status === 4 || row.status === 7"
649
- variant="text" @click="handleEditItem(row)"
650
- >修改活动
651
- </OButton
671
+ <OButton
672
+ v-if="row.status === 1 || row.status === 7" variant="text"
673
+ @click="handleDeleteItem(row)"
652
674
  >
653
- <OButton v-if="row.status === 1 || row.status === 7" variant="text"
654
- @click="handleDeleteItem(row)">删除活动
675
+ 删除活动
655
676
  </OButton>
656
- <OButton v-if="row.status === 1 || row.status === 7" variant="text"
657
- @click="handleSubmitReviewItem(row)">提交审核
677
+ <OButton
678
+ v-if="row.status === 1 || row.status === 7" variant="text"
679
+ @click="handleSubmitReviewItem(row)"
680
+ >
681
+ 提交审核
658
682
  </OButton>
659
683
  </div>
660
684
  </div>
@@ -665,7 +689,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
665
689
  <div class="load-text" v-if="bottomReached">加载中···</div>
666
690
  <div class="list-month-change next-month" @click="changeMonth('next-month')">
667
691
  <OIcon>
668
- <OIconChevronRight />
692
+ <OIconArrowRight />
669
693
  </OIcon>
670
694
  <span>下个月</span>
671
695
  </div>
@@ -719,14 +743,18 @@ const deleteActions = computed<DialogActionT[]>(() => {
719
743
  .activity-list {
720
744
  display: flex;
721
745
  flex-wrap: nowrap;
722
- height: calc(100% - var(--o-gap-6) * 5);
723
- --table-bg: rgba(243, 246, 250);
724
- --cell-bg: rgba(235, 241, 250);
725
- --cell-bg-hover: rgba(213, 227, 253);
726
- @include respond-to('<=pad_v') {
746
+ gap: var(--o-gap-4);
747
+ height: 100%;
748
+ --phone-padding-top: 0;
749
+ @include respond-to('pad_v') {
727
750
  flex-direction: column;
751
+ gap: var(--o-gap-4);
752
+ }
753
+ @include respond-to('phone') {
754
+ flex-direction: column;
755
+ gap: var(--o-gap-3);
756
+ --phone-padding-top: calc(var(--o-gap-5) + var(--o-gap-3) + var(--o-gap-3));
728
757
  }
729
-
730
758
  .o-loading {
731
759
  .o-layer-mask {
732
760
  background-color: transparent;
@@ -783,8 +811,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
783
811
 
784
812
  .el-calendar {
785
813
  min-height: 460px;
786
- height: 100%;
787
- background-color: var(--table-bg);
814
+ height: calc(100% - 54px);
815
+ background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%);
788
816
  border-radius: var(--o-radius-xs);
789
817
 
790
818
  .el-calendar__header {
@@ -814,15 +842,22 @@ const deleteActions = computed<DialogActionT[]>(() => {
814
842
 
815
843
  .el-calendar__body {
816
844
  .el-calendar-table {
845
+ tr {
846
+ background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%) !important;
847
+ }
848
+
817
849
  th {
818
850
  text-align: center;
851
+ background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%) !important;
852
+ border: none;
819
853
  }
820
854
 
821
855
  td {
822
- background-color: var(--table-bg);
856
+ background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%) !important;
823
857
  border: none;
824
858
  text-align: center;
825
859
  transition: none;
860
+ padding: 0;
826
861
 
827
862
  .el-calendar-day {
828
863
  padding: 0;
@@ -852,6 +887,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
852
887
  line-height: 36px;
853
888
  border-radius: var(--o-radius-xs);
854
889
  background-color: var(--cell-bg);
890
+ border: 1px solid transparent;
855
891
  }
856
892
 
857
893
  .date-cell-text {
@@ -865,7 +901,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
865
901
 
866
902
  &:not(.is-selected) {
867
903
  .date-cell-text:hover {
868
- background-color: var(--cell-bg-hover);
904
+ background-color: var(--o-color-control3-light);
869
905
  }
870
906
  }
871
907
  }
@@ -884,14 +920,14 @@ const deleteActions = computed<DialogActionT[]>(() => {
884
920
  &.is-today {
885
921
  .date-cell-text {
886
922
  color: #000;
887
- background-color: var(--cell-bg-hover);
923
+ background-color: var(--o-color-control3-light);
888
924
  }
889
925
  }
890
926
 
891
927
  &.is-selected {
892
928
  .date-cell-text {
893
- color: #fff;
894
- background-color: var(--o-color-primary1);
929
+ background-color: var(--o-color-control3-light);
930
+ border: 1px solid var(--o-color-primary1);
895
931
  }
896
932
  }
897
933
 
@@ -901,7 +937,15 @@ const deleteActions = computed<DialogActionT[]>(() => {
901
937
  }
902
938
 
903
939
  &.approved::after {
904
- background-color: rgba(255, 165, 0, 1);
940
+ background-color: rgba(var(--o-cyan-6));
941
+ }
942
+
943
+ &.expired::after {
944
+ background-color: rgb(var(--o-mixedgray-6));
945
+ }
946
+
947
+ &.all-deleted::after {
948
+ background-color: rgb(var(--o-mixedgray-6));
905
949
  }
906
950
  }
907
951
  }
@@ -943,10 +987,15 @@ const deleteActions = computed<DialogActionT[]>(() => {
943
987
  .right-meeting {
944
988
  flex-grow: 1;
945
989
  background-color: var(--o-color-fill2);
946
- margin-left: 16px;
990
+
947
991
  @include respond-to('phone') {
948
- margin-top: calc(24px + var(--o-gap-7));
949
- margin-left: 0;
992
+ margin-top: calc(var(--phone-padding-top) - var(--o-gap-4));
993
+ }
994
+
995
+ &.is-empty {
996
+ display: flex;
997
+ align-items: center;
998
+ justify-content: center;
950
999
  }
951
1000
 
952
1001
  .o-scroller {
@@ -963,7 +1012,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
963
1012
  }
964
1013
 
965
1014
  .act-item {
966
- padding-left: var(--o-gap-5);
1015
+ padding-left: 24px;
967
1016
  position: relative;
968
1017
 
969
1018
  &.last-item {
@@ -982,7 +1031,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
982
1031
  bottom: 0;
983
1032
  overflow: hidden;
984
1033
 
985
- --active-color: rgb(222, 222, 227);
1034
+ --active-color: var(--o-color-primary1);
986
1035
 
987
1036
  &::before {
988
1037
  content: '';
@@ -1050,7 +1099,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1050
1099
  }
1051
1100
 
1052
1101
  .approved {
1053
- --active-color: rgba(255, 165, 0, 1);
1102
+ --active-color: var(--o-color-primary1);
1054
1103
  }
1055
1104
 
1056
1105
  .group-title {
@@ -1059,7 +1108,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1059
1108
  color: var(--o-color-info1);
1060
1109
  @include text2;
1061
1110
  @include respond-to('phone') {
1062
- padding-left: var(--o-gap-4);
1111
+ padding-left: var(--o-gap-5);
1063
1112
  }
1064
1113
 
1065
1114
  &.is-end {
@@ -1119,6 +1168,14 @@ const deleteActions = computed<DialogActionT[]>(() => {
1119
1168
  display: flex;
1120
1169
  flex-direction: column;
1121
1170
 
1171
+ .o-collapse-item {
1172
+ &.last-item {
1173
+ .o-collapse-item-header {
1174
+ border-bottom: none;
1175
+ }
1176
+ }
1177
+ }
1178
+
1122
1179
  .o-collapse-item-expanded + .o-collapse-item-expanded {
1123
1180
  margin-top: var(--o-gap-4);
1124
1181
  }
@@ -1137,13 +1194,31 @@ const deleteActions = computed<DialogActionT[]>(() => {
1137
1194
  border-top: none;
1138
1195
  border-radius: var(--o-radius-xs);
1139
1196
  transition: margin var(--o-easing-standard) var(--o-duration-s);
1197
+ --copy-display: none;
1198
+ --icon-size: 24px;
1199
+ @include respond-to('<=pad_v') {
1200
+ padding: var(--o-gap-3) var(--o-gap-4);
1201
+ }
1202
+
1203
+ &:hover {
1204
+ @include respond-to('>pad_v') {
1205
+ --copy-display: inline-flex;
1206
+ }
1207
+ }
1208
+
1209
+ @include respond-to('phone') {
1210
+ --icon-size: 20px;
1211
+ }
1140
1212
 
1141
1213
  &.o-collapse-item-expanded {
1142
- background-color: var(--table-bg);
1214
+ @include respond-to('<=pad_v') {
1215
+ --copy-display: inline-flex;
1216
+ }
1143
1217
  }
1144
1218
 
1145
- @include respond-to('<=pad_v') {
1146
- padding: 8px 12px;
1219
+
1220
+ &.o-collapse-item-expanded {
1221
+ background-color: color-mix(in srgb, var(--o-color-control2-light), transparent 60%);
1147
1222
  }
1148
1223
  }
1149
1224
 
@@ -1156,60 +1231,69 @@ const deleteActions = computed<DialogActionT[]>(() => {
1156
1231
  gap: var(--o-gap-4);
1157
1232
 
1158
1233
  .o-collapse-item-icon {
1234
+ position: relative;
1235
+ top: 4px;
1159
1236
  flex-shrink: 0;
1237
+ @include respond-to('phone') {
1238
+ position: absolute;
1239
+ right: 0;
1240
+ width: 20px;
1241
+ height: 20px;
1242
+ font-size: 20px;
1243
+ bottom: var(--o-gap-2);
1244
+ top: revert;
1245
+ }
1160
1246
  }
1161
1247
 
1248
+
1162
1249
  .o-collapse-item-title {
1163
1250
  flex: 1;
1164
1251
  width: 0;
1165
1252
  display: flex;
1166
- align-items: center;
1253
+ flex-direction: column;
1254
+ align-items: flex-start;
1167
1255
  justify-content: space-between;
1168
- flex-wrap: nowrap;
1169
1256
 
1170
1257
  .item-header-left {
1171
1258
  display: flex;
1172
1259
  align-items: flex-start;
1173
1260
  gap: var(--o-gap-3);
1174
- flex: 1;
1175
- width: 0;
1261
+ width: 100%;
1262
+ margin-bottom: var(--o-gap-2);
1263
+ @include respond-to('phone') {
1264
+ flex-grow: 1;
1265
+ width: 100%;
1266
+ align-self: stretch;
1267
+ flex-shrink: 0;
1268
+ }
1176
1269
 
1177
1270
  .act-icon {
1178
- width: 24px;
1179
- height: 24px;
1271
+ width: var(--icon-size);
1272
+ height: var(--icon-size);
1180
1273
  border-radius: 50%;
1181
- background-color: rgba(var(--o-cyan-6));
1274
+ background-color: rgb(var(--o-cyan-6));
1182
1275
  color: #fff;
1183
1276
  display: flex;
1184
1277
  align-items: center;
1185
1278
  justify-content: center;
1186
1279
  flex-shrink: 0;
1187
- @include respond-to('phone') {
1188
- width: 20px;
1189
- height: 20px;
1190
- }
1191
1280
 
1192
- svg path {
1193
- fill: currentColor
1281
+ .o-icon {
1282
+ svg path {
1283
+ fill: currentColor;
1284
+ }
1194
1285
  }
1195
- }
1196
-
1197
- .act-icon-registration,
1198
- .act-icon-in-progress {
1199
- background-color: rgba(255, 165, 0, 1);
1200
- }
1201
1286
 
1202
- .act-icon-delete {
1203
- background-color: rgba(222, 222, 227, 1);
1204
1287
  }
1205
1288
 
1206
1289
  .header-info {
1207
- width: calc(100% - var(--o-gap-3) - 24px);
1290
+ width: calc(100% - var(--o-gap-3) - var(--icon-size));
1208
1291
 
1209
1292
  .act-title {
1210
1293
  font-weight: 500;
1211
1294
  display: flex;
1212
1295
  align-items: center;
1296
+ margin-bottom: var(--o-gap-2);
1213
1297
  @include text2;
1214
1298
 
1215
1299
  &.is-delete,
@@ -1268,36 +1352,53 @@ const deleteActions = computed<DialogActionT[]>(() => {
1268
1352
  }
1269
1353
 
1270
1354
  .item-header-right {
1271
- flex-shrink: 0;
1272
1355
  display: flex;
1273
1356
  align-items: center;
1274
- padding-left: var(--o-gap-4);
1275
- }
1276
- }
1357
+ padding-left: calc(var(--o-gap-3) + var(--icon-size));
1358
+ gap: var(--o-gap-5);
1359
+ width: 100%;
1277
1360
 
1278
- @include respond-to('phone') {
1279
- .o-collapse-item-icon {
1280
- align-self: flex-end;
1281
- position: relative;
1282
- bottom: 4px;
1361
+ .o-link {
1362
+ font-size: 14px;
1363
+ line-height: 21px;
1364
+ }
1365
+
1366
+ .o-link + .o-link {
1367
+ margin-left: var(--o-gap-section-6);
1368
+ }
1369
+
1370
+ .o-icon {
1371
+ font-size: 16px;
1372
+ }
1283
1373
  }
1284
- .o-collapse-item-title {
1285
- flex-direction: column;
1286
- align-items: flex-start;
1287
1374
 
1288
- .item-header-left {
1289
- flex-grow: 1;
1290
- width: 100%;
1291
- align-self: stretch;
1292
- flex-shrink: 0;
1375
+ .copy-icon {
1376
+ position: absolute;
1377
+ top: 50%;
1378
+ transform: translateY(-50%);
1379
+ right: calc(var(--collapse-item-icon-size) + var(--o-gap-4));
1380
+ font-size: 18px;
1381
+ height: 18px;
1382
+ width: 18px;
1383
+ display: var(--copy-display);
1384
+ @include respond-to('phone') {
1385
+ bottom: var(--o-gap-2);
1386
+ transform: revert;
1387
+ top: revert;
1388
+ right: calc(20px + var(--o-gap-2))
1389
+ }
1390
+
1391
+ &:hover {
1392
+ color: var(--o-color-primary1);
1293
1393
  }
1294
1394
 
1295
- .item-header-right {
1296
- padding-left: 24px;
1297
- margin-top: 8px;
1395
+
1396
+ svg path {
1397
+ fill: currentColor;
1298
1398
  }
1299
1399
  }
1300
1400
  }
1401
+
1301
1402
  }
1302
1403
 
1303
1404
  .o-collapse-item-body {
@@ -1305,7 +1406,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1305
1406
  padding: var(--o-gap-4) 0 0;
1306
1407
 
1307
1408
  .activity-detail {
1308
- padding-left: calc(var(--o-gap-5) + var(--o-gap-3));
1409
+ padding-left: calc(var(--o-gap-3) + var(--icon-size));
1309
1410
  @include respond-to('phone') {
1310
1411
  padding-left: 0;
1311
1412
  }
@@ -1317,14 +1418,17 @@ const deleteActions = computed<DialogActionT[]>(() => {
1317
1418
  display: flex;
1318
1419
  align-items: center;
1319
1420
  justify-content: flex-end;
1320
-
1321
- .o-btn + .o-btn {
1322
- margin-left: 16px;
1323
- }
1421
+ gap: var(--o-gap-5);
1324
1422
  }
1325
1423
  }
1326
1424
  }
1327
1425
 
1426
+ .o-btn.o-btn-text {
1427
+ padding-left: 0 !important;
1428
+ padding-right: 0 !important;
1429
+ min-width: auto;
1430
+ }
1431
+
1328
1432
  .o-btn-text {
1329
1433
  @include hover {
1330
1434
  background-color: transparent;
@@ -1352,6 +1456,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
1352
1456
  <style lang="scss">
1353
1457
  .handle-dialog-active {
1354
1458
  width: 450px;
1459
+ --dlg-radius: var(--o-radius-xs);
1355
1460
 
1356
1461
  .o-dlg-header {
1357
1462
  margin-bottom: var(--o-gap-5);
@@ -1361,5 +1466,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
1361
1466
  display: flex;
1362
1467
  justify-content: center;
1363
1468
  }
1469
+
1470
+ .dialog-content {
1471
+ margin-bottom: var(--o-gap-2);
1472
+ }
1364
1473
  }
1365
1474
  </style>
@@ -29,7 +29,6 @@ export interface ActivityFormPropsT {
29
29
  id: number;
30
30
  name: string;
31
31
  }[];
32
- status?: string | null;
33
32
  }
34
33
 
35
34
  export interface TypeOptionT {
@@ -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