@opendesign-plus/components 0.0.1-rc.32 → 0.0.1-rc.34
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 +12 -12
- package/dist/components.cjs.js +27 -27
- package/dist/components.css +1 -1
- package/dist/components.es.js +2123 -2112
- package/package.json +3 -3
- package/src/assets/meeting/svg-icons/icon-copy.svg +4 -4
- package/src/assets/styles/element-plus.scss +44 -2
- package/src/components/common/MoreText.vue +3 -3
- package/src/components/meeting/OMeetingCalendar.vue +10 -1
- package/src/components/meeting/OMeetingMyCalendar.vue +67 -18
- package/src/components/meeting/components/OMeetingCalendarList.vue +17 -17
- package/src/components/meeting/components/OMeetingDetail.vue +41 -37
- package/src/i18n/en.ts +2 -2
- package/src/i18n/zh.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"vue-dompurify-html": "^3.1.2",
|
|
35
35
|
"vue": "^3.5.13",
|
|
36
36
|
"element-plus": "2.13.1",
|
|
37
|
-
"@opendesign-plus/
|
|
38
|
-
"@opendesign-plus/
|
|
37
|
+
"@opendesign-plus/styles": "0.0.1-rc.2",
|
|
38
|
+
"@opendesign-plus/composables": "0.0.1-rc.10"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
-
<path opacity="0.8" fill="#000"
|
|
3
|
-
d="M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"></path>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path opacity="0.8" fill="#000"
|
|
3
|
+
d="M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"></path>
|
|
4
|
+
</svg>
|
|
@@ -144,13 +144,13 @@
|
|
|
144
144
|
|
|
145
145
|
&.start-date {
|
|
146
146
|
.el-date-table-cell {
|
|
147
|
-
border-radius: var(--cell-radius)
|
|
147
|
+
border-radius: var(--cell-radius);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
&.end-date {
|
|
152
152
|
.el-date-table-cell {
|
|
153
|
-
border-radius:
|
|
153
|
+
border-radius: var(--cell-radius);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -177,6 +177,36 @@
|
|
|
177
177
|
border: 1px solid var(--el-input-border-color);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
.el-date-editor {
|
|
181
|
+
&.is-focus {
|
|
182
|
+
|
|
183
|
+
.el-input__wrapper {
|
|
184
|
+
box-shadow: none;
|
|
185
|
+
--el-input-border-color: var(--o-color-primary3);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&:hover {
|
|
190
|
+
|
|
191
|
+
.el-input__wrapper {
|
|
192
|
+
box-shadow: none;
|
|
193
|
+
--el-input-border-color: var(--o-color-primary2);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.el-input__wrapper {
|
|
198
|
+
&:hover {
|
|
199
|
+
box-shadow: none;
|
|
200
|
+
--el-input-border-color: var(--o-color-primary2);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&.is-active {
|
|
204
|
+
--el-input-border-color: var(--o-color-primary3);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
|
|
180
210
|
.el-select__wrapper {
|
|
181
211
|
background: var(--o-color-fill2);
|
|
182
212
|
}
|
|
@@ -219,6 +249,18 @@
|
|
|
219
249
|
--el-component-size-large: calc(var(--o-control_size-l) - 2px);
|
|
220
250
|
}
|
|
221
251
|
|
|
252
|
+
.el-input__wrapper {
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
--el-input-border-color: var(--o-color-primary2);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&.is-focus {
|
|
259
|
+
--el-input-border-color: var(--o-color-primary3);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
|
|
222
264
|
.el-input-number__decrease,
|
|
223
265
|
.el-input-number__increase {
|
|
224
266
|
&:hover ~ .el-input:not(.is-disabled) .el-input__wrapper {
|
|
@@ -59,7 +59,7 @@ const clickText = () => {
|
|
|
59
59
|
:class="['more-text-content', link && 'is-link']"
|
|
60
60
|
ref="contentRef"
|
|
61
61
|
:style="{
|
|
62
|
-
'max-height': expanded ? offsetHeight + 'px' : '
|
|
62
|
+
'max-height': expanded ? offsetHeight + 'px' : '4.5em',
|
|
63
63
|
'-webkit-line-clamp': expanded ? 'initial' : lines,
|
|
64
64
|
}"
|
|
65
65
|
@click="clickText"
|
|
@@ -86,7 +86,7 @@ const clickText = () => {
|
|
|
86
86
|
<style lang="scss" scoped>
|
|
87
87
|
.more-text-wrapper {
|
|
88
88
|
.more-text-content {
|
|
89
|
-
line-height:
|
|
89
|
+
line-height: 1.5em;
|
|
90
90
|
overflow: hidden;
|
|
91
91
|
text-overflow: ellipsis;
|
|
92
92
|
display: -webkit-box;
|
|
@@ -111,7 +111,7 @@ const clickText = () => {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
& > div {
|
|
114
|
-
height:
|
|
114
|
+
height: 1.5em;
|
|
115
115
|
cursor: pointer;
|
|
116
116
|
display: flex;
|
|
117
117
|
align-items: center;
|
|
@@ -203,6 +203,16 @@ const changeMeetingDay = useDebounceFn((day: string, event?: Event) => {
|
|
|
203
203
|
}, 300)
|
|
204
204
|
|
|
205
205
|
|
|
206
|
+
watch(() => latestDay.value,
|
|
207
|
+
() => {
|
|
208
|
+
calendar.value?.pickDay(dayjs((latestDay.value)));
|
|
209
|
+
changeMeetingDay(latestDay.value);
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
immediate: true,
|
|
213
|
+
},
|
|
214
|
+
);
|
|
215
|
+
|
|
206
216
|
const selectDate = (val: string, date: string) => {
|
|
207
217
|
if (formatDate(date) === formatDate(limitTime) && val === 'prev-month') {
|
|
208
218
|
isLimit.value = true;
|
|
@@ -249,7 +259,6 @@ const getCalendarHeight = async () => {
|
|
|
249
259
|
|
|
250
260
|
onMounted(() => {
|
|
251
261
|
getCalendarHeight();
|
|
252
|
-
getDateData();
|
|
253
262
|
});
|
|
254
263
|
|
|
255
264
|
const stopWatchData = watch(
|
|
@@ -924,9 +924,10 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
924
924
|
display: table;
|
|
925
925
|
|
|
926
926
|
th {
|
|
927
|
-
text-align:
|
|
927
|
+
text-align: left;
|
|
928
928
|
border: none;
|
|
929
929
|
--o-color-control3-light: transparent;
|
|
930
|
+
padding-left: calc(17px - 0.5em);
|
|
930
931
|
}
|
|
931
932
|
|
|
932
933
|
tr {
|
|
@@ -1152,7 +1153,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1152
1153
|
|
|
1153
1154
|
.group-title {
|
|
1154
1155
|
font-weight: 500;
|
|
1155
|
-
margin-bottom: var(--o-gap-2);
|
|
1156
1156
|
color: var(--o-color-info1);
|
|
1157
1157
|
@include text2;
|
|
1158
1158
|
@include respond('phone') {
|
|
@@ -1228,26 +1228,41 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1228
1228
|
|
|
1229
1229
|
.o-collapse-item {
|
|
1230
1230
|
padding: var(--o-gap-4) var(--o-gap-5);
|
|
1231
|
-
padding-bottom: calc(var(--o-gap-5) - var(--o-gap-4));
|
|
1232
1231
|
border-top: none;
|
|
1233
1232
|
border-radius: var(--meeting-card-radius);
|
|
1234
1233
|
transition: margin var(--o-easing-standard) var(--o-duration-s);
|
|
1235
|
-
--copy-display: none;
|
|
1236
1234
|
--icon-size: 24px;
|
|
1237
|
-
@include respond('
|
|
1235
|
+
@include respond-to('pad_h') {
|
|
1238
1236
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
1239
1237
|
}
|
|
1238
|
+
@include respond('<=pad_v') {
|
|
1239
|
+
padding: var(--o-gap-2) var(--o-gap-4);
|
|
1240
|
+
}
|
|
1240
1241
|
|
|
1241
1242
|
@include respond('phone') {
|
|
1242
1243
|
--icon-size: 20px;
|
|
1243
1244
|
}
|
|
1244
1245
|
|
|
1246
|
+
&.o-collapse-item-expanded {
|
|
1247
|
+
margin-top: var(--o-gap-4);
|
|
1248
|
+
@include respond-to('<=laptop') {
|
|
1249
|
+
margin-top: var(--o-gap-3);
|
|
1250
|
+
}
|
|
1251
|
+
@include respond-to('<=pad_v') {
|
|
1252
|
+
margin-top: var(--o-gap-2);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1245
1256
|
&:hover {
|
|
1246
1257
|
.title-text {
|
|
1247
1258
|
color: var(--o-color-primary1);
|
|
1248
1259
|
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1260
|
+
|
|
1261
|
+
.o-collapse-item-title {
|
|
1262
|
+
.copy-icon {
|
|
1263
|
+
opacity: 1;
|
|
1264
|
+
visibility: visible;
|
|
1265
|
+
}
|
|
1251
1266
|
}
|
|
1252
1267
|
}
|
|
1253
1268
|
|
|
@@ -1273,12 +1288,29 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1273
1288
|
border-bottom: none;
|
|
1274
1289
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent) !important;
|
|
1275
1290
|
|
|
1276
|
-
@include respond('<=pad_v') {
|
|
1277
|
-
--copy-display: block;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1291
|
.o-collapse-item-header {
|
|
1281
|
-
|
|
1292
|
+
padding-bottom: var(--o-gap-2);
|
|
1293
|
+
position: relative;
|
|
1294
|
+
|
|
1295
|
+
&::after {
|
|
1296
|
+
content: '';
|
|
1297
|
+
position: absolute;
|
|
1298
|
+
left: calc(var(--o-gap-3) + var(--icon-size));
|
|
1299
|
+
right: 0;
|
|
1300
|
+
bottom: 0;
|
|
1301
|
+
height: 1px;
|
|
1302
|
+
background-color: var(--o-color-control4);
|
|
1303
|
+
@include respond('phone') {
|
|
1304
|
+
left: 0;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
.o-collapse-item-title {
|
|
1309
|
+
.copy-icon {
|
|
1310
|
+
opacity: 1;
|
|
1311
|
+
visibility: visible;
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1282
1314
|
}
|
|
1283
1315
|
}
|
|
1284
1316
|
}
|
|
@@ -1286,7 +1318,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1286
1318
|
.o-collapse-item-header {
|
|
1287
1319
|
border-bottom: none;
|
|
1288
1320
|
padding-top: 0;
|
|
1289
|
-
padding-bottom:
|
|
1321
|
+
padding-bottom: 0;
|
|
1290
1322
|
display: flex;
|
|
1291
1323
|
align-items: center;
|
|
1292
1324
|
gap: var(--o-gap-4);
|
|
@@ -1380,7 +1412,11 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1380
1412
|
}
|
|
1381
1413
|
|
|
1382
1414
|
.title-text {
|
|
1415
|
+
@include text2;
|
|
1383
1416
|
@include text-truncate(1);
|
|
1417
|
+
@include respond('phone') {
|
|
1418
|
+
@include h3;
|
|
1419
|
+
}
|
|
1384
1420
|
}
|
|
1385
1421
|
}
|
|
1386
1422
|
|
|
@@ -1389,7 +1425,11 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1389
1425
|
display: flex;
|
|
1390
1426
|
align-items: center;
|
|
1391
1427
|
font-weight: 400;
|
|
1392
|
-
|
|
1428
|
+
font-size: 14px;
|
|
1429
|
+
line-height: 22px;
|
|
1430
|
+
@include respond('<=pad_v') {
|
|
1431
|
+
@include tip1;
|
|
1432
|
+
}
|
|
1393
1433
|
@include respond('phone') {
|
|
1394
1434
|
flex-direction: column;
|
|
1395
1435
|
align-items: flex-start;
|
|
@@ -1433,7 +1473,8 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1433
1473
|
.copy-icon {
|
|
1434
1474
|
flex-shrink: 0;
|
|
1435
1475
|
font-size: 24px;
|
|
1436
|
-
|
|
1476
|
+
visibility: hidden;
|
|
1477
|
+
opacity: 0;
|
|
1437
1478
|
color: var(--o-color-info1);
|
|
1438
1479
|
height: 1em;
|
|
1439
1480
|
@include respond('<=laptop') {
|
|
@@ -1457,7 +1498,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1457
1498
|
|
|
1458
1499
|
.o-collapse-item-body {
|
|
1459
1500
|
margin-bottom: 0;
|
|
1460
|
-
padding: var(--o-gap-
|
|
1501
|
+
padding: var(--o-gap-2) 0 0;
|
|
1461
1502
|
|
|
1462
1503
|
.meeting-detail {
|
|
1463
1504
|
padding-left: calc(var(--o-gap-3) + var(--icon-size));
|
|
@@ -1468,13 +1509,20 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1468
1509
|
|
|
1469
1510
|
.meeting-btn {
|
|
1470
1511
|
border-top: 1px solid var(--o-color-control4);
|
|
1471
|
-
margin-top: var(--o-gap-
|
|
1512
|
+
margin-top: var(--o-gap-4);
|
|
1472
1513
|
padding-top: var(--o-gap-4);
|
|
1473
|
-
padding-bottom: var(--o-gap-4);
|
|
1474
1514
|
display: flex;
|
|
1475
1515
|
align-items: center;
|
|
1476
1516
|
justify-content: flex-end;
|
|
1477
1517
|
gap: var(--o-gap-5);
|
|
1518
|
+
@include respond('pad_h') {
|
|
1519
|
+
margin-top: var(--o-gap-3);
|
|
1520
|
+
padding-top: var(--o-gap-3);
|
|
1521
|
+
}
|
|
1522
|
+
@include respond('<=pad_v') {
|
|
1523
|
+
margin-top: var(--o-gap-2);
|
|
1524
|
+
padding-top: var(--o-gap-2);
|
|
1525
|
+
}
|
|
1478
1526
|
|
|
1479
1527
|
.o-link {
|
|
1480
1528
|
--link-color: inherit;
|
|
@@ -1496,6 +1544,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1496
1544
|
@include tip1;
|
|
1497
1545
|
}
|
|
1498
1546
|
}
|
|
1547
|
+
|
|
1499
1548
|
}
|
|
1500
1549
|
|
|
1501
1550
|
@include in-dark {
|
|
@@ -192,8 +192,8 @@ const computedList = computed<any[]>(() => {
|
|
|
192
192
|
cycleType = t('meeting.cycleMonth', [getPointStr(cycle_type, cycle_point as unknown as number[])]);
|
|
193
193
|
}
|
|
194
194
|
timeRange = t('meeting.cycleMeetingText2', {
|
|
195
|
-
startDate: cycle_start_date,
|
|
196
|
-
endDate: cycle_end_date,
|
|
195
|
+
startDate: formatDate(cycle_start_date),
|
|
196
|
+
endDate: formatDate(cycle_end_date),
|
|
197
197
|
startTime: cycle_start,
|
|
198
198
|
endTime: cycle_end,
|
|
199
199
|
cycleType,
|
|
@@ -372,11 +372,6 @@ const computedList = computed<any[]>(() => {
|
|
|
372
372
|
display: none;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
@include hover {
|
|
376
|
-
.text {
|
|
377
|
-
color: var(--o-color-primary1);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
375
|
@include respond('<=pad_v') {
|
|
381
376
|
&::after {
|
|
382
377
|
width: calc(100% - 2 * 16px);
|
|
@@ -390,7 +385,7 @@ const computedList = computed<any[]>(() => {
|
|
|
390
385
|
|
|
391
386
|
&.o-collapse-item-expanded {
|
|
392
387
|
.o-collapse-item-header {
|
|
393
|
-
padding-bottom:
|
|
388
|
+
padding-bottom: 0;
|
|
394
389
|
|
|
395
390
|
.o-collapse-item-title {
|
|
396
391
|
.copy-icon {
|
|
@@ -409,9 +404,14 @@ const computedList = computed<any[]>(() => {
|
|
|
409
404
|
|
|
410
405
|
.o-collapse-item-header {
|
|
411
406
|
align-items: center;
|
|
412
|
-
padding: var(--o-gap-4) var(--o-gap-5);
|
|
407
|
+
padding: var(--o-gap-4) var(--o-gap-5) var(--o-gap-4) var(--o-gap-5);
|
|
413
408
|
position: relative;
|
|
414
409
|
|
|
410
|
+
@include hover {
|
|
411
|
+
.text {
|
|
412
|
+
color: var(--o-color-primary1);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
415
|
@include respond('>pad_v') {
|
|
416
416
|
&:hover {
|
|
417
417
|
.o-collapse-item-title {
|
|
@@ -422,8 +422,11 @@ const computedList = computed<any[]>(() => {
|
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
+
@include respond('pad_h') {
|
|
426
|
+
padding: var(--o-gap-4) var(--o-gap-3) var(--o-gap-2) var(--o-gap-3);
|
|
427
|
+
}
|
|
425
428
|
@include respond('<=pad_v') {
|
|
426
|
-
padding:
|
|
429
|
+
padding: var(--o-gap-3) var(--o-gap-4) var(--o-gap-1) var(--o-gap-4);
|
|
427
430
|
}
|
|
428
431
|
|
|
429
432
|
.o-collapse-item-title {
|
|
@@ -499,12 +502,11 @@ const computedList = computed<any[]>(() => {
|
|
|
499
502
|
border-radius: var(--meeting-card-radius);
|
|
500
503
|
@include tip1;
|
|
501
504
|
|
|
502
|
-
@include respond('
|
|
503
|
-
padding: 16px 16px 16px calc(var(--icon-right) + var(--icon-size2)
|
|
504
|
-
|
|
505
|
+
@include respond('pad_h') {
|
|
506
|
+
padding: 16px 16px 16px calc(var(--icon-right) + var(--icon-size2));
|
|
505
507
|
}
|
|
506
|
-
@include respond('
|
|
507
|
-
padding:
|
|
508
|
+
@include respond('<=pad_v') {
|
|
509
|
+
padding: 16px 8px;
|
|
508
510
|
}
|
|
509
511
|
|
|
510
512
|
.info-item {
|
|
@@ -586,8 +588,6 @@ const computedList = computed<any[]>(() => {
|
|
|
586
588
|
.text {
|
|
587
589
|
display: block;
|
|
588
590
|
font-weight: 600;
|
|
589
|
-
min-width: 0;
|
|
590
|
-
flex: 1;
|
|
591
591
|
@include text-truncate(1);
|
|
592
592
|
}
|
|
593
593
|
}
|
|
@@ -74,6 +74,12 @@ const getField = (key: string) => {
|
|
|
74
74
|
if (key === 'register_end_date' && val) {
|
|
75
75
|
return formatDate(val, 'YYYY/MM/DD HH:mm');
|
|
76
76
|
}
|
|
77
|
+
if (key === 'date' && val) {
|
|
78
|
+
if (props.data.is_cycle) {
|
|
79
|
+
return '';
|
|
80
|
+
}
|
|
81
|
+
return formatDate(val);
|
|
82
|
+
}
|
|
77
83
|
return val;
|
|
78
84
|
};
|
|
79
85
|
|
|
@@ -152,8 +158,8 @@ defineExpose({ copyInfo });
|
|
|
152
158
|
</OLink>
|
|
153
159
|
<span v-else-if="info.key === 'platform'">{{ getPlatformLabel(getField(info.key)) }}</span>
|
|
154
160
|
<span v-else class="value">
|
|
155
|
-
<i v-if="info.extra" class="extra">{{ getField(info.extra) }}</i>
|
|
156
|
-
{{ getField(info.key) || '-' }}
|
|
161
|
+
<i v-if="info.extra && getField(info.extra)" class="extra">{{ getField(info.extra) }}</i>
|
|
162
|
+
<span class="value-text">{{ getField(info.key) || '-' }}</span>
|
|
157
163
|
</span>
|
|
158
164
|
</template>
|
|
159
165
|
<template v-if="info.isRecord && getField(info.key)?.length">
|
|
@@ -174,42 +180,44 @@ defineExpose({ copyInfo });
|
|
|
174
180
|
<style lang="scss">
|
|
175
181
|
.o-meeting-detail {
|
|
176
182
|
position: relative;
|
|
183
|
+
display: grid;
|
|
184
|
+
grid-template-columns: auto 1fr;
|
|
185
|
+
row-gap: var(--o-gap-2);
|
|
186
|
+
column-gap: var(--o-gap-4);
|
|
187
|
+
|
|
188
|
+
@include respond('pad_v') {
|
|
189
|
+
row-gap: var(--o-gap-2);
|
|
190
|
+
column-gap: var(--o-gap-2);
|
|
191
|
+
}
|
|
192
|
+
@include respond('phone') {
|
|
193
|
+
row-gap: var(--o-gap-2);
|
|
194
|
+
column-gap: var(--o-gap-4);
|
|
195
|
+
}
|
|
196
|
+
|
|
177
197
|
.label-item {
|
|
178
198
|
color: var(--o-color-info3);
|
|
179
|
-
display:
|
|
180
|
-
|
|
199
|
+
display: grid;
|
|
200
|
+
grid-template-columns: auto 1fr;
|
|
201
|
+
grid-template-columns: subgrid;
|
|
202
|
+
grid-column: 1 / -1;
|
|
203
|
+
align-items: start;
|
|
181
204
|
font-size: 14px;
|
|
182
|
-
|
|
183
|
-
|
|
205
|
+
line-height: 22px;
|
|
184
206
|
@include respond('<=pad_v') {
|
|
185
207
|
font-size: 12px;
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
&:not(.is-empty) {
|
|
190
|
-
margin-bottom: var(--o-gap-2);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&:last-child {
|
|
194
|
-
margin-bottom: 0;
|
|
208
|
+
line-height: 18px;
|
|
195
209
|
}
|
|
196
210
|
|
|
197
211
|
&.record-item {
|
|
198
|
-
align-items:
|
|
212
|
+
align-items: start;
|
|
199
213
|
|
|
200
214
|
.value {
|
|
201
215
|
margin-bottom: 0;
|
|
202
216
|
}
|
|
203
217
|
}
|
|
204
218
|
|
|
205
|
-
&.is-en {
|
|
206
|
-
.label {
|
|
207
|
-
width: 6em;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
219
|
.label {
|
|
212
|
-
|
|
220
|
+
white-space: nowrap;
|
|
213
221
|
flex-shrink: 0;
|
|
214
222
|
display: flex;
|
|
215
223
|
|
|
@@ -222,18 +230,16 @@ defineExpose({ copyInfo });
|
|
|
222
230
|
}
|
|
223
231
|
|
|
224
232
|
.split-mark {
|
|
225
|
-
|
|
226
|
-
height: 0;
|
|
227
|
-
opacity: 0;
|
|
228
|
-
overflow: hidden;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.more-text-wrapper {
|
|
232
|
-
position: relative;
|
|
233
|
-
top: -2px;
|
|
233
|
+
display: none;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.o-link {
|
|
237
|
+
font-size: 14px;
|
|
238
|
+
line-height: 22px;
|
|
239
|
+
@include respond('<=pad_v') {
|
|
240
|
+
font-size: 12px;
|
|
241
|
+
line-height: 18px;
|
|
242
|
+
}
|
|
237
243
|
.o-link-main {
|
|
238
244
|
word-wrap: break-word;
|
|
239
245
|
@include text-truncate(3);
|
|
@@ -241,10 +247,8 @@ defineExpose({ copyInfo });
|
|
|
241
247
|
}
|
|
242
248
|
|
|
243
249
|
.value {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
align-items: center;
|
|
247
|
-
@include text-truncate(3);
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: flex-start;
|
|
248
252
|
|
|
249
253
|
&.link {
|
|
250
254
|
color: var(--o-color-primary1);
|
|
@@ -261,7 +265,7 @@ defineExpose({ copyInfo });
|
|
|
261
265
|
}
|
|
262
266
|
|
|
263
267
|
.label-item.is-empty {
|
|
264
|
-
|
|
268
|
+
display: none;
|
|
265
269
|
}
|
|
266
270
|
|
|
267
271
|
.meeting-action {
|
package/src/i18n/en.ts
CHANGED
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
'meeting.meetingText': ' {1} at {0}.',
|
|
41
41
|
'meeting.singleMeetingText': ' {1} at {0}.',
|
|
42
42
|
'meeting.cycleMeetingText': ' scheduled at {startTime} to {endTime} {cycleType} from {startDate} to {endDate}.',
|
|
43
|
-
'meeting.cycleMeetingText2': '{startTime} to {endTime} (UTC+08:00)Beijing {cycleType} from {startDate} to {endDate}.',
|
|
43
|
+
'meeting.cycleMeetingText2': '{startTime} to {endTime} (UTC+08:00) Beijing {cycleType} from {startDate} to {endDate}.',
|
|
44
44
|
'meeting.cycleDay': ' every day',
|
|
45
45
|
'meeting.cycleWeek.one': 'on {0} every week',
|
|
46
46
|
'meeting.cycleWeek.other': 'on {0} every {1} weeks',
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
144
144
|
'meeting.version2512Banner': 'openUBMC 25.12 LTS 社区发行版正式上线',
|
|
145
145
|
'meeting.sigs': 'SIG Groups',
|
|
146
146
|
'meeting.groups': 'Groups',
|
|
147
|
-
'meeting.activityAddress': '
|
|
147
|
+
'meeting.activityAddress': 'Location',
|
|
148
148
|
'meeting.livePlatform': 'Live Platform',
|
|
149
149
|
'meeting.meetingTopic': 'Topics',
|
|
150
150
|
'meeting.eventsTitle': 'Name',
|
package/src/i18n/zh.ts
CHANGED
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
'meeting.meetingText': '{0} 的{1}',
|
|
41
41
|
'meeting.singleMeetingText': '{0} 的{1}',
|
|
42
42
|
'meeting.cycleMeetingText': '{startDate} 至 {endDate} {cycleType} {startTime} 到 {endTime}的周期会议',
|
|
43
|
-
'meeting.cycleMeetingText2': '{cycleType} {startTime} 到 {endTime} (UTC+08:00)Beijing 有效期从{startDate} 至 {endDate}',
|
|
43
|
+
'meeting.cycleMeetingText2': '{cycleType} {startTime} 到 {endTime} (UTC+08:00) Beijing 有效期从{startDate} 至 {endDate}',
|
|
44
44
|
'meeting.cycleDay': '每天',
|
|
45
45
|
'meeting.cycleWeek.one': '每周{0}',
|
|
46
46
|
'meeting.cycleWeek.other': '每{1}周{0}',
|