vue2-client 1.18.33 → 1.18.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/package.json
CHANGED
|
@@ -427,41 +427,105 @@ export default {
|
|
|
427
427
|
padding-left: 13px;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
/* 报表模式下的表格样式 */
|
|
431
430
|
.table-report-mode.table-container {
|
|
431
|
+
padding-left: 0px !important;
|
|
432
|
+
|
|
433
|
+
/* 修复表格整体边框 */
|
|
434
|
+
|
|
432
435
|
:deep(.ant-table) {
|
|
433
436
|
border: 1px solid #E5E9F0 !important;
|
|
434
437
|
border-radius: 4px;
|
|
435
438
|
overflow: hidden;
|
|
436
439
|
}
|
|
437
440
|
|
|
441
|
+
/* 修复表头容器 - 关键修复 */
|
|
442
|
+
|
|
443
|
+
:deep(.ant-table-header) {
|
|
444
|
+
margin-bottom: 0 !important;
|
|
445
|
+
padding-bottom: 0 !important;
|
|
446
|
+
min-width: auto !important;
|
|
447
|
+
overflow: hidden !important;
|
|
448
|
+
|
|
449
|
+
/* 修复表格元素 */
|
|
450
|
+
|
|
451
|
+
table {
|
|
452
|
+
border-spacing: 0 !important;
|
|
453
|
+
border-collapse: collapse !important;
|
|
454
|
+
table-layout: fixed !important;
|
|
455
|
+
width: 100% !important;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/* 修复表头单元格 */
|
|
460
|
+
|
|
438
461
|
:deep(.ant-table-thead > tr > th) {
|
|
439
462
|
border-bottom: 1px solid #E5E9F0 !important;
|
|
440
463
|
border-right: none !important;
|
|
441
464
|
border-left: none !important;
|
|
442
|
-
padding: 8px 6px !important;
|
|
443
|
-
margin: 0 !important;
|
|
444
465
|
background: white !important;
|
|
445
|
-
}
|
|
446
466
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
border-right: none !important;
|
|
450
|
-
border-left: none !important;
|
|
451
|
-
padding: 6px !important;
|
|
467
|
+
/* 关键:强制清除内边距 */
|
|
468
|
+
padding: 0 !important;
|
|
452
469
|
margin: 0 !important;
|
|
453
|
-
}
|
|
454
470
|
|
|
455
|
-
|
|
456
|
-
|
|
471
|
+
/* 关键:设置固定高度和行高 */
|
|
472
|
+
height: 37px !important;
|
|
473
|
+
line-height: 37px !important;
|
|
474
|
+
vertical-align: middle !important;
|
|
475
|
+
|
|
476
|
+
/* 确保内容正确显示 */
|
|
477
|
+
|
|
478
|
+
.ant-table-header-column {
|
|
479
|
+
display: block;
|
|
480
|
+
height: 100%;
|
|
481
|
+
|
|
482
|
+
& > div {
|
|
483
|
+
height: 100%;
|
|
484
|
+
display: flex;
|
|
485
|
+
align-items: center;
|
|
486
|
+
justify-content: center;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.ant-table-column-title {
|
|
491
|
+
display: block;
|
|
492
|
+
padding: 0 !important;
|
|
493
|
+
margin: 0 !important;
|
|
494
|
+
line-height: 37px !important;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.ant-table-column-sorter {
|
|
498
|
+
margin: 0 !important;
|
|
499
|
+
}
|
|
457
500
|
}
|
|
458
501
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
502
|
+
/* 修复表格内容区域 */
|
|
503
|
+
|
|
504
|
+
:deep(.ant-table-tbody > tr) {
|
|
505
|
+
border: none !important;
|
|
506
|
+
margin: 0 !important;
|
|
507
|
+
padding: 0 !important;
|
|
508
|
+
height: 37px !important;
|
|
509
|
+
|
|
510
|
+
td {
|
|
511
|
+
border-bottom: 1px solid #E5E9F0 !important;
|
|
512
|
+
border-right: none !important;
|
|
513
|
+
border-left: none !important;
|
|
514
|
+
background: white !important;
|
|
515
|
+
padding: 0 !important;
|
|
516
|
+
margin: 0 !important;
|
|
517
|
+
height: 37px !important;
|
|
518
|
+
line-height: 37px !important;
|
|
519
|
+
vertical-align: middle !important;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&:last-child td {
|
|
523
|
+
border-bottom: none !important;
|
|
524
|
+
}
|
|
463
525
|
}
|
|
464
526
|
|
|
527
|
+
/* 确保表格滚动区域正确 */
|
|
528
|
+
|
|
465
529
|
:deep(.ant-table-content) {
|
|
466
530
|
margin: 0 !important;
|
|
467
531
|
padding: 0 !important;
|
|
@@ -473,10 +537,6 @@ export default {
|
|
|
473
537
|
border-top: none !important;
|
|
474
538
|
}
|
|
475
539
|
|
|
476
|
-
:deep(.ant-table-header) {
|
|
477
|
-
margin-bottom: 0 !important;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
540
|
:deep(.ant-table-scroll) {
|
|
481
541
|
overflow: hidden;
|
|
482
542
|
}
|
|
@@ -541,7 +601,7 @@ export default {
|
|
|
541
601
|
:deep(.ant-table-thead > tr > th) {
|
|
542
602
|
border-bottom: none !important;
|
|
543
603
|
background: none !important;
|
|
544
|
-
padding: 8px 6px
|
|
604
|
+
padding: 8px 6px;
|
|
545
605
|
position: sticky;
|
|
546
606
|
top: 0;
|
|
547
607
|
z-index: 1;
|