From 3a84d329b939a04c9c7a00f92b9d0bd7634a7ba7 Mon Sep 17 00:00:00 2001 From: lxf Date: Fri, 11 Jul 2025 13:51:21 +0800 Subject: [PATCH] fix: 货源管理 --- pages/goodSource/qr-painter.js | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/pages/goodSource/qr-painter.js b/pages/goodSource/qr-painter.js index 19909e9..253a8a6 100644 --- a/pages/goodSource/qr-painter.js +++ b/pages/goodSource/qr-painter.js @@ -86,13 +86,14 @@ export default { width: '580rpx', height: '40rpx', padding: '20rpx 30rpx 15rpx 30rpx', + display: 'inline-block', }, views: [ { type: 'view', css: { display: 'inline-block', - width: '410rpx', + width: '400rpx', fontSize: '22rpx', lineHeight: '1em', verticalAlign: 'bottom', @@ -300,28 +301,28 @@ export default { }, { type: 'text', - text: detail.priceType !== 'TON' ? `共${detail.vehicleNumber}车(` : `共${detail.goodsWeight}吨(`, - css: { - paddingLeft: '15rpx', - color: '#2b2b2b', - }, - }, - { - type: 'text', - text: detail.priceType !== 'TON' ? `还需${detail.remainVehicleNumber}车` : `剩余${detail.remainGoodsWeight}吨`, - css: { - paddingLeft: '15rpx', - color: '#ed3f3f', - }, - }, - { - type: 'text', - text: ')', + text: detail.priceType !== 'TON' ? `共${detail.vehicleNumber}车` : `共${detail.goodsWeight}吨`, css: { paddingLeft: '15rpx', color: '#2b2b2b', }, }, + // { + // type: 'text', + // text: detail.priceType !== 'TON' ? `还需${detail.remainVehicleNumber}车` : `剩余${detail.remainGoodsWeight}吨`, + // css: { + // paddingLeft: '15rpx', + // color: '#ed3f3f', + // }, + // }, + // { + // type: 'text', + // text: ')', + // css: { + // paddingLeft: '15rpx', + // color: '#2b2b2b', + // }, + // }, ], }, { -- libgit2 0.21.0