ソースを参照

style: 修改表格斑马行样式错误

Jack Zhou 4 ヶ月 前
コミット
10cd4460c5
1 ファイル変更5 行追加2 行削除
  1. 5 2
      src/styles/vxeTable.scss

+ 5 - 2
src/styles/vxeTable.scss

@@ -18,13 +18,16 @@
 
 // 重置表格stripe样式
 .vxe-table--render-default tr.vxe-body--row.row--stripe {
+  &>.vxe-body--column {
+    background-color: var(--color-table-stripe-bg) !important;
+  }
   background-color: var(--color-table-stripe-bg);
 }
 .vxe-table--render-default tr.vxe-body--row.row--current,
 .vxe-table--render-default tr.vxe-body--row.row--stripe.row--current {
-  background-color: rgba(255, 117, 0, 0.2) !important;
+  background-color: rgba(255, 117, 0, 0.2) ;
   &>.vxe-body--column {
-  background-color: rgba(255, 117, 0, 0.2) !important;
+  background-color: rgba(255, 117, 0, 0.2) ;
   }
 }
 .vxe-table--render-default .vxe-body--row.visited-row,