From 75f44781877539f18899ba064362da1c82840311 Mon Sep 17 00:00:00 2001 From: Flow <958079825@qq.com> Date: Sat, 26 Apr 2025 18:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/templates/report-template.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/templates/report-template.html b/public/templates/report-template.html index 50ceada..4e35d4b 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -18,8 +18,8 @@ border-radius: 4px; overflow-y: auto; white-space: pre-line; - line-height: 3; - font-size: 16px; + line-height: 2; + font-size: 14px; text-align: left; } @@ -687,8 +687,8 @@ margin-left: 20px !important; margin-right: 20px !important; width: calc(100% - 140px) !important; /* 调整内容区域宽度 */ - font-size: 16px !important; - line-height: 3 !important; + font-size: 14px !important; + line-height: 2 !important; border: none !important; } /* 心电图内容区域和图片样式 */ @@ -1719,7 +1719,7 @@ document.body.appendChild(testElement); // 获取第一页汇总内容区域的可用高度 (调整这个值根据实际布局) - const availableHeight = 700; // 大约可用高度,根据实际情况调整 + const availableHeight = 750; // 大约可用高度,根据实际情况调整 if (testElement.offsetHeight <= availableHeight) { // 内容不超过一页,隐藏第二页