Accept Merge Request #2226: (feature/平台下单接口优化 -> develop)
Merge Request: 修改出厂检验报告模版 Created By: @禹翔辉 Reviewed By: @胡尧 Approved By: @胡尧 Accepted By: @禹翔辉 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/2226
This commit is contained in:
@@ -216,20 +216,18 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 只在最后一页显示页脚 */
|
||||
.footer:last-of-type {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 确保分页时内容不会与页脚重叠 */
|
||||
@media print {
|
||||
.page {
|
||||
page-break-after: always;
|
||||
margin-bottom: 250px; /* 与页脚高度匹配 */
|
||||
margin-bottom: 0; /* 移除之前的250px设置 */
|
||||
}
|
||||
.page:last-child {
|
||||
page-break-after: auto;
|
||||
}
|
||||
.page:last-child .footer {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user