fix(签署文书): 按字段分配页眉取值下划线宽度

This commit is contained in:
yelan
2026-09-16 17:35:45 +08:00
parent 51ec0f393d
commit 0d271d90be
4 changed files with 35 additions and 16 deletions
@@ -333,11 +333,12 @@ defineExpose({ getDocumentElement })
max-width: 100%;
}
/* 固定页眉:患者基本信息由 HIS 自动带出,与正文之间用一条横线分隔 */
/* 固定页眉:患者基本信息由 HIS 自动带出,与正文之间用一条横线分隔。
四项要在一行内放下,取值下划线的宽度由字段定义给出(内联 min-width),样式里不再写死 */
.sign-doc-body :deep(.sign-doc-header) {
display: flex;
flex-wrap: wrap;
gap: 12px 26px;
gap: 10px 18px;
padding-bottom: 10px;
margin-bottom: 16px;
border-bottom: 1.5px solid #52646e;
@@ -345,7 +346,7 @@ defineExpose({ getDocumentElement })
.sign-doc-body :deep(.sign-doc-header__item) {
display: inline-flex;
gap: 4px;
gap: 3px;
align-items: baseline;
}
@@ -356,8 +357,7 @@ defineExpose({ getDocumentElement })
}
.sign-doc-body :deep(.sign-doc-header__value) {
min-width: 6.5em;
padding: 0 6px 1px;
padding: 0 5px 1px;
color: #1c2b33;
font-size: 12.5px;
text-align: center;