From c2d38ac946e848ff4f7b6a08cc87be3a5734b0fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Mon, 11 Aug 2025 13:19:22 +0800
Subject: [PATCH] =?UTF-8?q?style(table):=20=E4=BC=98=E5=8C=96=E8=A1=A8?=
=?UTF-8?q?=E6=A0=BC=E6=A0=B7=E5=BC=8F=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=85=A8?=
=?UTF-8?q?=E5=B1=80=E7=BE=8E=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 component.less 中添加了 ele-pro-table 的全局美化样式
- 调整了表格的列宽、对齐方式等样式
- 优化了表格的视觉效果,提高了可读性
---
src/styles/component.less | 15 +
src/views/shop/shopCoupon/index.vue | 606 ++++++++++++++--------------
2 files changed, 318 insertions(+), 303 deletions(-)
diff --git a/src/styles/component.less b/src/styles/component.less
index 69820a9..4d713e9 100644
--- a/src/styles/component.less
+++ b/src/styles/component.less
@@ -1,2 +1,17 @@
/** 组件样式 */
//@input-item: 300px;
+
+/* ele-pro-table 全局美化样式 */
+.ele-pro-table .ant-table-thead > tr > th {
+ border-bottom: 2px solid #f0f0f0;
+ background-color: #fafafa;
+ font-weight: 600;
+}
+
+.ele-pro-table .ant-table-tbody > tr > td {
+ border-bottom: 1px solid #f5f5f5;
+}
+
+.ele-pro-table .ant-table-tbody > tr:hover > td {
+ background-color: #f8f9fa;
+}
diff --git a/src/views/shop/shopCoupon/index.vue b/src/views/shop/shopCoupon/index.vue
index abf867d..8a20bae 100644
--- a/src/views/shop/shopCoupon/index.vue
+++ b/src/views/shop/shopCoupon/index.vue
@@ -1,334 +1,334 @@
$router.go(-1)">
-
-
+
-
-
+ >
+
+
+
+
+
+ 已删除
+ 已禁用
+ 已过期
+ 隐藏
+ 正常
-
-
- 已删除
- 已禁用
- 已过期
- 隐藏
- 正常
-
-
-
-
- 编辑
-
-
-
-
- 删除
-
-
-
-
+
+
+
+ 编辑
+
+
+
+
+
+ 删除
+
+
-
-
+
+
+
-
-
+
+