n20-common-lib 3.0.69 → 3.0.71

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "3.0.69",
3
+ "version": "3.0.71",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -237,8 +237,8 @@
237
237
  }
238
238
  }
239
239
 
240
- /* 为没有wrapper的旧版本组件添加兼容样式 - 全局作用域 */
241
- /* 这些样式会应用于所有TablePro组件,无论是否有wrapper */
240
+ /* 为没有wrapper的旧版本组件添加兼容样式 */
241
+ /* 这些全局样式会被v3版本的wrapper样式覆盖,实现兼容 */
242
242
  .el-table--small {
243
243
  font-size: 14px;
244
244
  }
@@ -389,10 +389,6 @@
389
389
  }
390
390
  }
391
391
 
392
- .vxe-cell--wrapper {
393
- justify-content: center !important;
394
- }
395
-
396
392
  .vxe-header--row {
397
393
  color: #333;
398
394
  background-color: #f5f5f5;
@@ -421,12 +417,6 @@
421
417
  font-size: 14px !important;
422
418
  }
423
419
 
424
- .vxe-header--row th,
425
- th.vxe-header--column {
426
- position: relative;
427
- font-weight: $--font-weight-primary;
428
- }
429
-
430
420
  .vxe-table--tooltip-wrapper {
431
421
  z-index: 9999 !important;
432
422
  }
@@ -454,18 +444,25 @@ th.vxe-header--column {
454
444
  max-height: 100%;
455
445
  }
456
446
 
457
- .vxe-header--column {
458
- .vxe-cell {
459
- justify-content: center !important;
460
- }
461
- }
462
-
463
447
  .el-table th.el-table__cell > .cell {
464
448
  overflow: hidden;
465
449
  text-overflow: ellipsis;
466
450
  white-space: nowrap;
467
451
  }
468
452
 
453
+ /* TableSetSize 组件样式 - 仅在v2版本中引入 */
454
+ @import '../../components/TableSetSize/style.scss';
455
+
456
+ .el-table-set-size-item {
457
+ .icon-mini {
458
+ background-image: url('../../components/TableSetSize/small.png');
459
+ }
460
+
461
+ .icon-mini {
462
+ background-image: url('../../components/TableSetSize/mini.png');
463
+ }
464
+ }
465
+
469
466
  @import '../../components/TableSetSize/style.scss';
470
467
 
471
468
  .el-table-set-size-item {
@@ -58,13 +58,13 @@
58
58
  font-size: 14px;
59
59
  font-style: normal;
60
60
  font-weight: 500;
61
- line-height: 22px; /* 157.143% */
61
+ line-height: 22px;
62
62
  }
63
63
 
64
64
  /* 骨架屏样式 - 仅覆盖内容区域,表头正常显示 */
65
65
  .table-pro-skeleton {
66
66
  position: absolute;
67
- top: 40px; /* 表头高度,small 尺寸约 40px */
67
+ top: 40px;
68
68
  left: 0;
69
69
  right: 0;
70
70
  bottom: 0;