模板优化

This commit is contained in:
余文财 2025-07-01 12:44:43 +08:00
parent 0ea6b18171
commit 4d888fb8a3
5 changed files with 7 additions and 3 deletions

View File

@ -48,12 +48,12 @@ public class ReceiptPrintRequest implements Serializable {
/**
* 小票渲染宽度默认为690
*/
private Integer width = 690;
private Integer width = 700;
/**
* 生成的模板的高度默认为1200
*/
private Integer height = 1250;
private Integer height = 1400;
}

View File

@ -7,6 +7,7 @@
<body>
<div style="font-size: 32px;font-weight: bold;">
<div>
<div style="height: 50px;"></div>
<div style="text-align: center; font-size: 40px;font-weight: bold;"><span th:text="${hospitalName}"></span>
</div>
<div style="text-align: center; font-size: 28px;font-weight: bold;"><span>****<span

View File

@ -6,6 +6,7 @@
<body>
<div style="font-size: 32px;font-weight: bold;">
<div>
<div style="height: 50px;"></div>
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
</div>
<div style="text-align: center; font-size: 28px;"><span>****<span

View File

@ -6,6 +6,7 @@
<body>
<div style="font-size: 32px;font-weight: bold;">
<div>
<div style="height: 50px;"></div>
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
</div>
<div style="text-align: center; font-size: 28px;"><span>****<span

View File

@ -6,7 +6,8 @@
<body>
<div style="font-size: 32px;font-weight: bold;">
<div>
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
<div style="height: 50px;"></div>
<div style="text-align: center; font-size: 40px;"><span th:text="${hospitalName}"></span>
</div>
<div style="text-align: center; font-size: 28px;"><span>****<span
th:text="${registeTerminalName}"></span>****</span>