修改样式
This commit is contained in:
parent
36120dfdc5
commit
ef5b2b62c5
@ -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 @@
|
||||
</div>
|
||||
<div class="repott_concent" style="top: -350px;">
|
||||
<div style="display: flex; align-items: flex-start; justify-content: center; margin-bottom: 20px;">
|
||||
<img src="/首页标签.png" alt="logo"
|
||||
<img src="/inspect/首页标签.png" alt="logo"
|
||||
style="width: 85px; height: 92px; ">
|
||||
<div>
|
||||
<div class="repott_concent_area">
|
||||
@ -1005,12 +1006,16 @@
|
||||
<!-- 一般检查部分 -->
|
||||
<div class="report-item general-exam">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>一般检查</span>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span style="display: none; ">一般检查</span>
|
||||
<span>填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">一般检查</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
|
||||
<table class="exam-table">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -1069,10 +1074,13 @@
|
||||
<div class="report-item ultrasound-exam">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>超声检查报告</span>
|
||||
<span></span>
|
||||
<span class="report-number">填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="USPrinttitleDiv" style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">超声检查报告</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
<!-- 屏幕查看时显示PDF -->
|
||||
<div class="screen-only">
|
||||
@ -1106,11 +1114,14 @@
|
||||
<!-- 尿常规检查报告 -->
|
||||
<div class="report-item">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>尿常规检查报告</span>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span style="display: none; ">尿常规检查报告</span>
|
||||
<span class="report-number">填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">尿常规检查报告</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
<!-- 屏幕查看时显示PDF -->
|
||||
<div class="screen-only">
|
||||
@ -1126,7 +1137,7 @@
|
||||
</div>
|
||||
<div class="report-summary">
|
||||
<h4>尿常规小结:</h4>
|
||||
<p id="urine-summary">--</p>
|
||||
<p id="urine-summary" style="white-space: pre-line">--</p>
|
||||
</div>
|
||||
<div class="report-footer">
|
||||
<p class="report-footer-text">定期体检,尊享健康</p>
|
||||
@ -1138,12 +1149,16 @@
|
||||
<!-- 生化检查报告 -->
|
||||
<div class="report-item">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>生化检查报告</span>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span style="display: none; ">生化检查报告</span>
|
||||
<span class="report-number">填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">生化检查报告</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
|
||||
<!-- 屏幕查看时显示PDF -->
|
||||
<div class="screen-only">
|
||||
<iframe src="" +#toolbar=0&navpanes=0&view=Fit></iframe>
|
||||
@ -1158,7 +1173,7 @@
|
||||
</div>
|
||||
<div class="report-summary">
|
||||
<h4>生化小结:</h4>
|
||||
<p id="biochemistry-summary">--</p>
|
||||
<p id="biochemistry-summary" style="white-space: pre-line">--</p>
|
||||
</div>
|
||||
<div class="report-footer">
|
||||
<p class="report-footer-text">定期体检,尊享健康</p>
|
||||
@ -1170,12 +1185,16 @@
|
||||
<!-- 血常规检查报告 -->
|
||||
<div class="report-item">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>血常规检查报告</span>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span style="display: none; ">血常规检查报告</span>
|
||||
<span class="report-number">填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">血常规检查报告</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
|
||||
<!-- 屏幕查看时显示PDF -->
|
||||
<div class="screen-only">
|
||||
<iframe src=""></iframe>
|
||||
@ -1190,7 +1209,7 @@
|
||||
</div>
|
||||
<div class="report-summary">
|
||||
<h4>血常规小结:</h4>
|
||||
<p id="blood-summary">--</p>
|
||||
<p id="blood-summary" style="white-space: pre-line">--</p>
|
||||
</div>
|
||||
<div class="report-footer">
|
||||
<p class="report-footer-text">定期体检,尊享健康</p>
|
||||
@ -1202,12 +1221,16 @@
|
||||
<!-- 心电图检查报告 -->
|
||||
<div class="report-item">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>心电图检查报告</span>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span style="display: none; ">心电图检查报告</span>
|
||||
<span class="report-number">填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">心电图检查报告</span>
|
||||
</div>
|
||||
<div class="report-content">
|
||||
|
||||
<img src="" alt="心电图检查">
|
||||
</div>
|
||||
<div class="report-summary" id="ecg-summary">
|
||||
@ -1228,10 +1251,13 @@
|
||||
<div class="report-item" style="width: 800px;height: 1123px;margin:0 auto;position: relative;">
|
||||
<div class="report-title">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>中医体质辨识</span>
|
||||
<span></span>
|
||||
<span>填充值</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;margin-top: 5px;">
|
||||
<span style="font-size: 20px;font-weight: bold;">中医体质辨识</span>
|
||||
</div>
|
||||
<table class="constitution-table" id="constitution-result" style="margin: 10px auto 30px;">
|
||||
<tr>
|
||||
<td width="50%" style="text-align: center;">体质辨识结果</td>
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user