You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
2.2 KiB
132 lines
2.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<title></title>
|
|
<script src="../../api/img-to-base64.js"></script>
|
|
<script type="text/javascript">
|
|
document.addEventListener('plusready', function() {
|
|
//console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。")
|
|
|
|
|
|
});
|
|
</script>
|
|
<style>
|
|
@media print {
|
|
@page {
|
|
size: A5 landscape;
|
|
/* 设置打印页面尺寸为A5 */
|
|
margin-bottom: 0;
|
|
padding: 0cm;
|
|
}
|
|
|
|
table {
|
|
page-break-after: always;
|
|
border-collapse: collapse;
|
|
border-top: none;
|
|
}
|
|
|
|
thead {
|
|
display: none;
|
|
border: none;
|
|
}
|
|
|
|
thead tr {
|
|
border: none;
|
|
}
|
|
|
|
thead td {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.jm-title {
|
|
/* border: 1.5px solid #000; */
|
|
font: 24px Helvetica;
|
|
color: #0a0a0a;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* 物品代码 物品名称 包装名称 */
|
|
.jm-print-30 {
|
|
font-weight: bold;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.jm-content {
|
|
/* border: 1.5px solid #000; */
|
|
color: #0a0a0a;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.font29 {
|
|
font: 29px Helvetica;
|
|
}
|
|
|
|
.font-bold-48 {
|
|
font: bold 48px Helvetica;
|
|
}
|
|
|
|
.font-bold-56 {
|
|
font: bold 56px Helvetica;
|
|
}
|
|
|
|
.jm-print-17 {
|
|
/* border */
|
|
: 1.5px solid #000;
|
|
}
|
|
|
|
.left-width {
|
|
/* 111 */
|
|
width: 111px;
|
|
/* border:1px solid red; */
|
|
}
|
|
|
|
.width-148 {
|
|
width: 138px;
|
|
/* border:1px solid red; */
|
|
|
|
}
|
|
|
|
thead {
|
|
display: none;
|
|
border: none;
|
|
}
|
|
|
|
thead tr {
|
|
border: none;
|
|
}
|
|
|
|
thead td {
|
|
border: none;
|
|
}
|
|
|
|
table {
|
|
margin-top: 20px;
|
|
border-top: none;
|
|
}
|
|
|
|
.hide-tr tr {
|
|
border: none;
|
|
}
|
|
|
|
.hide-tr td {
|
|
border: none;
|
|
}
|
|
|
|
.top-tr {
|
|
border-top-width: 1.5px !important;
|
|
border-top-color: #000 !important;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
mainBody
|
|
</body>
|
|
</html>
|