vxe-table 4.17.29 → 4.17.30

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 (36) 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/table.js +4 -0
  6. package/es/table/style.css +212 -47
  7. package/es/table/style.min.css +1 -1
  8. package/es/ui/index.js +1 -1
  9. package/es/ui/src/log.js +1 -1
  10. package/es/vxe-table/style.css +212 -47
  11. package/es/vxe-table/style.min.css +1 -1
  12. package/lib/index.css +1 -1
  13. package/lib/index.min.css +1 -1
  14. package/lib/index.umd.js +3 -3
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/table/src/table.js +1 -1
  19. package/lib/table/src/table.min.js +1 -1
  20. package/lib/table/style/style.css +212 -47
  21. package/lib/table/style/style.min.css +1 -1
  22. package/lib/ui/index.js +1 -1
  23. package/lib/ui/index.min.js +1 -1
  24. package/lib/ui/src/log.js +1 -1
  25. package/lib/ui/src/log.min.js +1 -1
  26. package/lib/vxe-table/style/style.css +212 -47
  27. package/lib/vxe-table/style/style.min.css +1 -1
  28. package/package.json +1 -1
  29. package/packages/table/src/table.ts +5 -2
  30. package/styles/components/table.scss +326 -129
  31. /package/es/{iconfont.1765538995329.ttf → iconfont.1765844165606.ttf} +0 -0
  32. /package/es/{iconfont.1765538995329.woff → iconfont.1765844165606.woff} +0 -0
  33. /package/es/{iconfont.1765538995329.woff2 → iconfont.1765844165606.woff2} +0 -0
  34. /package/lib/{iconfont.1765538995329.ttf → iconfont.1765844165606.ttf} +0 -0
  35. /package/lib/{iconfont.1765538995329.woff → iconfont.1765844165606.woff} +0 -0
  36. /package/lib/{iconfont.1765538995329.woff2 → iconfont.1765844165606.woff2} +0 -0
@@ -31,7 +31,6 @@ import '../module/custom/hook'
31
31
  import '../render'
32
32
 
33
33
  import type { VxeTooltipInstance, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType } from 'vxe-pc-ui'
34
- import type { VxeGanttConstructor, VxeGanttPrivateMethods } from 'vxe-pc-ui/types/components/gantt'
35
34
  import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableEmits, VxeTableProps, VxeColumnPropTypes, VxeTableCustomPanelConstructor } from '../../../types'
36
35
 
37
36
  const { getConfig, getIcon, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, useFns, renderEmptyElement } = VxeUI
@@ -66,7 +65,7 @@ export default defineVxeComponent({
66
65
  const $xeTabs = inject<(VxeTabsConstructor & VxeTabsPrivateMethods) | null>('$xeTabs', null)
67
66
  const $xeParentTable = inject<(VxeTableConstructor & VxeTablePrivateMethods) | null>('$xeTable', null)
68
67
  const $xeGrid = inject<(VxeGridConstructor & VxeGridPrivateMethods) | null>('$xeGrid', null)
69
- const $xeGantt = inject<(VxeGanttConstructor & VxeGanttPrivateMethods) | null>('$xeGantt', null)
68
+ const $xeGantt = inject<VxeTableDefines.InjectGanttType | null>('$xeGantt', null)
70
69
  const $xeGGWrapper = $xeGrid || $xeGantt
71
70
 
72
71
  const { computeSize } = useFns.useSize(props)
@@ -12967,7 +12966,9 @@ export default defineVxeComponent({
12967
12966
  'checkbox--range': checkboxOpts.range,
12968
12967
  'col--drag-cell': columnOpts.drag && columnDragOpts.trigger === 'cell',
12969
12968
  'is--header': showHeader,
12969
+ 'not--header': !showHeader,
12970
12970
  'is--footer': showFooter,
12971
+ 'not--footer': !showFooter,
12971
12972
  'is--group': isGroup,
12972
12973
  'is-row-group': isRowGroupStatus,
12973
12974
  'is--tree-line': treeConfig && (treeOpts.showLine || treeOpts.line),
@@ -12979,7 +12980,9 @@ export default defineVxeComponent({
12979
12980
  'is--loading': currLoading,
12980
12981
  'is--empty': !currLoading && !tableData.length,
12981
12982
  'is--scroll-y': overflowY,
12983
+ 'not--scroll-y': !overflowY,
12982
12984
  'is--scroll-x': overflowX,
12985
+ 'not--scroll-x': !overflowX,
12983
12986
  'is--virtual-x': scrollXLoad,
12984
12987
  'is--virtual-y': scrollYLoad
12985
12988
  }],
@@ -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;