From ef5b2b62c5a2f7126f45a132e935a73f5b95f72d Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Fri, 21 Mar 2025 17:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=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 | 64 +++++++++++++++++++-------- 1 file changed, 45 insertions(+), 19 deletions(-) diff --git a/public/templates/report-template.html b/public/templates/report-template.html index 9a1f78c..0a56a25 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -90,7 +90,7 @@ } .report-content { - padding: 20px; + padding: 10px; text-align: center; background-color: white; } @@ -450,7 +450,7 @@ .ultrasound-exam .pdf-image-container img { max-width: 100% !important; - max-height: 880px !important; + max-height: 840px !important; /* 增加高度 */ object-fit: contain !important; } @@ -568,6 +568,7 @@ .preface-paragraphs p { margin-bottom: 15px !important; /* 打印时保持段落间距 */ } + } /* 添加首页样式 */ @@ -855,7 +856,7 @@
- logo
@@ -1005,12 +1006,16 @@
-
- 一般检查 +
+ 一般检查 填充值
+
+ 一般检查 +
+ @@ -1069,10 +1074,13 @@
- 超声检查报告 + 填充值
+
+ 超声检查报告 +
@@ -1106,11 +1114,14 @@
-
- 尿常规检查报告 +
+ 尿常规检查报告 填充值
+
+ 尿常规检查报告 +
@@ -1126,7 +1137,7 @@

尿常规小结:

-

--

+

--

@@ -1469,7 +1495,7 @@ let secondPageText = summaryText.substring(firstPageChars); // 尝试在更合适的位置分割,如句号或逗号 - const breakPoints = ['.', '】', '\n']; + const breakPoints = ['】', '\n']; for (let i = 30; i > 0; i--) { const checkPos = firstPageChars - i; if (checkPos <= 0) continue;
体质辨识结果