From d28f71ef9fd588901039a0c92c08969450d3deda Mon Sep 17 00:00:00 2001 From: zhangyan Date: Fri, 7 Aug 2026 14:33:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=8F=E7=A5=A8=E6=96=87=E6=A1=88?= =?UTF-8?q?=E7=B2=BE=E7=AE=80=E4=B8=8E=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=EF=BC=88=E8=90=A5=E5=85=BB=E5=BE=97=E5=88=86=E5=8E=BB=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E3=80=81NRV%=E6=94=B9=E5=90=8D=E3=80=81QR=E6=96=87?= =?UTF-8?q?=E6=A1=88=E7=BC=A9=E7=9F=AD=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- .../checkout-device/09-receipt-preview.html | 16 +++++++--------- .../checkout-device/doc/CHANGELOG.md | 4 ++++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/other-module/canteen-device/checkout-device/09-receipt-preview.html b/other-module/canteen-device/checkout-device/09-receipt-preview.html index 56f7c9a..b6f53cb 100644 --- a/other-module/canteen-device/checkout-device/09-receipt-preview.html +++ b/other-module/canteen-device/checkout-device/09-receipt-preview.html @@ -296,10 +296,7 @@ display: flex; justify-content: space-between; align-items: center; - padding: 6px 10px; - background: #f5f5f5; - border-radius: 4px; - border: 1px solid #ddd; + padding: 6px 0; } .receipt-score__label { color: #333; @@ -557,7 +554,7 @@ + '
' /* 消费明细表 */ + '' - + '' + + '' + '' + itemsHtml + '' + '
餐品单价/100g
(元)
取用量
(g)
小计
(元)
营养
餐品
单价/100g
(元)
取用量
(g)
小计
(元)
' + '
' @@ -582,7 +579,7 @@ /* 营养成分表 */ + '
- - - 营养成分表 - - -
' + '' - + '' + + '' + '' + '' + '' @@ -590,6 +587,7 @@ + '' + '' + '
项目本餐' + (isV2 ? '个人
营养素参考值%' : '营养素参考值%') + '
项目本餐' + (isV2 ? '个性化参考值%' : '营养素参考值%') + '
热量' + order.nutrition.calories + 'kcal' + order.nutrition.nrv.calories + '%
蛋白质' + order.nutrition.protein + 'g' + order.nutrition.nrv.protein + '%
碳水' + order.nutrition.carb + 'g' + order.nutrition.nrv.carb + '%
' + + '
' + '
' + '营养得分' + '' + scoreText + '' @@ -599,13 +597,13 @@ + '
' + '
' + getQRCodeEnterpriseSVG() - + '
扫码加入企业微信群
' - + '
获取营养知识与优惠活动
' + + '
加入企业微信群
' + + '
获取营养知识及优惠
' + '
' + '
' + getQRCodeMiniProgramSVG() + '
扫码进入小程序
' - + '
查看详细营养分析报告
' + + '
查看营养报告
' + '
' + '
' + '
' diff --git a/other-module/canteen-device/checkout-device/doc/CHANGELOG.md b/other-module/canteen-device/checkout-device/doc/CHANGELOG.md index e9ac641..0ab57bd 100644 --- a/other-module/canteen-device/checkout-device/doc/CHANGELOG.md +++ b/other-module/canteen-device/checkout-device/doc/CHANGELOG.md @@ -51,6 +51,10 @@ - 营养区改为三列表格(项目/本餐/营养素参考值%),含 NRV 数据 - 营养标题改为"营养成分表",得分改为"加油,继续努力!" - 全局字号统一为两种:餐厅名称 14px,其余 11px + - 会员用户版 NRV% 表头改为"个性化参考值%" + - 表头"餐品"→"营养
餐品",每 2 字一行 + - 二维码文案精简:"加入企业微信群""获取营养知识及优惠""查看营养报告" + - 营养得分去背景色,上方加分隔线 ## 2026-08-05 | 小票双版本对比展示与格式优化