vxe-table 3.19.29 → 3.19.31

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 (40) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/table/src/methods.js +8 -0
  6. package/es/table/src/table.js +5 -0
  7. package/es/table/style.css +212 -47
  8. package/es/table/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-table/style.css +212 -47
  12. package/es/vxe-table/style.min.css +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/index.min.css +1 -1
  15. package/lib/index.umd.js +9 -4
  16. package/lib/index.umd.min.js +1 -1
  17. package/lib/style.css +1 -1
  18. package/lib/style.min.css +1 -1
  19. package/lib/table/src/methods.js +8 -0
  20. package/lib/table/src/methods.min.js +1 -1
  21. package/lib/table/src/table.js +5 -0
  22. package/lib/table/src/table.min.js +1 -1
  23. package/lib/table/style/style.css +212 -47
  24. package/lib/table/style/style.min.css +1 -1
  25. package/lib/ui/index.js +1 -1
  26. package/lib/ui/index.min.js +1 -1
  27. package/lib/ui/src/log.js +1 -1
  28. package/lib/ui/src/log.min.js +1 -1
  29. package/lib/vxe-table/style/style.css +212 -47
  30. package/lib/vxe-table/style/style.min.css +1 -1
  31. package/package.json +1 -1
  32. package/packages/table/src/methods.ts +10 -2
  33. package/packages/table/src/table.ts +6 -0
  34. package/styles/components/table.scss +326 -129
  35. /package/es/{iconfont.1765538900604.ttf → iconfont.1765852897339.ttf} +0 -0
  36. /package/es/{iconfont.1765538900604.woff → iconfont.1765852897339.woff} +0 -0
  37. /package/es/{iconfont.1765538900604.woff2 → iconfont.1765852897339.woff2} +0 -0
  38. /package/lib/{iconfont.1765538900604.ttf → iconfont.1765852897339.ttf} +0 -0
  39. /package/lib/{iconfont.1765538900604.woff → iconfont.1765852897339.woff} +0 -0
  40. /package/lib/{iconfont.1765538900604.woff2 → iconfont.1765852897339.woff2} +0 -0
