预览间距调整

This commit is contained in:
Ledo 2025-08-05 08:36:59 +08:00
parent 18ea9e0783
commit 728dadf8f1
3 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ const open = async ( vals) => {
</div>
<div style="display: flex; align-items: center;">
<span style="white-space: nowrap;margin-left: 2mm "> </span>
<span style="flex-grow: 1; border-bottom: 1px solid black; height: 2em; margin-left: 1mm;">${item.name}</span>
<span style="flex-grow: 1; border-bottom: 1px solid black; margin-left: 1mm;">${item.name}</span>
</div>
<div style="display: flex; position: absolute; bottom: 2mm; left: 2mm; right: 2mm; height: 34mm;">
<div style="display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 13mm; margin-right: 1mm;">

View File

@ -112,7 +112,7 @@ const open = async (bomCode, vals) => {
</div>
<div style="display: flex; align-items: center;">
<span style="white-space: nowrap; margin-right: 1mm;"> </span>
<span style="flex-grow: 1; border-bottom: 1px solid black; height: 2em; margin-left: 1mm;">${item.name}</span>
<span style="flex-grow: 1; border-bottom: 1px solid black; margin-left: 1mm;padding-bottom: 0.2mm;">${item.name}</span>
</div>
<div style="display: flex; position: absolute; bottom: 2mm; left: 2mm; right: 2mm; height: 34mm;">
<div style="display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 13mm; margin-right: 1mm;">

View File

@ -90,7 +90,7 @@ const open = async (vals) => {
</div>
<div style="display: flex; align-items: center;">
<span style="white-space: nowrap; margin-right: 1mm;"> </span>
<span style="flex-grow: 1; border-bottom: 1px solid black; height: 2em; margin-left: -1mm;">${item.name}</span>
<span style="flex-grow: 1; border-bottom: 1px solid black; margin-left: -1mm;padding-bottom: 0.2mm;">${item.name}</span>
</div>
<div style="display: flex; position: absolute; bottom: 2mm; left: 2mm; right: 2mm; height: 34mm;">
<div style="display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 13mm; margin-right: 1mm;">