From 870e1c612de7491627956f8fd28c37df1cb5348a Mon Sep 17 00:00:00 2001 From: Agent Date: Fri, 3 Apr 2026 01:45:14 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=95=86=E5=93=81=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=AE=BD=E5=BA=A6=EF=BC=8C=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=A7=BB=E5=88=B0=E6=9C=80=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/create.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/pages/order/create.vue b/src/pages/order/create.vue index 5c0d97e..2a3e975 100644 --- a/src/pages/order/create.vue +++ b/src/pages/order/create.vue @@ -46,7 +46,10 @@ - {{ item.productName }}{{ item.spec ? ' ' + item.spec : '' }}{{ item.length }}x{{ item.width }} + {{ item.productName }} + {{ item.spec ? ' ' + item.spec : '' }} + {{ item.length }}x{{ item.width }} + 库存: {{ stocks[item.productId] || 0 }} @@ -61,7 +64,6 @@ /> + - 库存: {{ stocks[item.productId] || 0 }} 单价 @@ -581,10 +583,14 @@ export default { flex-wrap: wrap; } -.item-name { +.item-name-box { font-size: 28rpx; font-weight: bold; color: #333; + width: 170rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .item-spec { @@ -601,6 +607,12 @@ export default { margin-left: 8rpx; } +.item-stock { + font-size: 22rpx; + color: #999; + margin-left: auto; +} + .item-edit { display: flex; align-items: center;