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 | 小票双版本对比展示与格式优化