@@ -9,7 +9,6 @@ import { moveRowAnimateToTb, clearRowAnimate, moveColAnimateToLr, clearColAnimat
9
9
  import { warnLog, errLog } from '../../ui/src/log'
10
10
  import { getCrossTableDragRowInfo } from './store'
11
11
 
12
- import type { VxeGanttConstructor, VxeGanttPrivateMethods } from 'vxe-gantt'
13
12
  import type { VxeTableDefines, VxeColumnPropTypes, VxeTableEmits, ValueOf, TableReactData, VxeTableConstructor, VxeToolbarConstructor, VxeToolbarInstance, TableInternalData, VxeGridConstructor, VxeTablePrivateMethods, VxeTooltipInstance, VxeTablePropTypes, VxeGridPrivateMethods } from '../../../types'
14
13
 
15
14
  const { getConfig, getI18n, renderer, formats, interceptor, createEvent } = VxeUI
@@ -4477,7 +4476,7 @@ const tableMethods: any = {
4477
4476
  getParentHeight () {
4478
4477
  const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
4479
4478
  const $xeGrid = $xeTable.$xeGrid as VxeGridConstructor & VxeGridPrivateMethods
4480
- const $xeGantt = $xeTable.$xeGantt as VxeGanttConstructor & VxeGanttPrivateMethods
4479
+ const $xeGantt = $xeTable.$xeGantt
4481
4480
  const props = $xeTable
4482
4481
 
4483
4482
  const { height } = props
@@ -6302,6 +6301,10 @@ const tableMethods: any = {
6302
6301
  const reactData = $xeTable as unknown as TableReactData
6303
6302
  const internalData = $xeTable as unknown as TableInternalData
6304
6303
 
6304
+ const isLeftBtn = evnt.button === 0
6305
+ if (!isLeftBtn) {
6306
+ return
6307
+ }
6305
6308
  evnt.stopPropagation()
6306
6309
  evnt.preventDefault()
6307
6310
  const { column } = params
@@ -7111,6 +7114,11 @@ const tableMethods: any = {
7111
7114
  })
7112
7115
  }
7113
7116
  },
7117
+ contextMenuEvent (evnt: MouseEvent) {
7118
+ const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
7119
+
7120
+ $xeTable.dispatchEvent('context-menu', {}, evnt)
7121
+ },
7114
7122
  /**
7115
7123
  * 全局键盘事件
7116
7124
  */
@@ -2236,9 +2236,11 @@ export default {
2236
2236
  const scrollbarYToLeft = $xeTable.computeScrollbarYToLeft
2237
2237
  const { isCrossTableDrag } = rowDragOpts
2238
2238
  const tbOns: {
2239
+ contextmenu: (...args: any[]) => void
2239
2240
  keydown: (...args: any[]) => void
2240
2241
  dragover?: (...args: any[]) => void
2241
2242
  } = {
2243
+ contextmenu: this.contextMenuEvent,
2242
2244
  keydown: this.keydownEvent
2243
2245
  }
2244
2246
  if (isCrossTableDrag && !tableData.length) {
@@ -2261,7 +2263,9 @@ export default {
2261
2263
  'checkbox--range': checkboxOpts.range,
2262
2264
  'col--drag-cell': columnOpts.drag && columnDragOpts.trigger === 'cell',
2263
2265
  'is--header': showHeader,
2266
+ 'not--header': !showHeader,
2264
2267
  'is--footer': showFooter,
2268
+ 'not--footer': !showFooter,
2265
2269
  'is--group': isGroup,
2266
2270
  'is-row-group': isRowGroupStatus,
2267
2271
  'is--tree-line': treeConfig && (treeOpts.showLine || treeOpts.line),
@@ -2273,7 +2277,9 @@ export default {
2273
2277
  'is--loading': currLoading,
2274
2278
  'is--empty': !currLoading && !tableData.length,
2275
2279
  'is--scroll-y': overflowY,
2280
+ 'not--scroll-y': !overflowY,
2276
2281
  'is--scroll-x': overflowX,
2282
+ 'not--scroll-x': !overflowX,
2277
2283
  'is--virtual-x': scrollXLoad,
2278
2284
  'is--virtual-y': scrollYLoad
2279
2285
  }],
@@ -544,107 +544,300 @@ $btnThemeList: (
544
544
  border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
545
545
  }
546
546
  @extend %AllRadius;
547
- .vxe-table--border-line {
548
- @extend %AllRadius;
549
- }
550
- &.is--header {
551
- &:not(.is--footer) {
552
- .vxe-table--body-wrapper {
553
- &.fixed-left--wrapper {
554
- @extend %BottomLeftRadius;
555
- }
556
- &.body--wrapper {
557
- @extend %BottomRadius;
547
+ &.sy-pos--right {
548
+ &.sx-pos--bottom {
549
+ &.is--scroll-y {
550
+ &.is--scroll-x {
551
+ .vxe-table--header-wrapper {
552
+ &.body--wrapper {
553
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
554
+ }
555
+ &.fixed-left--wrapper {
556
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
557
+ }
558
+ }
559
+ .vxe-table--border-line {
560
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
561
+ }
558
562
  }
559
- &.fixed-right--wrapper {
560
- @extend %BottomRightRadius;
563
+ &.not--scroll-x {
564
+ .vxe-table--header-wrapper {
565
+ &.body--wrapper {
566
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
567
+ }
568
+ &.fixed-left--wrapper {
569
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
570
+ }
571
+ }
572
+ .vxe-table--footer-wrapper {
573
+ &.body--wrapper {
574
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
575
+ }
576
+ &.fixed-left--wrapper {
577
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
578
+ }
579
+ }
580
+ .vxe-table--border-line {
581
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 var(--vxe-ui-table-border-radius);
582
+ }
561
583
  }
562
584
  }
563
- }
564
- .vxe-table--header-wrapper {
565
- &.fixed-left--wrapper {
566
- @extend %TopLeftRadius;
567
- }
568
- &.body--wrapper {
569
- @extend %TopRadius;
570
- }
571
- &.fixed-right--wrapper {
572
- @extend %TopRightRadius;
573
- }
574
- }
575
- }
576
- &:not(.is--header) {
577
- &:not(.is--footer) {
578
- .vxe-table--body-wrapper {
579
- &.body--wrapper {
580
- @extend %AllRadius;
585
+ &.not--scroll-y {
586
+ &.is--scroll-x {
587
+ .vxe-table--header-wrapper {
588
+ &.body--wrapper {
589
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
590
+ }
591
+ &.fixed-left--wrapper {
592
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
593
+ }
594
+ &.fixed-right--wrapper {
595
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
596
+ }
597
+ }
598
+ .vxe-table--border-line {
599
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
600
+ }
601
+ }
602
+ &.not--scroll-x {
603
+ .vxe-table--header-wrapper {
604
+ &.body--wrapper {
605
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
606
+ }
607
+ &.fixed-right--wrapper {
608
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
609
+ }
610
+ }
611
+ .vxe-table--footer-wrapper {
612
+ &.body--wrapper {
613
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
614
+ }
615
+ &.fixed-right--wrapper {
616
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
617
+ }
618
+ }
619
+ .vxe-table--border-line {
620
+ @extend %AllRadius;
621
+ }
581
622
  }
582
623
  }
583
624
  }
584
- }
585
- &.is--footer {
586
- &:not(.is--header) {
587
- .vxe-table--body-wrapper {
588
- &.fixed-left--wrapper {
589
- @extend %BottomLeftRadius;
590
- }
591
- &.body--wrapper {
592
- @extend %TopRadius;
625
+ &.sx-pos--top {
626
+ &.is--scroll-y {
627
+ &.is--scroll-x {
628
+ .vxe-table--footer-wrapper {
629
+ &.body--wrapper {
630
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
631
+ }
632
+ &.fixed-left--wrapper {
633
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
634
+ }
635
+ }
636
+ .vxe-table--border-line {
637
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
638
+ }
593
639
  }
594
- &.fixed-right--wrapper {
595
- @extend %BottomRightRadius;
640
+ &.not--scroll-x {
641
+ .vxe-table--header-wrapper {
642
+ &.body--wrapper {
643
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
644
+ }
645
+ &.fixed-left--wrapper {
646
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
647
+ }
648
+ }
649
+ .vxe-table--footer-wrapper {
650
+ &.body--wrapper {
651
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
652
+ }
653
+ &.fixed-left--wrapper {
654
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
655
+ }
656
+ }
657
+ .vxe-table--border-line {
658
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 var(--vxe-ui-table-border-radius);
659
+ }
596
660
  }
597
661
  }
598
- }
599
- .vxe-table--footer-wrapper {
600
- &.fixed-left--wrapper {
601
- @extend %BottomLeftRadius;
602
- }
603
- &.body--wrapper {
604
- @extend %BottomRadius;
605
- }
606
- &.fixed-right--wrapper {
607
- @extend %BottomRightRadius;
608
- }
609
- }
610
- }
611
- &.sx-pos--top {
612
- .vxe-table--scroll-x-left-corner {
613
- &::before {
614
- @extend %TopLeftRadius;
615
- }
616
- }
617
- .vxe-table--scroll-x-right-corner {
618
- &::before {
619
- @extend %TopRightRadius;
662
+ &.not--scroll-y {
663
+ &.is--scroll-x {
664
+ .vxe-table--footer-wrapper {
665
+ &.body--wrapper {
666
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
667
+ }
668
+ &.fixed-left--wrapper {
669
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
670
+ }
671
+ &.fixed-right--wrapper {
672
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
673
+ }
674
+ }
675
+ .vxe-table--border-line {
676
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
677
+ }
678
+ }
679
+ &.not--scroll-x {
680
+ .vxe-table--border-line {
681
+ @extend %AllRadius;
682
+ }
683
+ }
620
684
  }
621
685
  }
622
686
  }
623
- &.sx-pos--bottom {
624
- &.sy-pos--right {
625
- .vxe-table--scroll-y-top-corner {
626
- @extend %TopRightRadius;
627
- &::before {
628
- @extend %TopRightRadius;
687
+ &.sy-pos--left {
688
+ &.sx-pos--bottom {
689
+ &.is--scroll-y {
690
+ &.is--scroll-x {
691
+ .vxe-table--border-line {
692
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
693
+ }
694
+ }
695
+ &.not--scroll-x {
696
+ .vxe-table--header-wrapper {
697
+ &.body--wrapper {
698
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
699
+ }
700
+ &.fixed-right--wrapper {
701
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
702
+ }
703
+ }
704
+ .vxe-table--footer-wrapper {
705
+ &.body--wrapper {
706
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
707
+ }
708
+ &.fixed-right--wrapper {
709
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
710
+ }
711
+ }
712
+ .vxe-table--border-line {
713
+ border-radius: 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0;
714
+ }
629
715
  }
630
716
  }
631
- }
632
- &.sy-pos--left {
633
- .vxe-table--scroll-y-top-corner {
634
- @extend %TopLeftRadius;
635
- &::before {
636
- @extend %TopLeftRadius;
717
+ &.not--scroll-y {
718
+ &.is--scroll-x {
719
+ .vxe-table--header-wrapper {
720
+ &.body--wrapper {
721
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
722
+ }
723
+ &.fixed-left--wrapper {
724
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
725
+ }
726
+ &.fixed-right--wrapper {
727
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
728
+ }
729
+ }
730
+ .vxe-table--border-line {
731
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
732
+ }
733
+ }
734
+ &.not--scroll-x {
735
+ .vxe-table--header-wrapper {
736
+ &.body--wrapper {
737
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
738
+ }
739
+ &.fixed-left--wrapper {
740
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
741
+ }
742
+ &.fixed-right--wrapper {
743
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
744
+ }
745
+ }
746
+ .vxe-table--footer-wrapper {
747
+ &.body--wrapper {
748
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
749
+ }
750
+ &.fixed-left--wrapper {
751
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
752
+ }
753
+ &.fixed-right--wrapper {
754
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
755
+ }
756
+ }
757
+ .vxe-table--border-line {
758
+ @extend %AllRadius;
759
+ }
637
760
  }
638
761
  }
639
762
  }
640
- .vxe-table--scroll-x-left-corner {
641
- &::before {
642
- @extend %BottomLeftRadius;
763
+ &.sx-pos--top {
764
+ &.is--scroll-y {
765
+ &.is--scroll-x {
766
+ .vxe-table--footer-wrapper {
767
+ &.body--wrapper {
768
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
769
+ }
770
+ &.fixed-right--wrapper {
771
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
772
+ }
773
+ }
774
+ .vxe-table--border-line {
775
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
776
+ }
777
+ }
778
+ &.not--scroll-x {
779
+ .vxe-table--header-wrapper {
780
+ &.body--wrapper {
781
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
782
+ }
783
+ &.fixed-right--wrapper {
784
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
785
+ }
786
+ }
787
+ .vxe-table--footer-wrapper {
788
+ &.body--wrapper {
789
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
790
+ }
791
+ &.fixed-right--wrapper {
792
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
793
+ }
794
+ }
795
+ .vxe-table--border-line {
796
+ border-radius: 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0;
797
+ }
798
+ }
643
799
  }
644
- }
645
- .vxe-table--scroll-x-right-corner {
646
- &::before {
647
- @extend %BottomRightRadius;
800
+ &.not--scroll-y {
801
+ &.is--scroll-x {
802
+ .vxe-table--footer-wrapper {
803
+ &.body--wrapper {
804
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
805
+ }
806
+ &.fixed-right--wrapper {
807
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
808
+ }
809
+ }
810
+ .vxe-table--border-line {
811
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
812
+ }
813
+ }
814
+ &.not--scroll-x {
815
+ .vxe-table--header-wrapper {
816
+ &.body--wrapper {
817
+ border-radius: var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius) 0 0;
818
+ }
819
+ &.fixed-left--wrapper {
820
+ border-radius: var(--vxe-ui-table-border-radius) 0 0 0;
821
+ }
822
+ &.fixed-right--wrapper {
823
+ border-radius: 0 var(--vxe-ui-table-border-radius) 0 0;
824
+ }
825
+ }
826
+ .vxe-table--footer-wrapper {
827
+ &.body--wrapper {
828
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) var(--vxe-ui-table-border-radius);
829
+ }
830
+ &.fixed-left--wrapper {
831
+ border-radius: 0 0 0 var(--vxe-ui-table-border-radius);
832
+ }
833
+ &.fixed-right--wrapper {
834
+ border-radius: 0 0 var(--vxe-ui-table-border-radius) 0;
835
+ }
836
+ }
837
+ .vxe-table--border-line {
838
+ @extend %AllRadius;
839
+ }
840
+ }
648
841
  }
649
842
  }
650
843
  }
@@ -757,7 +950,7 @@ $btnThemeList: (
757
950
  position: absolute;
758
951
  top: 0;
759
952
  left: 0;
760
- width: 100%;
953
+ width: calc(100% + var(--vxe-ui-table-border-width));
761
954
  height: 100%;
762
955
  z-index: 1;
763
956
  border-width: var(--vxe-ui-table-border-width);
@@ -772,16 +965,38 @@ $btnThemeList: (
772
965
  right: 0;
773
966
  }
774
967
  &.sy-pos--right {
968
+ .vxe-table--scroll-y-top-corner,
969
+ .vxe-table--scroll-y-bottom-corner {
970
+ right: 0;
971
+ width: calc(100% + var(--vxe-ui-table-border-width));
972
+ }
973
+ .vxe-table--scroll-x-right-corner {
974
+ &::before {
975
+ left: calc(var(--vxe-ui-table-border-width) * -1);
976
+ }
977
+ }
775
978
  .vxe-table--scroll-x-right-corner {
776
- right: 1px;
777
979
  &::before {
778
980
  border-right: 0;
779
981
  }
780
982
  }
781
983
  }
984
+ &.sy-pos--left {
985
+ .vxe-table--scroll-y-top-corner,
986
+ .vxe-table--scroll-y-bottom-corner {
987
+ left: 0;
988
+ width: calc(100% + var(--vxe-ui-table-border-width));
989
+ }
990
+ .vxe-table--scroll-x-left-corner {
991
+ &::before {
992
+ top: calc(var(--vxe-ui-table-border-width) * -1);
993
+ height: calc(100% + var(--vxe-ui-table-border-width));
994
+ }
995
+ }
996
+ }
782
997
  &.sx-pos--bottom {
783
998
  .vxe-table--scroll-x-right-corner {
784
- bottom: 1px;
999
+ bottom: var(--vxe-ui-table-border-width);
785
1000
  &::before {
786
1001
  border-bottom: 0;
787
1002
  }
@@ -793,12 +1008,10 @@ $btnThemeList: (
793
1008
  .vxe-table--scroll-y-top-corner,
794
1009
  .vxe-table--scroll-y-bottom-corner {
795
1010
  top: 0;
796
- right: 0;
797
- width: 100%;
798
1011
  height: 0;
799
1012
  }
800
1013
  .vxe-table--scroll-y-bottom-corner {
801
- margin-top: -1px;
1014
+ margin-top: calc(var(--vxe-ui-table-border-width) * -1);
802
1015
  }
803
1016
  }
804
1017
 
@@ -1457,28 +1670,33 @@ $btnThemeList: (
1457
1670
  &.border--full,
1458
1671
  &.border--outer,
1459
1672
  &.border--inner {
1460
- .vxe-table--scroll-y-top-corner,
1461
- .vxe-table--scroll-y-bottom-corner {
1462
- &::before {
1463
- content: "";
1464
- position: absolute;
1465
- top: 0;
1466
- left: 0;
1467
- width: 100%;
1468
- height: 100%;
1469
- z-index: 1;
1470
- border-width: 0;
1471
- border-style: solid;
1472
- border-color: var(--vxe-ui-table-border-color);
1673
+ &.sy-pos--right {
1674
+ .vxe-table--scroll-y-top-corner {
1675
+ background-image: linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color)), linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color));
1676
+ background-repeat: no-repeat;
1677
+ background-size: var(--vxe-ui-table-border-width) 100%, 100% var(--vxe-ui-table-border-width);
1678
+ background-position: left top, left bottom;
1473
1679
  }
1474
- }
1475
- .vxe-table--scroll-y-top-corner {
1476
- &::before {
1477
- border-bottom-width: var(--vxe-ui-table-border-width);
1680
+ .vxe-table--scroll-y-bottom-corner {
1681
+ background-image: linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color)), linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color));
1682
+ background-repeat: no-repeat;
1683
+ background-size: var(--vxe-ui-table-border-width) 100%, 100% var(--vxe-ui-table-border-width);
1684
+ background-position: left top, left top;
1478
1685
  }
1479
1686
  }
1480
- .vxe-table--scroll-y-bottom-corner {
1481
- border-top: var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color);
1687
+ &.sy-pos--left {
1688
+ .vxe-table--scroll-y-top-corner {
1689
+ background-image: linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color)), linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color));
1690
+ background-repeat: no-repeat;
1691
+ background-size: var(--vxe-ui-table-border-width) 100%, 100% var(--vxe-ui-table-border-width);
1692
+ background-position: right top, left bottom;
1693
+ }
1694
+ .vxe-table--scroll-y-bottom-corner {
1695
+ background-image: linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color)), linear-gradient(var(--vxe-ui-table-border-color), var(--vxe-ui-table-border-color));
1696
+ background-repeat: no-repeat;
1697
+ background-size: var(--vxe-ui-table-border-width) 100%, 100% var(--vxe-ui-table-border-width);
1698
+ background-position: right top, left top;
1699
+ }
1482
1700
  }
1483
1701
  .vxe-table--scroll-x-handle-appearance {
1484
1702
  position: absolute;
@@ -1551,27 +1769,6 @@ $btnThemeList: (
1551
1769
  }
1552
1770
  &.border--default,
1553
1771
  &.border--full {
1554
- .vxe-table--scroll-y-top-corner {
1555
- &::before {
1556
- border-left-width: var(--vxe-ui-table-border-width);
1557
- border-right-width: var(--vxe-ui-table-border-width);
1558
- }
1559
- }
1560
- .vxe-table--scroll-y-bottom-corner {
1561
- &::before {
1562
- border-left-width: var(--vxe-ui-table-border-width);
1563
- border-right-width: var(--vxe-ui-table-border-width);
1564
- }
1565
- }
1566
- &.sy-pos--right {
1567
- .vxe-table--scroll-y-top-corner,
1568
- .vxe-table--scroll-y-bottom-corner {
1569
- &::before {
1570
- width: calc(100% + 1px);
1571
- left: -1px;
1572
- }
1573
- }
1574
- }
1575
1772
  .vxe-table--scroll-y-handle-appearance {
1576
1773
  position: absolute;
1577
1774
  top: 0;