cloud-web-corejs 1.1.0-dev.45 → 1.1.0-dev.47

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 (41) hide show
  1. package/package.json +1 -1
  2. package/src/app-bootstrap.js +6 -5
  3. package/src/components/Qrcode/fileParse.vue +11 -0
  4. package/src/components/VabUpload/index.js +11 -4
  5. package/src/components/VabUpload/mixins/fileLibraryDialog.js +2 -0
  6. package/src/components/VabUpload/mixins.js +72 -40
  7. package/src/components/VabUpload/partUploadConfig.js +95 -0
  8. package/src/components/VabUpload/privateProfileDialogMixins.js +2 -0
  9. package/src/components/baseInputExport/mixins.js +1 -0
  10. package/src/components/fileLibrary/mixins/indexMixins.js +2 -0
  11. package/src/components/jdPrint/mixins.js +2 -0
  12. package/src/components/obsUpload/index.js +4 -1
  13. package/src/components/obsUpload/mixins.js +45 -15
  14. package/src/components/onlineTalk/mixins.js +11 -0
  15. package/src/components/table/index.js +74 -78
  16. package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/344/273/243/347/240/201/350/257/204/345/256/241.md" +255 -0
  17. package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/346/265/213/350/257/225/351/252/214/350/257/201/345/256/236/346/226/275/346/226/207/346/241/243.md" +595 -0
  18. package/src/components/xform/docs//346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206/344/270/216/344/277/256/345/244/215/350/220/275/345/234/260/346/226/271/346/241/210.md +324 -0
  19. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +1 -1
  20. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -0
  21. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +24 -0
  22. package/src/components/xform/form-render/container-item/data-table-mixin.js +413 -41
  23. package/src/components/xform/form-render/container-item/list-h5-item.vue +109 -38
  24. package/src/components/xform/styles/h5-designer.scss +13 -13
  25. package/src/components/xform/styles/h5-runtime.scss +520 -0
  26. package/src/components/xform/styles/h5.scss +5 -2
  27. package/src/layout/components/TagsView/index.vue +11 -10
  28. package/src/layout/components/TagsView/style.scss +92 -0
  29. package/src/styles/btn.scss +214 -3
  30. package/src/styles/dialog.scss +1710 -0
  31. package/src/styles/element-ui.scss +957 -36
  32. package/src/styles/index.scss +45 -0
  33. package/src/styles/layout-skins.scss +840 -0
  34. package/src/styles/mixin.scss +8 -0
  35. package/src/styles/page-shell.scss +622 -0
  36. package/src/styles/sidebar.scss +15 -0
  37. package/src/styles/utilities.scss +234 -118
  38. package/src/styles/variables.scss +28 -0
  39. package/src/views/user/home/wjl/content.vue +5 -0
  40. package/src/views/user/intf_permission/edit.vue +230 -0
  41. package/src/views/user/intf_permission/list.vue +196 -0
@@ -1,4 +1,6 @@
1
1
  // cover some element-ui styles
2
+ @import "./variables.scss";
3
+ @import "./mixin.scss";
2
4
 
3
5
  .el-breadcrumb__inner,
4
6
  .el-breadcrumb__inner a {
@@ -102,54 +104,973 @@ form.el-form.disabled {
102
104
  }
103
105
  }
104
106
 
