模板优化
This commit is contained in:
parent
0ea6b18171
commit
4d888fb8a3
|
@ -48,12 +48,12 @@ public class ReceiptPrintRequest implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 小票渲染宽度,默认为:690
|
* 小票渲染宽度,默认为:690
|
||||||
*/
|
*/
|
||||||
private Integer width = 690;
|
private Integer width = 700;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生成的模板的高度,默认为:1200
|
* 生成的模板的高度,默认为:1200
|
||||||
*/
|
*/
|
||||||
private Integer height = 1250;
|
private Integer height = 1400;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div style="font-size: 32px;font-weight: bold;">
|
<div style="font-size: 32px;font-weight: bold;">
|
||||||
<div>
|
<div>
|
||||||
|
<div style="height: 50px;"></div>
|
||||||
<div style="text-align: center; font-size: 40px;font-weight: bold;"><span th:text="${hospitalName}"></span>
|
<div style="text-align: center; font-size: 40px;font-weight: bold;"><span th:text="${hospitalName}"></span>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center; font-size: 28px;font-weight: bold;"><span>****<span
|
<div style="text-align: center; font-size: 28px;font-weight: bold;"><span>****<span
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div style="font-size: 32px;font-weight: bold;">
|
<div style="font-size: 32px;font-weight: bold;">
|
||||||
<div>
|
<div>
|
||||||
|
<div style="height: 50px;"></div>
|
||||||
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
|
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center; font-size: 28px;"><span>****<span
|
<div style="text-align: center; font-size: 28px;"><span>****<span
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div style="font-size: 32px;font-weight: bold;">
|
<div style="font-size: 32px;font-weight: bold;">
|
||||||
<div>
|
<div>
|
||||||
|
<div style="height: 50px;"></div>
|
||||||
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
|
<div style="text-align: center; font-size: 40px; "><span th:text="${hospitalName}"></span>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center; font-size: 28px;"><span>****<span
|
<div style="text-align: center; font-size: 28px;"><span>****<span
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<body>
|
<body>
|
||||||
<div style="font-size: 32px;font-weight: bold;">
|
<div style="font-size: 32px;font-weight: bold;">
|
||||||
<div>
|
<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>
|
||||||
<div style="text-align: center; font-size: 28px;"><span>****<span
|
<div style="text-align: center; font-size: 28px;"><span>****<span
|
||||||
th:text="${registeTerminalName}"></span>****</span>
|
th:text="${registeTerminalName}"></span>****</span>
|
||||||
|
|
Loading…
Reference in New Issue