From 87e278749b050e7af6157ae254ed9273b1e8b887 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Thu, 9 Jul 2026 14:56:31 +0800 Subject: [PATCH] =?UTF-8?q?style(F006-W17.7):=20list=20=E9=A1=B5=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E7=BB=9F=E4=B8=80=E5=B1=85=E4=B8=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DataTable 组件 header-cell-style textAlign: left → center (覆盖大多数 list 页) - 3 个裸 el-table list 页补 header-cell-style (categoryGood/region/coupon) - 单元格内容对齐不变 (仍 left), 只动表头 --- src/components/DataTable/DataTable.vue | 2 +- src/modules/other/categoryGood/CategoryGoodListView.vue | 1 + src/modules/supplier/coupon/CouponListView.vue | 2 +- src/modules/sys/region/RegionListView.vue | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/DataTable/DataTable.vue b/src/components/DataTable/DataTable.vue index d32d7ec..b2aebf3 100644 --- a/src/components/DataTable/DataTable.vue +++ b/src/components/DataTable/DataTable.vue @@ -113,7 +113,7 @@ function onLimitChange(l: number) { emit('limit-change', l) } textTransform: 'uppercase', letterSpacing: '0.04em', whiteSpace: 'nowrap', - textAlign: 'left', + textAlign: 'center', lineHeight: '20px' }" :cell-style="{ diff --git a/src/modules/other/categoryGood/CategoryGoodListView.vue b/src/modules/other/categoryGood/CategoryGoodListView.vue index b80de61..d7a5352 100644 --- a/src/modules/other/categoryGood/CategoryGoodListView.vue +++ b/src/modules/other/categoryGood/CategoryGoodListView.vue @@ -167,6 +167,7 @@ onMounted(load) borderless empty-text="暂无分类" class="cat-table" + :header-cell-style="{ textAlign: 'center' }" @selection-change="onSelectionChange" > diff --git a/src/modules/supplier/coupon/CouponListView.vue b/src/modules/supplier/coupon/CouponListView.vue index 53c592d..5c2199d 100644 --- a/src/modules/supplier/coupon/CouponListView.vue +++ b/src/modules/supplier/coupon/CouponListView.vue @@ -139,7 +139,7 @@ onMounted(load) />
- + diff --git a/src/modules/sys/region/RegionListView.vue b/src/modules/sys/region/RegionListView.vue index 36fba5d..6f448e7 100644 --- a/src/modules/sys/region/RegionListView.vue +++ b/src/modules/sys/region/RegionListView.vue @@ -127,6 +127,7 @@ onMounted(load) borderless empty-text="暂无行政区划" class="region-table" + :header-cell-style="{ textAlign: 'center' }" >