105
- .el-link {
106
- font-size: $fontSizeBase;
107
+ .el-link {
108
+ font-size: $fontSizeBase;
107
109
  }
108
110
 
109
- .el-input--small .el-input__inner {
110
- height: 30px;
111
+ .el-input--small .el-input__inner {
112
+ height: 30px;
111
113
  }
112
114
 
113
- .el-dialog__wrapper {
114
- overflow: hidden !important;
115
+ .el-dialog__wrapper {
116
+ overflow: hidden !important;
115
117
  }
116
118
 
117
- .el-button--primary.is-plain {
118
- background: #fff !important;
119
- color: $baseColor !important;
120
- &:hover,
121
- &:focus {
122
- color: $baseColor;
123
- }
119
+ .el-button--primary.is-plain {
120
+ background: #fff !important;
121
+ color: $baseColor !important;
122
+ &:hover,
123
+ &:focus {
124
+ color: $baseColor;
125
+ }
124
126
  }
125
127
 
126
- .el-tag--medium {
127
- margin: 3px 10px 3px 0 !important;
128
- + .el-tag {
129
- margin: 3px 10px 3px 0 !important;
130
- }
131
- + .el-button {
132
- margin-left: 0 !important;
133
- }
134
- > span {
128
+ .el-tag--medium {
129
+ margin: 3px 10px 3px 0 !important;
130
+ + .el-tag {
131
+ margin: 3px 10px 3px 0 !important;
132
+ }
133
+ + .el-button {
134
+ margin-left: 0 !important;
135
+ }
136
+ > span {
135
137
  overflow: hidden;
136
138
  text-overflow: ellipsis;
137
- white-space: nowrap;
138
- display: inline-block;
139
- vertical-align: middle;
140
- text-align: center;
141
- }
142
- > i {
143
- vertical-align: middle;
144
- }
139
+ white-space: nowrap;
140
+ display: inline-block;
141
+ vertical-align: middle;
142
+ text-align: center;
143
+ }
144
+ > i {
145
+ vertical-align: middle;
146
+ }
147
+ }
148
+
149
+ .el-cascader__tags {
150
+ overflow: hidden;
151
+ display: inline-block;
152
+ white-space: nowrap;
145
153
  }
146
154
 
147
- .el-cascader__tags {
148
- overflow: hidden;
149
- display: inline-block;
150
- white-space: nowrap;
155
+ .el-loading-parent--relative {
156
+ overflow: hidden;
157
+ }
158
+
159
+ // 从历史 style.scss 的 body 块迁入,保留 body 前缀以维持特异度。
160
+ body {
161
+ .el-loading-spinner {
162
+ zoom: 2;
163
+ .path {
164
+ stroke-width: 5;
165
+ }
166
+ .el-loading-text {
167
+ zoom: 0.5;
168
+ }
169
+ }
170
+ .v-modal {
171
+ background: #fff;
172
+ opacity: 0.04;
173
+ }
174
+ .el-range-editor--medium {
175
+ .el-range__close-icon {
176
+ line-height: 28px;
177
+ height: 27px;
178
+ }
179
+ .el-range-separator {
180
+ line-height: 18px;
181
+ }
182
+ }
183
+ .el-table {
184
+ font-size: $fontSizeBase;
185
+ .el-input {
186
+ width: 100% !important;
187
+ .el-input__suffix {
188
+ top: 1px;
189
+ .el-input__icon {
190
+ line-height: 25px !important;
191
+ }
192
+ }
193
+ }
194
+ .drag-option {
195
+ cursor: pointer;
196
+ }
197
+ }
198
+ .el-tag--medium {
199
+ height: $control-height;
200
+ line-height: 26px;
201
+ &.purple {
202
+ background-color: #fbecff;
203
+ border-color: #ffe2ff;
204
+ color: #a423e6;
205
+ }
206
+ &.blue {
207
+ background-color: #ecf5ff;
208
+ border-color: #d9ecff;
209
+ color: #409eff;
210
+ }
211
+ &.yellow {
212
+ background-color: #f8ffe0;
213
+ border-color: #f5f1c0;
214
+ color: #d8d100;
215
+ }
216
+ + .el-tag {
217
+ margin-left: 10px;
218
+ }
219
+ + .el-button {
220
+ margin-left: 10px;
221
+ vertical-align: middle;
222
+ }
223
+ + .el-link {
224
+ margin-left: 10px;
225
+ vertical-align: middle;
226
+ }
227
+ }
228
+ .el-select__tags {
229
+ flex-wrap: nowrap;
230
+ > span {
231
+ white-space: nowrap;
232
+ display: block !important;
233
+ overflow: hidden;
234
+ }
235
+ > .el-select__input {
236
+ flex: 1;
237
+ width: inherit !important;
238
+ display: block;
239
+ height: 25px;
240
+ padding-left: 10px;
241
+ font-size: $fontSizeBase;
242
+ margin-left: 0;
243
+ }
244
+ }
245
+ .el-breadcrumb {
246
+ font-size: $fontSizeBase;
247
+ display: inline-block;
248
+ .el-breadcrumb__item {
249
+ float: none;
250
+ span {
251
+ cursor: pointer;
252
+ }
253
+ }
254
+ }
255
+ .el-radio {
256
+ .el-radio__inner {
257
+ vertical-align: middle;
258
+ margin-bottom: 2px;
259
+ }
260
+ &.radio-checkbox {
261
+ position: relative;
262
+ padding: 0;
263
+ height: $control-height;
264
+ min-width: 100px;
265
+ line-height: 28px;
266
+ border-radius: $control-radius;
267
+ cursor: pointer;
268
+ .el-radio__input {
269
+ display: none;
270
+ }
271
+ .el-radio__label {
272
+ font-size: $fontSizeBase;
273
+ padding-right: 10px;
274
+ }
275
+ .standard {
276
+ background: #d62b31;
277
+ color: #fff;
278
+ position: absolute;
279
+ right: -1px;
280
+ top: -1px;
281
+ border-radius: 1px;
282
+ padding: 2px;
283
+ font-style: inherit;
284
+ font-size: $fontSizeBase;
285
+ line-height: 1;
286
+ }
287
+ &.is-checked {
288
+ border-color: #d62b31;
289
+ background-color: #fad8d7;
290
+ .el-radio__label {
291
+ color: #d62b31;
292
+ }
293
+ }
294
+ &.is-disabled {
295
+ background-color: #ebebeb;
296
+ border-color: #ebebeb;
297
+ }
298
+ }
299
+ .el-radio__input.is-disabled {
300
+ + span.el-radio__label {
301
+ color: inherit;
302
+ }
303
+ &.is-checked + span.el-radio__label {
304
+ color: $baseColor;
305
+ }
306
+ }
307
+ }
308
+ .el-checkbox {
309
+ &.is-disabled:not(.is-checked) {
310
+ .el-checkbox__inner:after {
311
+ display: none;
312
+ }
313
+ }
314
+ &.is-disabled {
315
+ .el-checkbox__inner:after {
316
+ color: #c5c5c5;
317
+ }
318
+ }
319
+ &.radio-checkbox {
320
+ position: relative;
321
+ padding: 0 !important;
322
+ height: $control-height !important;
323
+ min-width: 100px;
324
+ line-height: 28px;
325
+ border-radius: $control-radius !important;
326
+ cursor: pointer;
327
+ padding: 0;
328
+ .el-checkbox__input {
329
+ display: none;
330
+ }
331
+ .el-checkbox__label {
332
+ font-size: $fontSizeBase;
333
+ padding-right: 10px;
334
+ }
335
+ .standard {
336
+ background: #d62b31;
337
+ color: #fff;
338
+ position: absolute;
339
+ right: -1px;
340
+ top: -1px;
341
+ border-radius: 1px;
342
+ padding: 2px;
343
+ font-style: inherit;
344
+ font-size: $fontSizeBase;
345
+ line-height: 1;
346
+ }
347
+ &.is-checked {
348
+ border-color: #d62b31;
349
+ background-color: #fad8d7;
350
+ .el-checkbox__label {
351
+ color: #d62b31;
352
+ }
353
+ }
354
+ &.is-disabled {
355
+ background-color: #ebebeb;
356
+ border-color: #ebebeb;
357
+ }
358
+ }
359
+ .el-checkbox__input.is-disabled {
360
+ + span.el-checkbox__label {
361
+ color: inherit;
362
+ }
363
+ &.is-checked + span.el-checkbox__label {
364
+ color: $baseColor;
365
+ }
366
+ }
367
+ }
368
+ .el-select-dropdown__wrap {
369
+ max-height: 474px;
370
+ }
371
+ .el-checkbox__inner:after {
372
+ height: auto;
373
+ border-width: 0;
374
+ width: auto;
375
+ zoom: 1;
376
+ top: inherit;
377
+ left: inherit;
378
+ content: "";
379
+ font-family: element-icons !important;
380
+ transform: none !important;
381
+ color: #fff;
382
+ font-size: $fontSizeBase;
383
+ top: 0.5px;
384
+ }
385
+ .el-dropdown-menu--medium .el-dropdown-menu__item {
386
+ font-size: $fontSizeBase;
387
+ }
388
+ .el-upload {
389
+ display: block;
390
+ }
391
+ .el-form-item {
392
+ margin-bottom: 0;
393
+ .el-form-item__label {
394
+ font-size: $fontSizeBase;
395
+ font-weight: 400;
396
+ line-height: 28px;
397
+ margin-top: 1px;
398
+ margin-bottom: 0;
399
+ vertical-align: middle;
400
+ &:after {
401
+ content: ":";
402
+ }
403
+ }
404
+ .el-form-item__content {
405
+ vertical-align: middle;
406
+ }
407
+ .el-form-item__error {
408
+ display: none;
409
+ }
410
+ }
411
+ .el-form-item--medium .el-form-item__content {
412
+ line-height: 28px;
413
+ }
414
+ .el-form.form-m2 {
415
+ height: 70vh;
416
+ overflow: auto;
417
+ .el-form-item {
418
+ width: calc(50% - 20px);
419
+ display: inline-block;
420
+ margin: 4px 10px;
421
+ .el-form-item__label {
422
+ padding-bottom: 2px;
423
+ }
424
+ }
425
+ }
426
+ .el-input {
427
+ width: 148px !important;
428
+ font-size: $fontSizeBase;
429
+ &.all-width {
430
+ width: 100% !important;
431
+ }
432
+ .el-input__inner {
433
+ width: 100%;
434
+ border-radius: $control-radius;
435
+ border-color: $border-color-soft;
436
+ padding: 0 24px 0 8px;
437
+ height: $control-height !important;
438
+ line-height: 28px;
439
+ &:focus {
440
+ border-color: $baseColor;
441
+ }
442
+ }
443
+ .el-input__suffix {
444
+ top: 1px;
445
+ .el-input__suffix-inner {
446
+ display: inline-block;
447
+ }
448
+ }
449
+ .el-input__suffix,
450
+ .el-input__prefix {
451
+ right: 0;
452
+ .el-input__iconview {
453
+ position: absolute;
454
+ right: -22px;
455
+ top: 0;
456
+ line-height: 27px;
457
+ font-size: 16px;
458
+ color: $text-color-dark;
459
+ }
460
+ .el-input__icon {
461
+ cursor: pointer;
462
+ line-height: 28px !important;
463
+ float: right;
464
+ &.el-icon-search {
465
+ font-size: 14px;
466
+ margin-top: -2px;
467
+ }
468
+ &.el-icon-date {
469
+ line-height: 28px;
470
+ }
471
+ &.el-icon-circle-close {
472
+ width: 26px;
473
+ height: 27px;
474
+ margin-top: 0;
475
+ }
476
+ &.el-icon-time {
477
+ font-size: 14px;
478
+ line-height: 32px !important;
479
+ }
480
+ }
481
+ }
482
+ &.is-disabled .el-input__inner {
483
+ background-color: $bg-color-disabled;
484
+ padding-right: 12px;
485
+ color: $text-color-disabled;
486
+ &::placeholder {
487
+ color: $text-color-disabled;
488
+ }
489
+ }
490
+ &.el-date-editor {
491
+ &.el-date-editor--datetime {
492
+ .el-input__prefix,
493
+ .el-input__suffix {
494
+ width: 26px;
495
+ .el-input__icon {
496
+ width: 100%;
497
+ }
498
+ }
499
+ .el-input__suffix {
500
+ top: 2px;
501
+ }
502
+ }
503
+ .el-icon-circle-close {
504
+ position: absolute;
505
+ right: 1px;
506
+ top: 1px;
507
+ height: 26px !important ;
508
+ line-height: 27px !important;
509
+ font-size: 14px;
510
+ transition: none;
511
+ margin-top: -1px !important;
512
+ margin-right: -1px !important;
513
+ &:before {
514
+ background: #fff;
515
+ }
516
+ }
517
+ + span {
518
+ margin: 0 10px;
519
+ vertical-align: middle;
520
+ }
521
+ }
522
+ &.search-input {
523
+ // .el-input__inner{padding:0 52px 0 8px;}
524
+ &.is-disabled .el-input__suffix .el-input__suffix-inner {
525
+ pointer-events: none;
526
+ }
527
+ //.el-input__icon.el-icon-circle-close.el-input__clear{background:#FFF;height: 26px !important;margin-top: 1px;margin-right: -3px;zoom: 0.9;}
528
+ //.el-input__icon.el-icon-circle-close.el-input__clear{position: absolute;right: 25px;background: #FFF;bottom: 2px;top: 0;height: inherit !important;line-height: 16px;}
529
+ .el-input__icon.el-icon-circle-close.el-input__clear {
530
+ position: relative;
531
+ margin-top: 0;
532
+ top: 0;
533
+ &:before {
534
+ position: relative;
535
+ z-index: 1;
536
+ }
537
+ &:after {
538
+ content: "";
539
+ position: absolute;
540
+ top: 4px;
541
+ bottom: 4px;
542
+ background: #fff;
543
+ left: 0;
544
+ width: 100%;
545
+ z-index: 0;
546
+ height: auto;
547
+ }
548
+ }
549
+ }
550
+ &.moreInfo {
551
+ &:before {
552
+ content: "\e600";
553
+ font-family: "iconfont";
554
+ position: absolute;
555
+ right: 3px;
556
+ top: 0;
557
+ color: $baseColor;
558
+ z-index: 2;
559
+ line-height: 19px;
560
+ transform: scale(0.55);
561
+ font-size: 13px;
562
+ }
563
+ .el-input__inner {
564
+ cursor: pointer;
565
+ }
566
+ .el-input__suffix {
567
+ background: #fff;
568
+ z-index: 2;
569
+ right: 1px !important;
570
+ height: 93%;
571
+ border-radius: $control-radius;
572
+ }
573
+ }
574
+ }
575
+ .el-date-editor--datetimerange.el-input,
576
+ .el-date-editor--datetimerange.el-input__inner {
577
+ width: 100%;
578
+ }
579
+ .el-range-editor {
580
+ width: 100%;
581
+ border-radius: $control-radius;
582
+ border-color: $border-color-soft;
583
+ padding: 0 24px 0 8px;
584
+ height: $control-height !important;
585
+ line-height: 28px;
586
+ &:focus {
587
+ border-color: $baseColor;
588
+ }
589
+ .el-range-input {
590
+ font-size: $fontSizeBase;
591
+ }
592
+ .el-range__icon {
593
+ line-height: 19px;
594
+ }
595
+ }
596
+ .el-tag--mini {
597
+ line-height: 16px;
598
+ }
599
+ .el-select {
600
+ cursor: pointer;
601
+ .el-select__tags {
602
+ top: inherit;
603
+ transform: initial;
604
+ margin-top: 1px; //影响用户角色不对其
605
+ .el-tag {
606
+ margin-top: 3px;
607
+ display: inline-block;
608
+ &.el-tag--small {
609
+ height: 18px;
610
+ line-height: 18px;
611
+ }
612
+ }
613
+ }
614
+ .el-tag__close.el-icon-close {
615
+ right: -4px;
616
+ top: -0.5px;
617
+ }
618
+ &:hover .el-input__inner {
619
+ border-color: $border-color-soft;
620
+ }
621
+ }
622
+ .el-select-dropdown {
623
+ max-width: 80%;
624
+ .el-select-dropdown__item {
625
+ font-size: $fontSizeBase;
626
+ padding: 10px 12px;
627
+ line-height: 17px;
628
+ height: inherit;
629
+ white-space: normal;
630
+ span {
631
+ font-weight: 400;
632
+ }
633
+ &.selected {
634
+ font-weight: 400;
635
+ }
636
+ }
637
+ }
638
+ .el-input--prefix {
639
+ .el-input__inner {
640
+ padding-left: 8px;
641
+ }
642
+ .el-input__prefix {
643
+ left: initial;
644
+ right: 0;
645
+ }
646
+ }
647
+ .el-input-number {
648
+ &.el-input-number--small {
649
+ /*width: 148px*/
650
+ width: 100%;
651
+ line-height: 28px;
652
+ height: $control-height;
653
+ }
654
+ .el-input {
655
+ width: 100% !important;
656
+ border-radius: $control-radius;
657
+ .el-input__inner {
658
+ padding: 0 30px;
659
+ }
660
+ }
661
+ [role="button"] {
662
+ line-height: 26px;
663
+ height: 26px;
664
+ margin-top: 1px;
665
+ }
666
+ &.noButton {
667
+ line-height: 30px;
668
+ //&:after{content:"";width: 0;height: 0;border-top: 18px solid transparentize($baseColor,0.6);border-left: 18px solid transparent;position: absolute;right:-2px;top:0;transform: scale(0.7);}
669
+ &:before {
670
+ content: "N";
671
+ position: absolute;
672
+ right: 3px;
673
+ top: 0;
674
+ color: $baseColor;
675
+ z-index: 2;
676
+ line-height: 19px;
677
+ transform: scale(0.55);
678
+ font-size: 13px;
679
+ }
680
+ .el-input .el-input__inner {
681
+ padding: 0 8px;
682
+ text-align: left;
683
+ }
684
+ [role="button"] {
685
+ display: none;
686
+ }
687
+ }
688
+ }
689
+ .el-textarea {
690
+ .el-textarea__inner {
691
+ border-radius: $control-radius;
692
+ border-color: $border-color-soft;
693
+ padding: 4px 8px;
694
+ min-height: 32px;
695
+ font-size: $fontSizeBase;
696
+ line-height: 1.4;
697
+ &:focus {
698
+ border-color: $baseColor;
699
+ }
700
+ }
701
+ &.noborder .el-textarea__inner {
702
+ border: none;
703
+ padding: 12px 16px;
704
+ }
705
+ &.is-disabled .el-textarea__inner {
706
+ background: $bg-color-disabled;
707
+ color: $text-color-disabled;
708
+ &::placeholder {
709
+ color: $text-color-disabled;
710
+ }
711
+ }
712
+ }
713
+ .el-checkbox__label,
714
+ .el-radio__label {
715
+ font-size: $fontSizeBase;
716
+ }
717
+ .el-select-dropdown__empty,
718
+ .el-cascader-panel {
719
+ font-size: $fontSizeBase;
720
+ }
721
+ .el-checkbox-group {
722
+ .el-checkbox {
723
+ vertical-align: middle;
724
+ }
725
+ }
726
+ .el-checkbox,
727
+ .el-radio {
728
+ &.is-disabled {
729
+ .el-checkbox__inner {
730
+ background-color: $bg-color-disabled;
731
+ border-color: $border-color-disabled;
732
+ }
733
+ }
734
+ }
735
+
736
+ .custom-width {
737
+ .el-input {
738
+ width: 100% !important;
739
+ }
740
+ }
741
+ .vxe-select-option--wrapper {
742
+ border: solid 1px $border-color-disabled;
743
+ border-radius: 4px;
744
+ background-color: #ffffff;
745
+ -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
746
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
747
+ margin: 4px 0;
748
+ &:before,
749
+ &:after {
750
+ content: "";
751
+ position: absolute;
752
+ display: block;
753
+ width: 0;
754
+ height: 0;
755
+ border-color: transparent;
756
+ border-style: solid;
757
+ border-width: 6px;
758
+ left: 20px;
759
+ }
760
+ &:before {
761
+ top: 2px;
762
+ border-top-width: 0;
763
+ border-bottom-color: #e6ebf5;
764
+ }
765
+ &::after {
766
+ top: 4px;
767
+ border-top-width: 0;
768
+ border-bottom-color: #ffffff;
769
+ }
770
+ .vxe-select-option {
771
+ font-size: $fontSizeBase;
772
+ color: $text-color-body;
773
+ height: 34px;
774
+ line-height: 34px;
775
+ &.is--selected {
776
+ font-weight: 400;
777
+ color: $baseColor;
778
+ }
779
+ }
780
+ }
781
+
782
+ .avatar-uploader {
783
+ border: dashed 1px #e2e2e2;
784
+ width: 102px;
785
+ height: 102px;
786
+ background-color: #fbfdff;
787
+ border-radius: $control-radius;
788
+ font-size: 0;
789
+ line-height: 104px;
790
+ color: $text-color-placeholder;
791
+ padding: 0;
792
+ cursor: pointer;
793
+ margin-bottom: 10px;
794
+ .avatar-uploader-icon {
795
+ width: inherit;
796
+ height: inherit;
797
+ font-size: 32px;
798
+ line-height: inherit;
799
+ }
800
+ }
801
+ .upload-finish {
802
+ border: 1px dashed #d9d9d9;
803
+ border-radius: 6px;
804
+ height: 180px;
805
+ width: 100%;
806
+ font-size: $fontSizeBase;
807
+ color: $text-color-muted;
808
+ text-align: center;
809
+ line-height: 1;
810
+ position: relative;
811
+ .ico {
812
+ width: 88px;
813
+ height: 88px;
814
+ display: block;
815
+ margin: 20px auto 0;
816
+ }
817
+ .name {
818
+ color: $text-color-body;
819
+ font-size: $fontSizeBase;
820
+ padding: 0 24px;
821
+ margin-top: 12px;
822
+ }
823
+ .progress {
824
+ position: absolute;
825
+ bottom: 4px;
826
+ left: 0;
827
+ right: 0;
828
+ }
829
+ .js-close {
830
+ position: absolute;
831
+ right: 6px;
832
+ font-size: 21px;
833
+ top: 5px;
834
+ cursor: pointer;
835
+ color: $red;
836
+ }
837
+ }
838
+ .el-upload-list {
839
+ vertical-align: middle;
840
+ max-height: 300px;
841
+ line-height: 0;
842
+ &.el-upload-list--picture .el-upload-list__item {
843
+ z-index: auto;
844
+ }
845
+ .el-upload-list__item {
846
+ display: inline-block;
847
+ width: 252px;
848
+ height: 102px;
849
+ margin-right: 14px;
850
+ border-radius: $control-radius;
851
+ padding: 0 8px 0 79px;
852
+ border-color: $border-color-soft;
853
+ margin-top: 0;
854
+ margin-bottom: 10px;
855
+ .el-checkbox {
856
+ position: absolute;
857
+ top: 4px;
858
+ left: 6px;
859
+ .el-checkbox__inner {
860
+ border-radius: 50%;
861
+ width: 20px;
862
+ height: 20px;
863
+ line-height: 19px;
864
+ padding-left: 3px;
865
+ }
866
+ }
867
+ .el-upload-list__item-thumbnail {
868
+ width: 98px;
869
+ height: 98px;
870
+ padding: 4px 6px;
871
+ position: relative;
872
+ cursor: pointer;
873
+ overflow: hidden;
874
+ .show-video {
875
+ background-color: rgba(0, 0, 0, 0.29);
876
+ position: absolute;
877
+ left: 6px;
878
+ right: 6px;
879
+ top: 4px;
880
+ bottom: 4px;
881
+ color: #fff;
882
+ font-size: 28px;
883
+ line-height: 94px;
884
+ text-align: center;
885
+ display: none;
886
+ z-index: 2;
887
+ i {
888
+ margin: 0 10px;
889
+ &.icon-chakan {
890
+ font-family: "iconfont";
891
+ font-style: inherit;
892
+ font-size: 30px;
893
+ }
894
+ }
895
+ }
896
+ &:hover .show-video {
897
+ display: block;
898
+ }
899
+ p {
900
+ width: 90px;
901
+ height: 90px;
902
+ display: table-cell;
903
+ vertical-align: middle;
904
+ text-align: center;
905
+ line-height: 0;
906
+ img {
907
+ max-width: 90px;
908
+ max-height: 90px;
909
+ }
910
+ }
911
+ .el-image {
912
+ border: none;
913
+ }
914
+ }
915
+ .el-upload-list__item-name {
916
+ font-size: $fontSizeBase;
917
+ line-height: 1.5 !important;
918
+ margin-top: 1px;
919
+ margin-right: 16px;
920
+ p {
921
+ margin: 0;
922
+ line-height: 1.6;
923
+ color: $text-color-muted;
924
+ &:first-child {
925
+ // 文件名最多 2 行,超出打点;各 widgetSize 可用 -webkit-line-clamp 覆盖行数
926
+ @include clamp(2);
927
+ white-space: initial;
928
+ word-break: break-all;
929
+ color: #424242;
930
+ margin-top: 8px;
931
+ max-height: 30px;
932
+ line-height: 1.2;
933
+ }
934
+ &.f-red {
935
+ color: #ff2626;
936
+ }
937
+ }
938
+ i {
939
+ top: 2px;
940
+ left: 2px;
941
+ }
942
+ }
943
+ .el-progress {
944
+ margin: 23px 0 0;
945
+ padding: 0 4px;
946
+ .el-progress__text {
947
+ top: 6px !important;
948
+ font-size: $fontSizeBase !important;
949
+ right: 4px;
950
+ }
951
+ }
952
+ .el-upload-list__item-status-label {
953
+ i {
954
+ margin-top: 13px;
955
+ margin-left: 3px;
956
+ }
957
+ &.error {
958
+ background: $red;
959
+ i {
960
+ color: #fff;
961
+ }
962
+ }
963
+ &.load {
964
+ background: $baseColor;
965
+ }
966
+ }
967
+ .el-upload-input {
968
+ display: flex;
969
+ padding-left: 4px;
970
+ line-height: 28px;
971
+ margin-top: 7px;
972
+ > span {
973
+ flex: 1;
974
+ font-size: $fontSizeBase;
975
+ white-space: nowrap;
976
+ }
977
+ .button-sty {
978
+ padding: 0;
979
+ }
980
+ }
981
+ .el-upload-list__item-href {
982
+ font-size: $fontSizeBase;
983
+ padding-left: 4px;
984
+ color: $baseColor;
985
+ line-height: 15px;
986
+ overflow: hidden;
987
+ span {
988
+ border-bottom: solid 1px $baseColor;
989
+ display: inline-block;
990
+ cursor: pointer;
991
+ }
992
+ }
993
+ .el-icon-tagEdit {
994
+ position: absolute;
995
+ bottom: 6px;
996
+ right: 6px;
997
+ cursor: pointer;
998
+ color: $baseColor;
999
+ i {
1000
+ font-size: 18px;
1001
+ margin-left: 14px;
1002
+ &.icon-tihuan3 {
1003
+ font-size: 15px;
1004
+ }
1005
+ }
1006
+ }
1007
+ &.is-fail {
1008
+ .el-upload-list__item-status-label {
1009
+ display: block;
1010
+ }
1011
+ &:focus,
1012
+ &:hover {
1013
+ .el-upload-list__item-status-label {
1014
+ display: none;
1015
+ }
1016
+ }
1017
+ }
1018
+ }
1019
+ &.cur .el-upload-list__item {
1020
+ border-color: $baseColor;
1021
+ }
1022
+ }
1023
+
1024
+ .el-drawer {
1025
+ .el-drawer__header {
1026
+ font-size: 13px;
1027
+ padding: 0 16px;
1028
+ height: 42px;
1029
+ line-height: 42px;
1030
+ margin-bottom: 0;
1031
+ span {
1032
+ font-family: element-icons !important;
1033
+ &:before {
1034
+ content: "";
1035
+ color: $baseColor;
1036
+ vertical-align: middle;
1037
+ margin-right: 6px;
1038
+ font-size: 14px;
1039
+ }
1040
+ }
1041
+ .el-button span:before {
1042
+ display: none;
1043
+ }
1044
+ }
1045
+ .el-drawer__body {
1046
+ padding: 0 16px;
1047
+ }
1048
+ }
1049
+ .el-image {
1050
+ border: dashed 1px #e2e2e2;
1051
+ .el-image-viewer__close {
1052
+ color: #fff;
1053
+ background-color: $text-color-body;
1054
+ .el-icon-circle-close {
1055
+ font-size: 24px;
1056
+ &:before {
1057
+ content: "";
1058
+ }
1059
+ }
1060
+ }
1061
+ }
1062
+ .el-image-viewer__wrapper .el-image-viewer__close {
1063
+ color: #fff;
1064
+ background-color: $text-color-body;
1065
+ .el-icon-circle-close {
1066
+ font-size: 24px;
1067
+ &:before {
1068
+ content: "";
1069
+ }
1070
+ }
1071
+ }
151
1072
  }
152
1073
 
153
- .el-loading-parent--relative {
154
- overflow: hidden;
1074
+ .el-date-range-picker__editors-wrap .el-date-range-picker__editor.el-input {
1075
+ width: 100% !important;
155
1076
  }