From 3860c9583b39bccb0cdf65c76a4dee066e272e2e Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 2 Apr 2026 09:59:10 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=88=E5=B9=B6=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E8=A7=84=E6=A0=BC=E9=95=BF=E5=AE=BD=E4=B8=BA?= =?UTF-8?q?=E4=B8=80=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/detail.vue | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/src/pages/order/detail.vue b/src/pages/order/detail.vue index 1dd6261..e8ccaf1 100644 --- a/src/pages/order/detail.vue +++ b/src/pages/order/detail.vue @@ -36,9 +36,7 @@ 商品明细 - 商品名称 - 规格 - 长x宽 + 商品信息 总面积(m²) 数量 单价 @@ -49,9 +47,7 @@ :key="index" class="item-row" > - {{ item.productName }} - {{ item.productSpec || '-' }} - {{ item.length || '-' }}x{{ item.width || '-' }} + {{ item.productName }}\n{{ item.productSpec || '-' }}\n{{ item.length || '-' }}x{{ item.width || '-' }} {{ calcArea(item) }} {{ item.quantity }} ¥{{ item.price }} @@ -369,24 +365,16 @@ export default { padding: 16rpx 0; } -.item-name { - flex: 2; - min-width: 120rpx; -} - -.item-specs { - flex: 1; - text-align: center; - color: #999; -} - -.item-dims { - flex: 1; - text-align: center; +.item-info { + flex: 3; + white-space: pre-line; + font-size: 24rpx; + color: #333; + line-height: 1.6; } .item-area { - flex: 1; + flex: 1.2; text-align: center; color: #667eea; font-weight: 500;