diff --git a/public/templates/report-template.html b/public/templates/report-template.html index 27dcb72..35deb5a 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -53,7 +53,7 @@ .report-item { margin-bottom: 40px; - border: 1px solid #e0e0e0; + border: 1px solid #000; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); @@ -64,14 +64,14 @@ } .report-title { - background-color: #4a90e2; - color: white; + background-color: white; + color: black; padding: 15px; font-size: 18px; /* 这里控制字体大小 */ font-weight: bold; /* 这里控制字体粗细 */ - border-bottom: 1px solid #e0e0e0; + border-bottom: 1px solid #000; } .report-content { @@ -279,7 +279,7 @@ .general-exam .exam-table td { padding: 8px !important; font-size: 18px !important; - line-height: 1.5; + line-height: 1.5; height: 40px; /* 降低单元格高度 */ } @@ -337,8 +337,8 @@ .report-title { padding: 8px 10px; font-size: 16px; - background-color: #4a90e2 !important; - color: white !important; + background-color: white !important; + color: black !important; } /* 内容区域 */ @@ -537,6 +537,15 @@ text-align: center !important; font-weight: bold !important; } + + .preface-paragraphs { + margin-bottom: 20px !important; + line-height: 1.8 !important; /* 打印时保持相同的行间距 */ + } + + .preface-paragraphs p { + margin-bottom: 15px !important; /* 打印时保持段落间距 */ + } } /* 添加首页样式 */ @@ -611,6 +620,7 @@ } .preface-content .hospital-name { + margin-top: 60px; margin-bottom: 20px; font-weight: normal; } @@ -714,7 +724,13 @@ } .preface-paragraphs { - margin-bottom: 20px; + margin-bottom: 40px; + line-height: 2.5; /* 增加行间距 */ + } + + .preface-paragraphs p { + margin-bottom: 40px; /* 段落之间的间距 */ + line-height: 2.5; /* 段落内的行间距 */ } .preface-footer { @@ -722,6 +738,7 @@ } .hospital-name { + margin-top: 60px; font-weight: bold; } @@ -816,7 +833,7 @@
- logo
@@ -858,6 +875,9 @@ class="person_content">--
+
+ 兴和县卫生健康委员会 +
第1页
@@ -877,15 +897,15 @@

尊敬的先生/女士:

-

您好!欢迎参加国家基本公共卫生服务老年人健康体检项目。

+

您好!欢迎参加国家基本公共卫生服务老年人健康体检项目。

-

健康体检是在自我感觉健康的情况下,通过医学手段对身体各脏器的状态进行的检测。定期的健康体检可以帮助您及早发现健康状态下的危机,为您的健康保驾护航。

+

健康体检是在自我感觉健康的情况下,通过医学手段对身体各脏器的状态进行的检测。定期的健康体检可以帮助您及早发现健康状态下的危机,为您的健康保驾护航。

-

希望您仔细阅读并妥善保管这份体检报告,给予充分的重视。如有疑问请及时与我院进行联系。

+

希望您仔细阅读并妥善保管这份体检报告,给予充分的重视。如有疑问请及时与我院进行联系。

-

我们希望能够与您建立长期的联系,并为您建立健康档案,以便对您的健康状态进行长期的追踪,为您的健康提供长期的帮助和服务。

+

我们希望能够与您建立长期的联系,并为您建立健康档案,以便对您的健康状态进行长期的追踪,为您的健康提供长期的帮助和服务。

-

由于体检项目和检测手段所限,一次体检不能全部检出身体中的潜在隐患,一旦发现身体出现不适,请及时到医院进行就诊。

+

由于体检项目和检测手段所限,一次体检不能全部检出身体中的潜在隐患,一旦发现身体出现不适,请及时到医院进行就诊。