vxe-gantt 3.0.2 → 3.0.4

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.
@@ -289,7 +289,7 @@
289
289
  left: 0;
290
290
  width: 100%;
291
291
  height: 100%;
292
- z-index: 13;
292
+ z-index: 3;
293
293
  }
294
294
  .vxe-gantt--view-split-bar-btn-wrapper {
295
295
  display: flex;
@@ -299,7 +299,7 @@
299
299
  left: 50%;
300
300
  top: 50%;
301
301
  transform: translate(-50%, -50%);
302
- z-index: 15;
302
+ z-index: 5;
303
303
  pointer-events: none;
304
304
  & > div {
305
305
  margin-top: 1em;
@@ -339,7 +339,7 @@
339
339
  left: 0;
340
340
  width: 1px;
341
341
  height: 100%;
342
- z-index: 18;
342
+ z-index: 7;
343
343
  pointer-events: none;
344
344
  user-select: none;
345
345
  cursor: col-resize;
@@ -538,9 +538,6 @@
538
538
  float: left;
539
539
  }
540
540
  }
541
- .vxe-gantt-view--header-table {
542
- height: 100%;
543
- }
544
541
  .vxe-gantt-view--header-table,
545
542
  .vxe-gantt-view--body-table {
546
543
  border: 0;
@@ -567,8 +564,8 @@
567
564
  overflow-x: scroll;
568
565
  }
569
566
  .vxe-gantt-view--body-inner-wrapper {
570
- overflow-y: auto;
571
- overflow-x: auto;
567
+ overflow-y: scroll;
568
+ overflow-x: scroll;
572
569
  }
573
570
  .vxe-gantt-view--header-inner-wrapper,
574
571
  .vxe-gantt-view--body-inner-wrapper {
@@ -578,10 +575,14 @@
578
575
  scrollbar-width: none;
579
576
  -ms-overflow-style: none;
580
577
  -webkit-overflow-scrolling: touch;
578
+ &::-webkit-scrollbar {
579
+ display: none;
580
+ }
581
581
  }
582
582
  .vxe-gantt-view--header-column {
583
583
  text-align: center;
584
584
  font-size: 1em;
585
+ height: var(--vxe-ui-gantt-view-cell-height, var(--vxe-ui-table-row-line-height));
585
586
  }
586
587
  .vxe-gantt-view--header-column,
587
588
  .vxe-gantt-view--body-column,
@@ -623,10 +624,36 @@
623
624
  }
624
625
  }
625
626
 
626
- .vxe-gantt-view {
627
- &.mode--day {
628
- .vxe-gantt-view--header-column {
629
- height: 50%;
627
+ /*行拖拽*/
628
+ .vxe-gantt-view--body-row {
629
+ &.row--drag-move {
630
+ transition: transform 0.5s ease;
631
+ }
632
+ &.row--drag-origin {
633
+ & > .vxe-gantt-view--body-column {
634
+ opacity: 0.3;
635
+ }
636
+ }
637
+ }
638
+ .vxe-gantt-view--body-column {
639
+ .vxe-gantt-view-cell--row-resizable {
640
+ position: absolute;
641
+ left: 0;
642
+ bottom: -0.4em;
643
+ height: 0.8em;
644
+ width: 100%;
645
+ text-align: center;
646
+ z-index: 1;
647
+ cursor: row-resize;
648
+ }
649
+ }
650
+ .vxe-gantt-view--body-row {
651
+ &:last-child {
652
+ .vxe-gantt-view--body-column {
653
+ .vxe-gantt-view-cell--row-resizable {
654
+ height: 0.4em;
655
+ bottom: -0px;
656
+ }
630
657
  }
631
658
  }
632
659
  }