From 2c195ca9e47646fe3880b1c413fcd013f6044d70 Mon Sep 17 00:00:00 2001
From: huyunan <18842920976@163.com>
Date: Thu, 5 Jun 2025 09:44:02 +0800
Subject: [PATCH] add: The table stripe display can be set.
---
 assets/index.less        |  5 +++++
 docs/demo/stripe.md      |  8 +++++++
 docs/examples/stripe.tsx | 46 ++++++++++++++++++++++++++++++++++++++++
 src/Body/index.tsx       |  9 ++++++--
 src/Table.tsx            |  5 ++++-
 5 files changed, 70 insertions(+), 3 deletions(-)
 create mode 100644 docs/demo/stripe.md
 create mode 100644 docs/examples/stripe.tsx
diff --git a/assets/index.less b/assets/index.less
index e2810cc23..3a9efcbe6 100644
--- a/assets/index.less
+++ b/assets/index.less
@@ -55,6 +55,11 @@
     }
   }
 
+  &-row-striped {
+    .@{tablePrefixCls}-cell {
+      background: #fcf4f4;
+    }
+  }
   // ================== Cell ==================
   &-cell {
     background: #f4f4f4;
diff --git a/docs/demo/stripe.md b/docs/demo/stripe.md
new file mode 100644
index 000000000..08de5f7f8
--- /dev/null
+++ b/docs/demo/stripe.md
@@ -0,0 +1,8 @@
+---
+title: stripe
+nav:
+  title: Demo
+  path: /demo
+---
+
+