From 7a8e4297e07f564bcdca7c1982520fdae5965853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E6=98=8A?= Date: Wed, 17 Jun 2026 11:14:51 +0800 Subject: [PATCH] =?UTF-8?q?style(bid/order):=20=E4=BC=98=E5=8C=96=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=88=97=E8=A1=A8=E6=93=8D=E4=BD=9C=E5=88=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 为操作列添加col-ops类并设置不换行 2. 使用ops-wrap包裹操作按钮,统一间距与排版 3. 调整部分表格列宽适配内容 --- ruoyi-ui/src/views/bid/order/history.vue | 12 +++++--- ruoyi-ui/src/views/bid/order/pending.vue | 37 ++++++++++++++++-------- ruoyi-ui/src/views/bid/order/transit.vue | 14 +++++---- 3 files changed, 42 insertions(+), 21 deletions(-) diff --git a/ruoyi-ui/src/views/bid/order/history.vue b/ruoyi-ui/src/views/bid/order/history.vue index 0e1b28ff..eeb3a688 100644 --- a/ruoyi-ui/src/views/bid/order/history.vue +++ b/ruoyi-ui/src/views/bid/order/history.vue @@ -58,11 +58,13 @@ {{ tagLabel(s.row) }} - + @@ -249,6 +251,8 @@ export default { .amount { color: #e4393c; font-weight: 700; } .order-link { color: #e4393c; cursor: pointer; transition: color 0.2s; } .order-link:hover { color: #e4393c; text-decoration: underline; } +.jd-table ::v-deep .col-ops { white-space: nowrap; } +.ops-wrap { display: inline-flex; align-items: center; gap: 2px; flex-wrap: nowrap; } .diff-early { color: #67c23a; font-weight: 600; } .diff-ontime { color: #999; font-weight: 600; } diff --git a/ruoyi-ui/src/views/bid/order/pending.vue b/ruoyi-ui/src/views/bid/order/pending.vue index 80be495d..e06b8a2d 100644 --- a/ruoyi-ui/src/views/bid/order/pending.vue +++ b/ruoyi-ui/src/views/bid/order/pending.vue @@ -26,29 +26,31 @@
- + - - + + - - + + - + - - + + @@ -311,4 +313,15 @@ export default { color: #e4393c; text-decoration: underline; } + +/* ═══ 操作列 - 自适应填满剩余空间,按钮不换行 ═══ */ +.jd-table ::v-deep .col-ops { + white-space: nowrap; +} +.ops-wrap { + display: inline-flex; + align-items: center; + gap: 2px; + flex-wrap: nowrap; +} diff --git a/ruoyi-ui/src/views/bid/order/transit.vue b/ruoyi-ui/src/views/bid/order/transit.vue index 0228357f..b53c6e2b 100644 --- a/ruoyi-ui/src/views/bid/order/transit.vue +++ b/ruoyi-ui/src/views/bid/order/transit.vue @@ -78,12 +78,14 @@ {{ transitStatusLabel(s.row) }} - + @@ -294,4 +296,6 @@ export default { .urgent-soon { color: #e6a23c; font-weight: 700; font-size: 12px; } .order-link { color: #e4393c; cursor: pointer; transition: color 0.2s; } .order-link:hover { color: #e4393c; text-decoration: underline; } +.jd-table ::v-deep .col-ops { white-space: nowrap; } +.ops-wrap { display: inline-flex; align-items: center; gap: 2px; flex-wrap: nowrap; }