From 9c62f4364bccc20da62b5db5f86d9715114a5c77 Mon Sep 17 00:00:00 2001 From: qiuxiang <394405259@qq.com> Date: Mon, 12 Oct 2026 15:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E9=80=92=E8=BF=90=E8=B4=B9=EF=BC=9A?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=88=97=E5=AE=BD+=E6=94=B6=E7=B4=A7?= =?UTF-8?q?=E5=86=85=E8=BE=B9=E8=B7=9D=EF=BC=8C12=20=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E4=B8=80=E5=B1=8F=E5=8F=AF=E8=A7=81=EF=BC=88=E8=B6=85?= =?UTF-8?q?=E9=95=BF=E5=86=85=E5=AE=B9=E7=9C=81=E7=95=A5+=E6=82=AC?= =?UTF-8?q?=E5=81=9C=E6=8F=90=E7=A4=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/partials/directory-table.blade.php | 49 ++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/resources/views/business/pages/partials/directory-table.blade.php b/resources/views/business/pages/partials/directory-table.blade.php index 2930b70e..3e9d332b 100644 --- a/resources/views/business/pages/partials/directory-table.blade.php +++ b/resources/views/business/pages/partials/directory-table.blade.php @@ -595,6 +595,53 @@ text-align: left; } + /* 快递运费:列数多(含序号共 12 列),用固定列宽 + 收紧列内边距把全部表头压进一屏; + 超长内容(条形码 / 店铺名称)省略号截断,悬停单元格可看全值。 */ + #directory-table-courier-freight { + table-layout: fixed; + } + #directory-table-courier-freight th, + #directory-table-courier-freight td { + min-width: 0; + padding: 0.35rem; + } + #directory-table-courier-freight td { + overflow: hidden; + text-overflow: ellipsis; + } + #directory-table-courier-freight th:first-child, + #directory-table-courier-freight td:first-child { width: 3.2rem; } + #directory-table-courier-freight th[data-column-key="source"], + #directory-table-courier-freight td[data-column-key="source"] { width: 7rem; } + #directory-table-courier-freight th[data-column-key="part"], + #directory-table-courier-freight td[data-column-key="part"] { width: 5.2rem; } + #directory-table-courier-freight th[data-column-key="transaction_no"], + #directory-table-courier-freight td[data-column-key="transaction_no"] { width: 10.6rem; } + #directory-table-courier-freight th[data-column-key="express_no"], + #directory-table-courier-freight td[data-column-key="express_no"] { width: 7.5rem; } + #directory-table-courier-freight th[data-column-key="barcode"], + #directory-table-courier-freight td[data-column-key="barcode"] { width: 11rem; } + #directory-table-courier-freight th[data-column-key="shop_name"], + #directory-table-courier-freight td[data-column-key="shop_name"] { width: 10rem; } + #directory-table-courier-freight th[data-column-key="freight_amount"], + #directory-table-courier-freight td[data-column-key="freight_amount"] { width: 6.5rem; } + #directory-table-courier-freight th[data-column-key="freight_difference"], + #directory-table-courier-freight td[data-column-key="freight_difference"] { width: 5.2rem; } + #directory-table-courier-freight th[data-column-key="settled_freight"], + #directory-table-courier-freight td[data-column-key="settled_freight"] { width: 5.6rem; } + #directory-table-courier-freight th[data-column-key="other_surcharge_amount"], + #directory-table-courier-freight td[data-column-key="other_surcharge_amount"] { width: 7.2rem; } + #directory-table-courier-freight th[data-column-key="return_fee_amount"], + #directory-table-courier-freight td[data-column-key="return_fee_amount"] { width: 5.4rem; } + /* 排序 / 隐藏字段浮层贴列右缘向左展开;闭合的 details 会为表头贡献不可见溢出宽度,用 clip 收住。 */ + #directory-table-courier-freight .directory-header-menu__panel { + left: auto; + right: 0; + } + #directory-table-courier-freight details:not([open]) { + overflow: clip; + } + .directory-table .is-empty td { height: 8rem; color: var(--vip-content-muted, #595959); @@ -1922,7 +1969,7 @@ $display = in_array($value, [true, 1, '1', '是', '✔'], true) ? '是' : '否'; } @endphp - + @if (($page['slug'] ?? '') === 'store-accounts' && $field['name'] === 'password_configured') {{ filled($display) ? $display : '—' }} @if ($value === false)