diff --git a/public/templates/report-template.html b/public/templates/report-template.html index a10961b..5755fde 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -623,94 +623,97 @@ } /* 调整尿常规、生化和血常规报告小结左侧距离设置 */ - /* 尿常规小结部分 */ - #urine-summary-div { - padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ - margin-left: 20px !important; - margin-right: 0 !important; - } - - /* 尿常规续页内容 */ - #urine-page-2 .summary-content { - padding-left: 80px !important; - margin-left: 0 !important; - } - - /* 生化小结部分 */ - #biochemistry-summary-div { - padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ - margin-left: 20px !important; - margin-right: 0 !important; - } - - /* 生化续页内容 */ - #biochemistry-page-2 .summary-content { - padding-left: 80px !important; - margin-left: 0 !important; - } - - /* 血常规小结部分 */ - #blood-summary-div { - padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ - margin-left: 20px !important; - margin-right: 0 !important; - } - - /* 血常规续页内容 */ - #blood-page-2 .summary-content { - padding-left: 80px !important; - margin-left: 0 !important; - } - /* 心电图小结部分 */ - #ecg-summary { + /* 尿常规小结部分 */ + #urine-summary-div { padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ margin-left: 20px !important; margin-right: 0 !important; - } - /* 中医体质辨识表格部分 - 参考一般检查表格样式 */ - .constitution-table { - margin: 20px 0 30px 120px !important; /* 左侧边距增加到90px */ - width: calc(100% - 240px) !important; /* 调整表格宽度 */ - } - - .constitution-table td { - padding: 8px !important; - font-size: 18px !important; - line-height: 1.5 !important; - height: 30px !important; /* 设置单元格高度 */ - border: 1px solid #000 !important; - } - /* 中医体质辨识内容部分 - 参考其他报告的内容区域 */ - .constitution-detail-container { - padding: 5px 0 5px 90px !important; /* 与一般检查表格左内边距一致 */ + height: 300px !important; /* 添加固定高度 */ + } + + /* 尿常规续页内容 */ + #urine-page-2 .summary-content { + padding-left: 80px !important; + margin-left: 0 !important; + } + + /* 生化小结部分 */ + #biochemistry-summary-div { + padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ margin-left: 20px !important; - margin-right: 20px !important; - width: calc(100% - 140px) !important; /* 调整内容区域宽度 */ - font-size: 16px !important; - line-height: 3 !important; - border: none !important; - } - /* 心电图内容区域和图片样式 */ - #ecg-exam-content { - max-height: 500px !important; - overflow: hidden !important; - width: calc(100% - 100px) !important; /* 增加容器宽度,从140px减少到100px */ - text-align: center !important; - padding: 10px 0 10px 60px !important; /* 保持当前的左内边距 */ - margin: 0 !important; /* 移除自动边距 */ - margin-right: 5px !important; /* 右侧边距减小到5px */ - display: flex !important; - justify-content: center !important; - align-items: center !important; - } + margin-right: 0 !important; + height: 300px !important; /* 添加固定高度 */ + } + + /* 生化续页内容 */ + #biochemistry-page-2 .summary-content { + padding-left: 80px !important; + margin-left: 0 !important; + } + + /* 血常规小结部分 */ + #blood-summary-div { + padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ + margin-left: 20px !important; + margin-right: 0 !important; + height: 300px !important; /* 添加固定高度 */ + } + + /* 血常规续页内容 */ + #blood-page-2 .summary-content { + padding-left: 80px !important; + margin-left: 0 !important; + } + /* 心电图小结部分 */ + #ecg-summary { + padding: 5px 0 5px 80px !important; /* 增加左内边距到80px,与超声保持一致 */ + margin-left: 20px !important; + margin-right: 0 !important; + } + /* 中医体质辨识表格部分 - 参考一般检查表格样式 */ + .constitution-table { + margin: 20px 0 30px 120px !important; /* 左侧边距增加到90px */ + width: calc(100% - 240px) !important; /* 调整表格宽度 */ + } + + .constitution-table td { + padding: 8px !important; + font-size: 18px !important; + line-height: 1.5 !important; + height: 30px !important; /* 设置单元格高度 */ + border: 1px solid #000 !important; + } + /* 中医体质辨识内容部分 - 参考其他报告的内容区域 */ + .constitution-detail-container { + padding: 5px 0 5px 90px !important; /* 与一般检查表格左内边距一致 */ + margin-left: 20px !important; + margin-right: 20px !important; + width: calc(100% - 140px) !important; /* 调整内容区域宽度 */ + font-size: 16px !important; + line-height: 3 !important; + border: none !important; + } + /* 心电图内容区域和图片样式 */ + #ecg-exam-content { + max-height: 500px !important; + overflow: hidden !important; + width: calc(100% - 100px) !important; /* 增加容器宽度,从140px减少到100px */ + text-align: center !important; + padding: 10px 0 10px 60px !important; /* 保持当前的左内边距 */ + margin: 0 !important; /* 移除自动边距 */ + margin-right: 5px !important; /* 右侧边距减小到5px */ + display: flex !important; + justify-content: center !important; + align-items: center !important; + } - #ecg-exam-content img { - max-width: 100% !important; - max-height: 480px !important; - object-fit: contain !important; - margin: 20px auto !important; - border: none !important; - } + #ecg-exam-content img { + max-width: 100% !important; + max-height: 480px !important; + object-fit: contain !important; + margin: 20px auto !important; + border: none !important; + } } /* 添加首页样式 */