knt-shared 1.6.9 → 1.7.0
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/components/Description/BasicDescription.vue.d.ts.map +1 -1
- package/dist/components/Form/BasicForm.vue.d.ts.map +1 -1
- package/dist/components/Form/components/ApiCascader.vue.d.ts.map +1 -1
- package/dist/components/Form/components/ApiSelect.vue.d.ts.map +1 -1
- package/dist/components/Image/BasicImage.vue.d.ts.map +1 -1
- package/dist/components/Loading/BasicLoading.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingOverlay.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingSpinner.vue.d.ts +16 -0
- package/dist/components/Loading/LoadingSpinner.vue.d.ts.map +1 -0
- package/dist/components/Modal/BasicModal.vue.d.ts +2 -2
- package/dist/components/Modal/BasicModal.vue.d.ts.map +1 -1
- package/dist/components/Table/BasicTable.vue.d.ts.map +1 -1
- package/dist/components/TextEllipsis/BasicTextEllipsis.vue.d.ts.map +1 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts +2 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/SortableFileItem.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/VideoPreview.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/VideoPreviewModal.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +380 -313
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +345 -278
- package/dist/index.esm.js.map +1 -1
- package/dist/plugin.d.ts +21 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/style.css +156 -114
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.sortable-file-item[data-v-
|
|
2
|
+
.sortable-file-item[data-v-17fb6dd9] {
|
|
3
3
|
position: relative;
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
border: 1px solid var(--color-border-2);
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* 禁用状态 */
|
|
14
|
-
.sortable-file-item.is-disabled[data-v-
|
|
14
|
+
.sortable-file-item.is-disabled[data-v-17fb6dd9] {
|
|
15
15
|
cursor: default;
|
|
16
16
|
opacity: 0.6;
|
|
17
17
|
}
|
|
18
|
-
.file-image[data-v-
|
|
18
|
+
.file-image[data-v-17fb6dd9] {
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 100%;
|
|
21
21
|
object-fit: cover;
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* 视频文件样式 */
|
|
26
|
-
.sortable-file-item.is-video[data-v-
|
|
26
|
+
.sortable-file-item.is-video[data-v-17fb6dd9] {
|
|
27
27
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
28
28
|
}
|
|
29
|
-
.sortable-file-item.is-video .file-image[data-v-
|
|
29
|
+
.sortable-file-item.is-video .file-image[data-v-17fb6dd9] {
|
|
30
30
|
opacity: 0;
|
|
31
31
|
}
|
|
32
|
-
.sortable-file-item.is-video[data-v-
|
|
32
|
+
.sortable-file-item.is-video[data-v-17fb6dd9]::before {
|
|
33
33
|
content: '▶';
|
|
34
34
|
position: absolute;
|
|
35
35
|
top: 50%;
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/* 拖拽中状态 */
|
|
45
|
-
.sortable-file-item.is-dragging[data-v-
|
|
45
|
+
.sortable-file-item.is-dragging[data-v-17fb6dd9] {
|
|
46
46
|
opacity: 0.5;
|
|
47
47
|
transform: scale(0.95);
|
|
48
48
|
border-color: rgb(var(--primary-6));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* 拖拽目标状态 */
|
|
52
|
-
.sortable-file-item.is-over[data-v-
|
|
52
|
+
.sortable-file-item.is-over[data-v-17fb6dd9] {
|
|
53
53
|
border: 2px dashed rgb(var(--primary-6));
|
|
54
54
|
background-color: var(--color-primary-light-1);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* 操作遮罩 */
|
|
58
|
-
.file-mask[data-v-
|
|
58
|
+
.file-mask[data-v-17fb6dd9] {
|
|
59
59
|
position: absolute;
|
|
60
60
|
top: 0;
|
|
61
61
|
left: 0;
|
|
@@ -68,25 +68,25 @@
|
|
|
68
68
|
opacity: 0;
|
|
69
69
|
transition: opacity 0.3s;
|
|
70
70
|
}
|
|
71
|
-
.sortable-file-item:hover .file-mask[data-v-
|
|
71
|
+
.sortable-file-item:hover .file-mask[data-v-17fb6dd9] {
|
|
72
72
|
opacity: 1;
|
|
73
73
|
}
|
|
74
|
-
.file-actions[data-v-
|
|
74
|
+
.file-actions[data-v-17fb6dd9] {
|
|
75
75
|
display: flex;
|
|
76
76
|
gap: 12px;
|
|
77
77
|
}
|
|
78
|
-
.action-icon[data-v-
|
|
78
|
+
.action-icon[data-v-17fb6dd9] {
|
|
79
79
|
color: white;
|
|
80
80
|
font-size: 18px;
|
|
81
81
|
cursor: pointer;
|
|
82
82
|
transition: transform 0.2s;
|
|
83
83
|
}
|
|
84
|
-
.action-icon[data-v-
|
|
84
|
+
.action-icon[data-v-17fb6dd9]:hover {
|
|
85
85
|
transform: scale(1.2);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/* 上传进度 */
|
|
89
|
-
.upload-progress[data-v-
|
|
89
|
+
.upload-progress[data-v-17fb6dd9] {
|
|
90
90
|
position: absolute;
|
|
91
91
|
bottom: 0;
|
|
92
92
|
left: 0;
|
|
@@ -96,15 +96,15 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/* 上传中状态 */
|
|
99
|
-
.sortable-file-item.is-uploading[data-v-
|
|
99
|
+
.sortable-file-item.is-uploading[data-v-17fb6dd9] {
|
|
100
100
|
cursor: default;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* 错误状态 */
|
|
104
|
-
.sortable-file-item.is-error[data-v-
|
|
104
|
+
.sortable-file-item.is-error[data-v-17fb6dd9] {
|
|
105
105
|
border-color: rgb(var(--danger-6));
|
|
106
106
|
}
|
|
107
|
-
.error-tip[data-v-
|
|
107
|
+
.error-tip[data-v-17fb6dd9] {
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: 50%;
|
|
110
110
|
left: 50%;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
gap: 8px;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.video-preview[data-v-
|
|
122
|
+
.video-preview[data-v-b982f870] {
|
|
123
123
|
width: 100%;
|
|
124
124
|
max-width: 100%;
|
|
125
125
|
background: #000;
|
|
@@ -127,25 +127,25 @@
|
|
|
127
127
|
overflow: hidden;
|
|
128
128
|
position: relative;
|
|
129
129
|
}
|
|
130
|
-
.video-preview.fullscreen[data-v-
|
|
130
|
+
.video-preview.fullscreen[data-v-b982f870] {
|
|
131
131
|
border-radius: 0;
|
|
132
132
|
}
|
|
133
|
-
.video-container[data-v-
|
|
133
|
+
.video-container[data-v-b982f870] {
|
|
134
134
|
position: relative;
|
|
135
135
|
width: 100%;
|
|
136
136
|
background: #000;
|
|
137
137
|
cursor: pointer;
|
|
138
138
|
}
|
|
139
|
-
video[data-v-
|
|
139
|
+
video[data-v-b982f870] {
|
|
140
140
|
width: 100%;
|
|
141
141
|
height: auto;
|
|
142
142
|
display: block;
|
|
143
143
|
max-height: 70vh;
|
|
144
144
|
}
|
|
145
|
-
.fullscreen video[data-v-
|
|
145
|
+
.fullscreen video[data-v-b982f870] {
|
|
146
146
|
max-height: 100vh;
|
|
147
147
|
}
|
|
148
|
-
.play-overlay[data-v-
|
|
148
|
+
.play-overlay[data-v-b982f870] {
|
|
149
149
|
position: absolute;
|
|
150
150
|
top: 0;
|
|
151
151
|
left: 0;
|
|
@@ -157,7 +157,7 @@ video[data-v-e8cbf700] {
|
|
|
157
157
|
background: rgba(0, 0, 0, 0.3);
|
|
158
158
|
transition: opacity 0.3s;
|
|
159
159
|
}
|
|
160
|
-
.play-button[data-v-
|
|
160
|
+
.play-button[data-v-b982f870] {
|
|
161
161
|
width: 80px;
|
|
162
162
|
height: 80px;
|
|
163
163
|
border-radius: 50%;
|
|
@@ -168,10 +168,10 @@ video[data-v-e8cbf700] {
|
|
|
168
168
|
color: #000;
|
|
169
169
|
transition: transform 0.2s;
|
|
170
170
|
}
|
|
171
|
-
.play-button[data-v-
|
|
171
|
+
.play-button[data-v-b982f870]:hover {
|
|
172
172
|
transform: scale(1.1);
|
|
173
173
|
}
|
|
174
|
-
.loading-overlay[data-v-
|
|
174
|
+
.loading-overlay[data-v-b982f870] {
|
|
175
175
|
position: absolute;
|
|
176
176
|
top: 0;
|
|
177
177
|
left: 0;
|
|
@@ -182,24 +182,24 @@ video[data-v-e8cbf700] {
|
|
|
182
182
|
justify-content: center;
|
|
183
183
|
background: rgba(0, 0, 0, 0.5);
|
|
184
184
|
}
|
|
185
|
-
.video-controls[data-v-
|
|
185
|
+
.video-controls[data-v-b982f870] {
|
|
186
186
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
|
|
187
187
|
padding: 12px;
|
|
188
188
|
position: relative;
|
|
189
189
|
}
|
|
190
|
-
.progress-bar-container[data-v-
|
|
190
|
+
.progress-bar-container[data-v-b982f870] {
|
|
191
191
|
padding: 8px 0;
|
|
192
192
|
cursor: pointer;
|
|
193
193
|
margin-bottom: 8px;
|
|
194
194
|
}
|
|
195
|
-
.progress-bar[data-v-
|
|
195
|
+
.progress-bar[data-v-b982f870] {
|
|
196
196
|
height: 4px;
|
|
197
197
|
background: rgba(255, 255, 255, 0.3);
|
|
198
198
|
border-radius: 2px;
|
|
199
199
|
position: relative;
|
|
200
200
|
overflow: visible;
|
|
201
201
|
}
|
|
202
|
-
.progress-bar-loaded[data-v-
|
|
202
|
+
.progress-bar-loaded[data-v-b982f870] {
|
|
203
203
|
position: absolute;
|
|
204
204
|
top: 0;
|
|
205
205
|
left: 0;
|
|
@@ -208,7 +208,7 @@ video[data-v-e8cbf700] {
|
|
|
208
208
|
border-radius: 2px;
|
|
209
209
|
transition: width 0.2s;
|
|
210
210
|
}
|
|
211
|
-
.progress-bar-played[data-v-
|
|
211
|
+
.progress-bar-played[data-v-b982f870] {
|
|
212
212
|
position: absolute;
|
|
213
213
|
top: 0;
|
|
214
214
|
left: 0;
|
|
@@ -217,7 +217,7 @@ video[data-v-e8cbf700] {
|
|
|
217
217
|
border-radius: 2px;
|
|
218
218
|
transition: width 0.1s;
|
|
219
219
|
}
|
|
220
|
-
.progress-bar-handle[data-v-
|
|
220
|
+
.progress-bar-handle[data-v-b982f870] {
|
|
221
221
|
position: absolute;
|
|
222
222
|
top: 50%;
|
|
223
223
|
width: 12px;
|
|
@@ -229,21 +229,21 @@ video[data-v-e8cbf700] {
|
|
|
229
229
|
opacity: 0;
|
|
230
230
|
transition: opacity 0.2s;
|
|
231
231
|
}
|
|
232
|
-
.progress-bar-container:hover .progress-bar-handle[data-v-
|
|
232
|
+
.progress-bar-container:hover .progress-bar-handle[data-v-b982f870] {
|
|
233
233
|
opacity: 1;
|
|
234
234
|
}
|
|
235
|
-
.controls-bottom[data-v-
|
|
235
|
+
.controls-bottom[data-v-b982f870] {
|
|
236
236
|
display: flex;
|
|
237
237
|
align-items: center;
|
|
238
238
|
justify-content: space-between;
|
|
239
239
|
}
|
|
240
|
-
.controls-left[data-v-
|
|
241
|
-
.controls-right[data-v-
|
|
240
|
+
.controls-left[data-v-b982f870],
|
|
241
|
+
.controls-right[data-v-b982f870] {
|
|
242
242
|
display: flex;
|
|
243
243
|
align-items: center;
|
|
244
244
|
gap: 8px;
|
|
245
245
|
}
|
|
246
|
-
.control-button[data-v-
|
|
246
|
+
.control-button[data-v-b982f870] {
|
|
247
247
|
background: transparent;
|
|
248
248
|
border: none;
|
|
249
249
|
color: #fff;
|
|
@@ -258,15 +258,15 @@ video[data-v-e8cbf700] {
|
|
|
258
258
|
min-width: 32px;
|
|
259
259
|
height: 32px;
|
|
260
260
|
}
|
|
261
|
-
.control-button[data-v-
|
|
261
|
+
.control-button[data-v-b982f870]:hover {
|
|
262
262
|
background: rgba(255, 255, 255, 0.1);
|
|
263
263
|
}
|
|
264
|
-
.volume-control[data-v-
|
|
264
|
+
.volume-control[data-v-b982f870] {
|
|
265
265
|
position: relative;
|
|
266
266
|
display: flex;
|
|
267
267
|
align-items: center;
|
|
268
268
|
}
|
|
269
|
-
.volume-slider-container[data-v-
|
|
269
|
+
.volume-slider-container[data-v-b982f870] {
|
|
270
270
|
position: absolute;
|
|
271
271
|
bottom: 100%;
|
|
272
272
|
left: 50%;
|
|
@@ -276,7 +276,7 @@ video[data-v-e8cbf700] {
|
|
|
276
276
|
border-radius: 4px;
|
|
277
277
|
margin-bottom: 8px;
|
|
278
278
|
}
|
|
279
|
-
.volume-slider[data-v-
|
|
279
|
+
.volume-slider[data-v-b982f870] {
|
|
280
280
|
writing-mode: vertical-lr;
|
|
281
281
|
direction: rtl;
|
|
282
282
|
width: 4px;
|
|
@@ -284,7 +284,7 @@ video[data-v-e8cbf700] {
|
|
|
284
284
|
padding: 0;
|
|
285
285
|
margin: 0;
|
|
286
286
|
}
|
|
287
|
-
.volume-slider[data-v-
|
|
287
|
+
.volume-slider[data-v-b982f870]::-webkit-slider-thumb {
|
|
288
288
|
-webkit-appearance: none;
|
|
289
289
|
appearance: none;
|
|
290
290
|
width: 12px;
|
|
@@ -293,7 +293,7 @@ video[data-v-e8cbf700] {
|
|
|
293
293
|
border-radius: 50%;
|
|
294
294
|
cursor: pointer;
|
|
295
295
|
}
|
|
296
|
-
.volume-slider[data-v-
|
|
296
|
+
.volume-slider[data-v-b982f870]::-moz-range-thumb {
|
|
297
297
|
width: 12px;
|
|
298
298
|
height: 12px;
|
|
299
299
|
background: #fff;
|
|
@@ -301,7 +301,7 @@ video[data-v-e8cbf700] {
|
|
|
301
301
|
cursor: pointer;
|
|
302
302
|
border: none;
|
|
303
303
|
}
|
|
304
|
-
.time-display[data-v-
|
|
304
|
+
.time-display[data-v-b982f870] {
|
|
305
305
|
color: #fff;
|
|
306
306
|
font-size: 13px;
|
|
307
307
|
font-variant-numeric: tabular-nums;
|
|
@@ -311,15 +311,15 @@ video[data-v-e8cbf700] {
|
|
|
311
311
|
|
|
312
312
|
/* 响应式 */
|
|
313
313
|
@media (max-width: 768px) {
|
|
314
|
-
.play-button[data-v-
|
|
314
|
+
.play-button[data-v-b982f870] {
|
|
315
315
|
width: 60px;
|
|
316
316
|
height: 60px;
|
|
317
317
|
}
|
|
318
|
-
.control-button[data-v-
|
|
318
|
+
.control-button[data-v-b982f870] {
|
|
319
319
|
min-width: 28px;
|
|
320
320
|
height: 28px;
|
|
321
321
|
}
|
|
322
|
-
.time-display[data-v-
|
|
322
|
+
.time-display[data-v-b982f870] {
|
|
323
323
|
font-size: 12px;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -338,13 +338,13 @@ video[data-v-e8cbf700] {
|
|
|
338
338
|
overflow: hidden;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
.video-modal-title[data-v-
|
|
341
|
+
.video-modal-title[data-v-cac8e63e] {
|
|
342
342
|
display: flex;
|
|
343
343
|
align-items: center;
|
|
344
344
|
justify-content: space-between;
|
|
345
345
|
width: 100%;
|
|
346
346
|
}
|
|
347
|
-
.file-name[data-v-
|
|
347
|
+
.file-name[data-v-cac8e63e] {
|
|
348
348
|
font-size: 16px;
|
|
349
349
|
font-weight: 500;
|
|
350
350
|
color: var(--color-text-1);
|
|
@@ -353,26 +353,26 @@ video[data-v-e8cbf700] {
|
|
|
353
353
|
white-space: nowrap;
|
|
354
354
|
max-width: 600px;
|
|
355
355
|
}
|
|
356
|
-
.video-modal-content[data-v-
|
|
356
|
+
.video-modal-content[data-v-cac8e63e] {
|
|
357
357
|
width: 100%;
|
|
358
358
|
min-width: 400px;
|
|
359
359
|
max-width: 90vw;
|
|
360
360
|
background: #000;
|
|
361
361
|
}
|
|
362
362
|
@media (max-width: 768px) {
|
|
363
|
-
.video-modal-content[data-v-
|
|
363
|
+
.video-modal-content[data-v-cac8e63e] {
|
|
364
364
|
min-width: auto;
|
|
365
365
|
}
|
|
366
|
-
.file-name[data-v-
|
|
366
|
+
.file-name[data-v-cac8e63e] {
|
|
367
367
|
font-size: 14px;
|
|
368
368
|
max-width: 250px;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
.basic-upload[data-v-
|
|
372
|
+
.basic-upload[data-v-2be9e535] {
|
|
373
373
|
width: 100%;
|
|
374
374
|
}
|
|
375
|
-
.upload-empty-state[data-v-
|
|
375
|
+
.upload-empty-state[data-v-2be9e535] {
|
|
376
376
|
display: inline-flex;
|
|
377
377
|
align-items: center;
|
|
378
378
|
min-width: 80px;
|
|
@@ -381,14 +381,14 @@ video[data-v-e8cbf700] {
|
|
|
381
381
|
color: var(--color-text-3);
|
|
382
382
|
font-size: 14px;
|
|
383
383
|
}
|
|
384
|
-
.sortable-upload-container[data-v-
|
|
384
|
+
.sortable-upload-container[data-v-2be9e535] {
|
|
385
385
|
width: 100%;
|
|
386
386
|
display: flex;
|
|
387
387
|
flex-wrap: wrap;
|
|
388
388
|
gap: 8px;
|
|
389
389
|
align-items: flex-start;
|
|
390
390
|
}
|
|
391
|
-
.upload-card-button[data-v-
|
|
391
|
+
.upload-card-button[data-v-2be9e535] {
|
|
392
392
|
display: flex;
|
|
393
393
|
flex-direction: column;
|
|
394
394
|
align-items: center;
|
|
@@ -403,42 +403,42 @@ video[data-v-e8cbf700] {
|
|
|
403
403
|
border-color: #e5e7eb;
|
|
404
404
|
border-radius: 6px;
|
|
405
405
|
}
|
|
406
|
-
.upload-card-button .arco-icon[data-v-
|
|
406
|
+
.upload-card-button .arco-icon[data-v-2be9e535] {
|
|
407
407
|
font-size: 24px;
|
|
408
408
|
margin-bottom: 8px;
|
|
409
409
|
}
|
|
410
|
-
.upload-text[data-v-
|
|
410
|
+
.upload-text[data-v-2be9e535] {
|
|
411
411
|
margin-top: 8px;
|
|
412
412
|
font-size: 12px;
|
|
413
413
|
}
|
|
414
|
-
.upload-tip[data-v-
|
|
414
|
+
.upload-tip[data-v-2be9e535] {
|
|
415
415
|
color: var(--color-text-3);
|
|
416
416
|
font-size: 12px;
|
|
417
417
|
line-height: 1.5;
|
|
418
418
|
margin-top: 8px;
|
|
419
419
|
}
|
|
420
|
-
.sortable-tip[data-v-
|
|
420
|
+
.sortable-tip[data-v-2be9e535] {
|
|
421
421
|
width: 100%;
|
|
422
422
|
margin-top: 0;
|
|
423
423
|
}
|
|
424
|
-
[data-v-
|
|
425
|
-
width: var(--
|
|
426
|
-
height: var(--
|
|
427
|
-
line-height: var(--
|
|
424
|
+
[data-v-2be9e535] .arco-upload-list-picture {
|
|
425
|
+
width: var(--v8d4c92d8) !important;
|
|
426
|
+
height: var(--v8d4c92d8) !important;
|
|
427
|
+
line-height: var(--v8d4c92d8) !important;
|
|
428
428
|
}
|
|
429
|
-
[data-v-
|
|
429
|
+
[data-v-2be9e535] .arco-upload-list-picture img {
|
|
430
430
|
width: 100%;
|
|
431
431
|
height: 100%;
|
|
432
432
|
object-fit: cover;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
/* 视频文件占位处理 - 隐藏破损的图片 */
|
|
436
|
-
[data-v-
|
|
436
|
+
[data-v-2be9e535] .arco-upload-list-picture img[src*=".mp4"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".avi"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".mov"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".wmv"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".flv"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".webm"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".mkv"],[data-v-2be9e535] .arco-upload-list-picture img[src*=".m4v"] {
|
|
437
437
|
opacity: 0;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
/* 视频文件容器添加背景和图标 - 使用 :has() 选择器(现代浏览器) */
|
|
441
|
-
[data-v-
|
|
441
|
+
[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img,[data-v-2be9e535] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img {
|
|
442
442
|
position: relative;
|
|
443
443
|
display: flex;
|
|
444
444
|
align-items: center;
|
|
@@ -447,7 +447,7 @@ video[data-v-e8cbf700] {
|
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
/* 视频图标 */
|
|
450
|
-
[data-v-
|
|
450
|
+
[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img::before,[data-v-2be9e535] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img::before {
|
|
451
451
|
content: '▶';
|
|
452
452
|
position: absolute;
|
|
453
453
|
font-size: 32px;
|
|
@@ -457,28 +457,28 @@ video[data-v-e8cbf700] {
|
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
/* 遮罩层 - 修复操作图标位置 */
|
|
460
|
-
[data-v-
|
|
461
|
-
line-height: var(--
|
|
460
|
+
[data-v-2be9e535] .arco-upload-list-picture-mask {
|
|
461
|
+
line-height: var(--v8d4c92d8) !important;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
/* 操作按钮容器 - 根据尺寸调整图标大小 */
|
|
465
|
-
[data-v-
|
|
466
|
-
font-size: calc(var(--
|
|
465
|
+
[data-v-2be9e535] .arco-upload-list-picture-operation {
|
|
466
|
+
font-size: calc(var(--v8d4c92d8) / 80 * 14px) !important;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
/* 错误提示图标 - 根据尺寸调整图标大小 */
|
|
470
|
-
[data-v-
|
|
471
|
-
font-size: calc(var(--
|
|
470
|
+
[data-v-2be9e535] .arco-upload-list-picture-error-tip .arco-upload-icon-error {
|
|
471
|
+
font-size: calc(var(--v8d4c92d8) / 80 * 26px) !important;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
/* 行内视频预览 */
|
|
475
|
-
.inline-video-preview[data-v-
|
|
475
|
+
.inline-video-preview[data-v-2be9e535] {
|
|
476
476
|
margin-top: 16px;
|
|
477
477
|
border: 1px solid var(--color-border-2);
|
|
478
478
|
border-radius: 4px;
|
|
479
479
|
overflow: hidden;
|
|
480
480
|
}
|
|
481
|
-
.close-inline-preview[data-v-
|
|
481
|
+
.close-inline-preview[data-v-2be9e535] {
|
|
482
482
|
width: 100%;
|
|
483
483
|
border-radius: 0;
|
|
484
484
|
}
|
|
@@ -608,10 +608,10 @@ video[data-v-e8cbf700] {
|
|
|
608
608
|
color: var(--color-text-1);
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
.basic-text-ellipsis[data-v-
|
|
611
|
+
.basic-text-ellipsis[data-v-305f9842] {
|
|
612
612
|
width: 100%;
|
|
613
613
|
}
|
|
614
|
-
.text-ellipsis-content[data-v-
|
|
614
|
+
.text-ellipsis-content[data-v-305f9842] {
|
|
615
615
|
width: 100%;
|
|
616
616
|
word-wrap: break-word;
|
|
617
617
|
}
|
|
@@ -629,51 +629,51 @@ video[data-v-e8cbf700] {
|
|
|
629
629
|
margin-top: 4px;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
.basic-table-wrapper[data-v-
|
|
632
|
+
.basic-table-wrapper[data-v-db561fa7] {
|
|
633
633
|
background: var(--color-bg-2, #fff);
|
|
634
634
|
border-radius: 4px;
|
|
635
635
|
padding: 16px;
|
|
636
636
|
}
|
|
637
|
-
.basic-table-toolbar[data-v-
|
|
637
|
+
.basic-table-toolbar[data-v-db561fa7] {
|
|
638
638
|
display: flex;
|
|
639
639
|
justify-content: space-between;
|
|
640
640
|
align-items: center;
|
|
641
641
|
/* padding: 12px 0; */
|
|
642
642
|
margin-bottom: 12px;
|
|
643
643
|
}
|
|
644
|
-
.toolbar-left[data-v-
|
|
644
|
+
.toolbar-left[data-v-db561fa7] {
|
|
645
645
|
display: flex;
|
|
646
646
|
align-items: center;
|
|
647
647
|
}
|
|
648
|
-
.toolbar-title[data-v-
|
|
648
|
+
.toolbar-title[data-v-db561fa7] {
|
|
649
649
|
font-size: 16px;
|
|
650
650
|
font-weight: 600;
|
|
651
651
|
color: var(--color-text-1, #1d2129);
|
|
652
652
|
}
|
|
653
|
-
.toolbar-right[data-v-
|
|
653
|
+
.toolbar-right[data-v-db561fa7] {
|
|
654
654
|
display: flex;
|
|
655
655
|
align-items: center;
|
|
656
656
|
}
|
|
657
|
-
.basic-table-search[data-v-
|
|
657
|
+
.basic-table-search[data-v-db561fa7] {
|
|
658
658
|
/* margin-bottom: 16px; */
|
|
659
659
|
/* padding: 16px; */
|
|
660
660
|
background: var(--color-bg-1, #fff);
|
|
661
661
|
border-radius: 4px;
|
|
662
662
|
padding: 10px 0;
|
|
663
663
|
}
|
|
664
|
-
.column-setting[data-v-
|
|
664
|
+
.column-setting[data-v-db561fa7] {
|
|
665
665
|
width: 200px;
|
|
666
666
|
max-height: 400px;
|
|
667
667
|
overflow-y: auto;
|
|
668
668
|
}
|
|
669
|
-
.column-setting-item[data-v-
|
|
669
|
+
.column-setting-item[data-v-db561fa7] {
|
|
670
670
|
padding: 8px 0;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
.modal-wrapper[data-v-
|
|
673
|
+
.modal-wrapper[data-v-e4400cf8] {
|
|
674
674
|
padding: 0;
|
|
675
675
|
}
|
|
676
|
-
.modal-title-actions[data-v-
|
|
676
|
+
.modal-title-actions[data-v-e4400cf8] {
|
|
677
677
|
position: absolute;
|
|
678
678
|
right: 0;
|
|
679
679
|
top: 50%;
|
|
@@ -683,57 +683,57 @@ video[data-v-e8cbf700] {
|
|
|
683
683
|
gap: 0.5rem;
|
|
684
684
|
pointer-events: auto;
|
|
685
685
|
}
|
|
686
|
-
.modal-title-actions.has-close[data-v-
|
|
686
|
+
.modal-title-actions.has-close[data-v-e4400cf8] {
|
|
687
687
|
right: 1.5rem;
|
|
688
688
|
}
|
|
689
|
-
.cursor-help[data-v-
|
|
689
|
+
.cursor-help[data-v-e4400cf8] {
|
|
690
690
|
cursor: help;
|
|
691
691
|
}
|
|
692
|
-
.cursor-pointer[data-v-
|
|
692
|
+
.cursor-pointer[data-v-e4400cf8] {
|
|
693
693
|
cursor: pointer;
|
|
694
694
|
}
|
|
695
|
-
.text-gray-400[data-v-
|
|
695
|
+
.text-gray-400[data-v-e4400cf8] {
|
|
696
696
|
color: #9ca3af;
|
|
697
697
|
}
|
|
698
|
-
.w-full[data-v-
|
|
698
|
+
.w-full[data-v-e4400cf8] {
|
|
699
699
|
width: 100%;
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
.basic-description[data-v-
|
|
702
|
+
.basic-description[data-v-f93aecf8] {
|
|
703
703
|
width: 100%;
|
|
704
704
|
}
|
|
705
|
-
.description-header[data-v-
|
|
705
|
+
.description-header[data-v-f93aecf8] {
|
|
706
706
|
display: flex;
|
|
707
707
|
justify-content: space-between;
|
|
708
708
|
align-items: center;
|
|
709
709
|
margin-bottom: 16px;
|
|
710
710
|
}
|
|
711
|
-
.description-title[data-v-
|
|
711
|
+
.description-title[data-v-f93aecf8] {
|
|
712
712
|
font-size: 16px;
|
|
713
713
|
font-weight: 600;
|
|
714
714
|
display: flex;
|
|
715
715
|
align-items: center;
|
|
716
716
|
}
|
|
717
|
-
.description-extra[data-v-
|
|
717
|
+
.description-extra[data-v-f93aecf8] {
|
|
718
718
|
font-size: 14px;
|
|
719
719
|
color: var(--color-text-3, #86909c);
|
|
720
720
|
}
|
|
721
|
-
.ml-2[data-v-
|
|
721
|
+
.ml-2[data-v-f93aecf8] {
|
|
722
722
|
margin-left: 8px;
|
|
723
723
|
}
|
|
724
|
-
.cursor-help[data-v-
|
|
724
|
+
.cursor-help[data-v-f93aecf8] {
|
|
725
725
|
cursor: help;
|
|
726
726
|
}
|
|
727
|
-
.text-gray-400[data-v-
|
|
727
|
+
.text-gray-400[data-v-f93aecf8] {
|
|
728
728
|
color: var(--color-text-3, #86909c);
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
.basic-image {
|
|
732
|
-
&[data-v-
|
|
732
|
+
&[data-v-04c54d5a] {
|
|
733
733
|
display: inline-block;
|
|
734
734
|
}
|
|
735
735
|
.basic-image-empty {
|
|
736
|
-
&[data-v-
|
|
736
|
+
&[data-v-04c54d5a] {
|
|
737
737
|
display: flex;
|
|
738
738
|
align-items: center;
|
|
739
739
|
justify-content: center;
|
|
@@ -742,20 +742,20 @@ video[data-v-e8cbf700] {
|
|
|
742
742
|
color: var(--color-text-3);
|
|
743
743
|
font-size: 14px;
|
|
744
744
|
}
|
|
745
|
-
.empty-text[data-v-
|
|
745
|
+
.empty-text[data-v-04c54d5a] {
|
|
746
746
|
color: var(--color-text-3);
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
.basic-image-simple {
|
|
750
|
-
&[data-v-
|
|
750
|
+
&[data-v-04c54d5a] {
|
|
751
751
|
display: inline-block;
|
|
752
752
|
}
|
|
753
753
|
.image-wrapper {
|
|
754
|
-
&[data-v-
|
|
754
|
+
&[data-v-04c54d5a] {
|
|
755
755
|
position: relative;
|
|
756
756
|
display: inline-block;
|
|
757
757
|
}
|
|
758
|
-
.image-count-badge[data-v-
|
|
758
|
+
.image-count-badge[data-v-04c54d5a] {
|
|
759
759
|
position: absolute;
|
|
760
760
|
top: 4px;
|
|
761
761
|
right: 4px;
|
|
@@ -778,16 +778,16 @@ video[data-v-e8cbf700] {
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
.basic-image-grid {
|
|
781
|
-
&[data-v-
|
|
781
|
+
&[data-v-04c54d5a] {
|
|
782
782
|
display: flex;
|
|
783
783
|
flex-wrap: wrap;
|
|
784
784
|
}
|
|
785
|
-
.image-item[data-v-
|
|
785
|
+
.image-item[data-v-04c54d5a] {
|
|
786
786
|
display: inline-block;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
|
-
[data-v-
|
|
790
|
+
[data-v-04c54d5a] .arco-image {
|
|
791
791
|
display: inline-block;
|
|
792
792
|
border-radius: 4px;
|
|
793
793
|
overflow: hidden;
|
|
@@ -798,21 +798,63 @@ video[data-v-e8cbf700] {
|
|
|
798
798
|
transform: translateY(-2px);
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
|
-
[data-v-
|
|
801
|
+
[data-v-04c54d5a] .arco-image-img {
|
|
802
802
|
display: block;
|
|
803
803
|
object-fit: cover;
|
|
804
804
|
}
|
|
805
|
-
[data-v-
|
|
805
|
+
[data-v-04c54d5a] .arco-image-error {
|
|
806
806
|
background: var(--color-fill-2);
|
|
807
807
|
}
|
|
808
|
-
[data-v-
|
|
808
|
+
[data-v-04c54d5a] .arco-image-loading {
|
|
809
809
|
background: var(--color-fill-2);
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
.knt-
|
|
812
|
+
.knt-spinner[data-v-8cd97aae] {
|
|
813
|
+
display: flex;
|
|
814
|
+
flex-direction: column;
|
|
815
|
+
align-items: center;
|
|
816
|
+
gap: 12px;
|
|
817
|
+
}
|
|
818
|
+
.knt-spinner__ring[data-v-8cd97aae] {
|
|
819
|
+
position: relative;
|
|
820
|
+
width: 36px;
|
|
821
|
+
height: 36px;
|
|
822
|
+
}
|
|
823
|
+
.knt-spinner__ring span[data-v-8cd97aae] {
|
|
824
|
+
position: absolute;
|
|
825
|
+
inset: 0;
|
|
826
|
+
border: 3px solid transparent;
|
|
827
|
+
border-top-color: var(--color-primary, #165dff);
|
|
828
|
+
border-radius: 50%;
|
|
829
|
+
animation: knt-spin-8cd97aae 1s linear infinite;
|
|
830
|
+
}
|
|
831
|
+
.knt-spinner__ring span[data-v-8cd97aae]:nth-child(2) {
|
|
832
|
+
animation-delay: -0.25s;
|
|
833
|
+
opacity: 0.6;
|
|
834
|
+
}
|
|
835
|
+
.knt-spinner__ring span[data-v-8cd97aae]:nth-child(3) {
|
|
836
|
+
animation-delay: -0.5s;
|
|
837
|
+
opacity: 0.3;
|
|
838
|
+
}
|
|
839
|
+
.knt-spinner__ring span[data-v-8cd97aae]:nth-child(4) {
|
|
840
|
+
animation-delay: -0.75s;
|
|
841
|
+
opacity: 0.15;
|
|
842
|
+
}
|
|
843
|
+
.knt-spinner__tip[data-v-8cd97aae] {
|
|
844
|
+
margin: 0;
|
|
845
|
+
font-size: 14px;
|
|
846
|
+
color: var(--color-text-2, #4e5969);
|
|
847
|
+
}
|
|
848
|
+
@keyframes knt-spin-8cd97aae {
|
|
849
|
+
to {
|
|
850
|
+
transform: rotate(360deg);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.knt-loading-overlay[data-v-b25f4ff8] {
|
|
813
855
|
pointer-events: auto;
|
|
814
856
|
}
|
|
815
|
-
.knt-loading-overlay__content[data-v-
|
|
857
|
+
.knt-loading-overlay__content[data-v-b25f4ff8] {
|
|
816
858
|
display: flex;
|
|
817
859
|
align-items: center;
|
|
818
860
|
justify-content: center;
|