From 472b554cd0e0a1931a602af55e6e29ba0d1f5b72 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Thu, 9 Apr 2026 12:25:14 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=84=E8=A7=88=E5=93=81=E7=89=8C?= =?UTF-8?q?=E5=90=8D=E4=BF=9D=E7=95=99=E6=8D=A2=E8=A1=8C=EF=BC=8C=E9=85=8D?= =?UTF-8?q?=E6=96=B9=E5=8D=A1=E7=89=87=E4=B8=8E=E9=A2=84=E8=A7=88=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 预览QR文字加 white-space: pre-line 保留换行 - 配方卡片结构: QR+品牌名(absolute右上) → 内容区(padding-right避让) → 精油列表(每行9px间距) → 总成本(绿色条) → Logo左+日期右 - 两者布局完全一致 Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/views/MyDiary.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/MyDiary.vue b/frontend/src/views/MyDiary.vue index 28ec645..197002d 100644 --- a/frontend/src/views/MyDiary.vue +++ b/frontend/src/views/MyDiary.vue @@ -1091,8 +1091,9 @@ async function applyBusiness() { font-size: 6px; color: var(--text-light); line-height: 1.2; - word-break: break-all; + white-space: pre-line; max-width: 50px; + text-align: center; } .card-preview-cost { position: relative;