<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>迷你柜商品</title> <meta name="viewport" content="initial-scale=1, maximum-scale=1"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> </head> <body> <div class="a-parent"> </div> <button id="print">打印</button> </body> <script> var a = document.querySelector('.a-parent'); var btn = document.querySelector('#print'); var json = { "EBusinessID": "1290095", "Success": true, "Order": { "OrderCode": "YD201703011102105952", "ShipperCode": "YD", "LogisticCode": "4060002543597", "MarkDestination": "京-朝阳 ", "OriginCode": "406000254359757715", "OriginName": "VIP客户项目三组", "SortingCode": "qVbEMPZb8Wq+ZKTUQRntt9++3al6cWymci4AwZGd3DKv6+S09kD6wG86tn1o4aFmtSxpufMWMk2Dcp0ZzlOvPQ==", "PackageCode": "0", "PackageName": " ", "KDNOrderCode": "KDN170602110021226449" }, "Reason": "成功", "ResultCode": "100", "PrintTemplate": "<!DOCTYPE html>\r\n<html lang=\"zh-CN\">\r\n<!--100*210,105-->\r\n<head>\r\n <meta charset=\"utf-8\"/>\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE =8\" />\r\n <style>\r\n * { margin: 0; padding: 0; }\r\n .print_paper { font-size:14px; border:none; border-collapse: collapse; width: 372px; margin-top:-1px; table-layout:fixed; }\r\n .print_paper td{ border: solid #000 1px; overflow: hidden; }\r\n .print_paper .xx10 { font-size:10px; }\r\n .no_border td{ border:none; vertical-align: top;}\r\n .print_paper .pt5{ padding-top: 5px;}\r\n .fhei{font-family: 'SimHei';}\r\n .far{font-family: airal}\r\n .f24{ font-size:24pt; }\r\n .f20{ font-size:20pt; }\r\n .f18{ font-size:18pt; }\r\n .f14{ font-size: 14pt;}\r\n .f12{ font-size: 12pt;}\r\n .f10{ font-size: 10pt;}\r\n .f8{ font-size: 8pt;}\r\n .f7{ font-size: 7pt;}\r\n .b{ font-weight: bold;}\r\n .tc{ text-align: center; }\r\n .vt{ vertical-align: top; }\r\n .l{ float: left;}\r\n .ohh{ white-space:nowrap;overflow: hidden;}\r\n .print_paper .wba{ word-break:break-all; }\r\n .w1{ width: 100%; }\r\n .lh12{ line-height: 12px; }\r\n .pp-bn td{ border: none; }\r\n .t-bn { border: 1px solid #000; }\r\n .t-bn td{ border: none; }\r\n .print_paper .br{border-right:1px solid #000;}\r\n .btw7{border-top:7px solid #000; }\r\n .pt5{ padding-top: 5px;}\r\n .pl5{ padding-left: 5px; }\r\n .pl10{ padding-left: 10px; }\r\n .pl20{ padding-left: 20px; }\r\n .pr10{ padding-right: 10px; }\r\n .pl80{ padding-left: 80px;}\r\n </style>\r\n</head>\r\n<body class=\"fhei\">\r\n<table class=\"print_paper t-bn\">\r\n <tr height=\"170\">\r\n <td class=\"vt\">\r\n <table class=\"w1 print_paper\">\r\n <tr class=\"ohh\" height=\"60\">\r\n <td class=\"ohh f8 lh12 pt5 pl5\" width=\"209\">\r\n <div>始发网点:VIP客户项目三组</div>\r\n <div>姓名: Taylor</div>\r\n <div>电话:15018442396</div>\r\n <div>发件公司: </div>\r\n <div>发件地址:明珠路73号</div>\r\n </td>\r\n </tr>\r\n </table>\r\n\r\n <table class=\"w1 print_paper\">\r\n <tr height=\"70\">\r\n <td class=\"ohh f10 pt5 pl5 lh12 vt\" width=\"50\">\r\n <div>送达 </div>\r\n <div>地址:</div>\r\n</td>\r\n <td class=\"lh12 b f10\">\r\n <div>收件人:Yann</div>\r\n <div>电话:15018442396</div>\r\n <div>收件公司: </div>\r\n <div class=\"wba\">\r\n 收件地址:北京北京朝阳区三里屯街道雅秀大厦\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n <table class=\"w1 print_paper\">\r\n <tr height=\"40\">\r\n <td class=\"f14 b pl5\" width=\"230\">\r\n \r\n </td>\r\n <td style=\"text-align:center\">\r\n <img class=\"r\" src=\"data:image/gif;base64,R0lGODlhLgAgAPcAAAAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAA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WPD0FKtBjRpEOXGz+eDMmSY8KYN1EWVFmxJsafM2HqbCmy50+bGlEmfZhy5sqjQJcKZbrTqdGdUUvafNmQqMWrI7filNp16VOsU9OW5em0pVilWmUWbYs0bk6qXjGCdQuUa1+cVeeK5HtXrdyvdLMGfYvX7N66i/8OdZzYcOG1ViszthwY8WDIfi8f1qtZMlOyo2lCtYy6qWCfrO12Jv1ZcejWs1Wj3cw79dmwpjnn1Q1ctPHcvwm3xj08Oeixsps/tg09smvPsHsfl17aOHPKAQEAOw==\" />\r\n <div style=\"font-size:10px;\">0</div>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n</table>\r\n<table class=\"print_paper t-bn\">\r\n <tr height=\"60\">\r\n <td class=\"tc br\" width=\"77\">\r\n [二维码]\r\n </td>\r\n <td class=\"tc b f20\" width=\"290\">\r\n 京-朝阳 \r\n </td>\r\n </tr>\r\n</table>\r\n\r\n<table class=\"print_paper btw7\">\r\n <tr height=\"60\">\r\n <td class=\"tc\">\r\n <img src=\"data:image/gif;base64,R0lGODlhsgAyAPcAAAAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAAr/wBVAABVMwBVZgBVmQBVzABV/wCAAACAMwCAZgCAmQCAzACA/wCqAACqMwCqZgCqmQCqzACq/wDVAADVMwDVZgDVmQDVzADV/wD/AAD/MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMrADMrMzMrZjMrmTMrzDMr/zNVADNVMzNVZjNVmTNVzDNV/zOAADOAMzOAZjOAmTOAzDOA/zOqADOqMzOqZjOqmTOqzDOq/zPVADPVMzPVZjPVmTPVzDPV/zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YrAGYrM2YrZmYrmWYrzGYr/2ZVAGZVM2ZVZmZVmWZVzGZV/2aAAGaAM2aAZmaAmWaAzGaA/2aqAGaqM2aqZmaqmWaqzGaq/2bVAGbVM2bVZmbVmWbVzGbV/2b/A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pHYd1pdiey8OGeNX49H4mHQ1UlfiWhP2KKCPURb4ZJVgXcnWjEfaeBqJS4J5opgVkrkihy1+JmSaa8XnZohu8adkk0xmhWKed+kpJaLJnQRjn0sZqZib00053I4a0hnWj5Qhl5ijVkKKn4i7kXojnITKmeOhQ/ZVJpBn7v+Zl5p+mqpfoCMOmlWhrGnK6GWxdRqkco+uF5WtgOp2qq6Xhpnps7wGi2NlaM4q6rG4lprtsl7Guemc0NYZbXyoUimrWsaytO2tyr7JrJOYjimvqoqa2Vq16K426rrJ5ldpnlCu6muriRoH673n2lckktCt+2+rATfJqqfwRTqtucSGmm6Wbdr6cF0RGzowxfniSXCjFlu7MZuTetylpfA6Oy/MBSdo73wJR7nwnzW6fHGz4M78a8UsnvxpyiUryDC7/r4MsIUCh0tzcTYfjHPGfK4sqbbtfpwa1BKPDPSdixo9WNnMYcky103/HHPQ4sb9Ldk3a4ivwmpv3XDXTkP/DLbIUg+ddN3U5kz2zsj27HDfIP/da+BmD2613YYriji/ivPtdsiPCx05p27ThrXK+mLbbr/kee0fvYB7TjLo5bpYedpr6s106ox/bWfYkL/+qrCxjp705adn3nbsb0ft+tj1Tl648HjXvjTqXG7uuNkTA0vuu6KDmnXp6ha/paDdpjo378sn3zzwCEOvc97TG4+79bu3LrfgsHOPctG014r5+Lkq365Y17n7fe53odufyfpnMZ4BMEkCZJ79pibBqrHvat4jnYdsRz3ywYxz2BMb0UxGsQ2hjUjwc+DSVBchAoawd9pDWgT15L7DpTBxD+TWB69XQhFK7oKUq6HlXm74vxXmbnXnm+DQOCct5HVPhu+TngopdcQWJrGAFFSfwYD4vAwOj4jiMyL9ePXC9P0wgUfjHwqliEMxIg+EPYThCMtWwrtF0X9hpOIYXRhHM+Zvhk9UI60a2EbeBAQAOw==\" />\r\n </td>\r\n </tr>\r\n <tr height=\"24\">\r\n <td class=\"f12 pl5\">\r\n 运单编号 <span class=\"pl80 b\">4060002543597</span>\r\n </td>\r\n </tr>\r\n</table>\r\n\r\n<table class=\"print_paper t-bn btw7\" >\r\n <tr height=\"25\">\r\n <td class=\"f7 pl5\" width=\"125\">\r\n 收件人/代签人:\r\n </td>\r\n <td class=\"f18 b far\" width=\"106\">\r\n\r\n </td>\r\n <td class=\"f7 pl5\">\r\n <div>签收日期:<span class=\"pl10\">年</span><span class=\"pl10\">月</span><span class=\"pl10\">日</span>\r\n </div>\r\n </td>\r\n </tr>\r\n</table>\r\n<table class=\"print_paper t-bn\">\r\n <tr height=\"230\">\r\n <td class=\"vt f8\">\r\n 订单号:YD201703011102105952<br />\r\n 寄件物品信息:鞋子X1<br />\r\n 备注:\r\n </td>\r\n </tr>\r\n <tr height=\"35\">\r\n <td class=\"vt\">\r\n <span class=\"pl5\" style=\"font-size:10px;\">4060002543597</span><img src=\"data:image/gif;base64,R0lGODlhsgAjAPcAAAAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAAr/wBVAABVMwBVZgBVmQBVzABV/wCAAACAMwCAZgCAmQCAzACA/wCqAACqMwCqZgCqmQCqzACq/wDVAADVMwDVZgDVmQDVzADV/wD/AAD/MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMrADMrMzMrZjMrmTMrzDMr/zNVADNVMzNVZjNVmTNVzDNV/zOAADOAMzOAZjOAmTOAzDOA/zOqADOqMzOqZjOqmTOqzDOq/zPVADPVMzPVZjPVmTPVzDPV/zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YrAGYrM2YrZmYrmWYrzGYr/2ZVAGZVM2ZVZmZVmWZVzGZV/2aAAGaAM2aAZmaAmWaAzGaA/2aqAGaqM2aqZmaqmWaqzGaq/2bVAGbVM2bVZmbVmWbVzGbV/2b/AGb/M2b/Zmb/mWb/zGb//5kAAJkAM5kAZpkAmZkAzJkA/5krAJkrM5krZpkrmZkrzJkr/5lVAJlVM5lVZplVmZlVzJlV/5mAAJmAM5mAZpmAmZmAzJmA/5mqAJmqM5mqZpmqmZmqz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i7kXojnITKmeOhQ/ZVJpBn7v+Zl5p+mqpfoCMOmlWhrGnK6GWxdRqkco+uF5WtgOp2qq6Xhpnps7wGi2NlaM4q6rG4lprtsl7Guemc0NYZbXyoUimrWsaytO2tyr7JrJOYjimvqoqa2Vq16K426rrJ5ldpnlCu6muriRoH673n2lckktCt+2+rATfJqqfwRTqtucSGmm6Wbdr6cF0RGzowxfniSXCjFlu7MZuTetylpfA6Oy/MBSdo73wJR7nwnzW6fHGz4M78a8UsnvxpyiUryDC7/r4MsIUCh0tzcTYfjHPGfK4sqbbtfpwa1BKPDPSdixo9WNnMYcky103/HHPQ4sb9Ldk3a4ivwmpv3XDXTkNLDLbIUg+ddN3U5kz2zsj27HDfIP/da+BmD2613YYriji/ivPtdsiPCx05p27ThrXK+mLbbr/kee0fvYB7TjLo5bpYedpr6s00RQEBADs=\"/>\r\n </td>\r\n </tr>\r\n</table>\r\n\r\n<table class=\"print_paper\" height=\"130\">\r\n <tr height=\"116\">\r\n <td class=\"f8 lh12\" width=\"234\">\r\n <div style=\"margin-left:3px\">\r\n 姓名:Taylor <br/>\r\n 电话:15018442396<br/>\r\n 发件公司: <br/>\r\n 发件地址:上海上海青浦区明珠路73号<br/>\r\n </div>\r\n <div class=\"pl10 pt5\">\r\n 收件人:Yann<br/>\r\n 电话:15018442396<br/>\r\n 收件公司:<br/>\r\n <div class=\"wba\">\r\n 收件地址:北京北京朝阳区三里屯街道雅秀大厦\r\n </div>\r\n </div>\r\n </td>\r\n <td class=\"vt f8\">\r\n \r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"2\" class=\"xx10\">官网:http://www.yundaex.com <span class=\"pl10\">客服热线:400-821-6789</span> <span class=\"pl10\">收货人联</span></td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>" } btn.onclick = function() { var w = window.open(); w.document.open() w.document.write(json.PrintTemplate) w.document.close(); } // a.innerHTML = json.PrintTemplate; </script> <html>
相关推荐
总的来说,顺丰快递丰桥电子面单html技术是一种高效、灵活的解决方案,它通过html和css的结合,实现了电子面单的自定义设计和打印。无论是对于快递公司内部的操作优化,还是对于商家的用户体验提升,都具有重要的...
【顺丰丰桥电子面单html.rar】是一个压缩包文件,主要包含了顺丰速运的电子面单模板。在电商和物流行业中,电子面单是现代化物流管理的重要组成部分,它替代了传统的纸质面单,提高了物流效率,降低了成本。顺丰丰桥...
本资源集合了"顺丰、京东、中通、圆通"这四大知名快递公司的面单模板,通过HTML和CSS技术实现了自适应不同宽度的设计,以满足150mm、180mm、210mm三种常见的打印需求。 首先,我们需要了解HTML(HyperText Markup ...
注:打印电子面单需要保存接口返回来的HTML数据, 请求参数 IsReturnPrintTemplate:1(返回电子面单模板:0-不需要;1-需要) 返回参数 PrintTemplate(返回HTML文本) 2.保存返回的HTML文本和物流单号 建议,利用...
综上所述,“韵达一联面单HTML模板”是一个结合了HTML、CSS和可能的JavaScript技术,用于生成符合韵达快递标准格式的电子面单,方便快速打印并确保信息准确无误。它涉及到网页布局、样式设计、图像处理、响应式设计...
这个模板使用了HTML、CSS和JavaScript技术,提供了动态数据绑定和交互功能,使得用户可以从后台系统获取数据并进行打印。以下是对这些技术及其在快递单模板中应用的详细解释: 1. **HTML(超文本标记语言)**:HTML...
在IT行业中,HTML打印是一种常见的需求,特别是在网页报表和文档生成场景中。Lodop是一款高效、便捷的网页打印控件,它使得开发者能够轻松实现HTML页面的打印功能。本资源包提供了与Lodop相关的JavaScript(JS)代码...
http://www.lodop.net/download.html 2.解压安装运行 3.vue部分实现 3.1将lodopDuncs.js文件放入工程中,具体操作可见:http://www.lodop.net/faq/pp35.html 3.2 编写代码 <button class=print-btn v-...
【顺丰快递单html】是一个基于HTML技术实现的顺丰快递单模板示例,它结合了CSS(层叠样式表)来实现美观且功能完善的打印界面。HTML(超文本标记语言)是网页开发的基础,用于定义页面结构,而CSS则用于控制页面的...
### Python项目开发实战:快递单打印系统 #### 一、项目背景与目标 随着电子商务行业的快速发展,快递业务量迅速增长,对于快递单打印的需求也变得越来越频繁和复杂。传统的手工填写方式不仅耗时费力,而且容易...
1. **创建打印模板**:设计一个专门用于打印的HTML模板,该模板应简洁明了,去除不必要的导航、侧边栏等元素,只保留打印内容,如订单号、客户信息、商品详情等。可以使用CSS媒体查询(@media print)来为打印页面...
2. 数据处理:将业务数据转化为适合打印的格式,如HTML字符串或者ESC/POS指令序列。这可能涉及到布局设计、条形码生成、二维码编码等。 3. 调用打印API:使用uni-app的设备接口,调用`uni.getProvider`获取打印服务...
这个压缩包“顺丰快递单模板html.zip”提供了一个基于HTML、CSS和JavaScript实现的顺丰快递单前端模板,这使得我们可以根据需要动态获取数据并实现打印功能。下面将详细探讨这些技术及其在实际应用中的作用。 1. ...
总结来说,这个"顺丰快递单模板html+css.zip"是一个综合运用HTML、CSS和JavaScript技术实现的前端模板,旨在为顺丰快递提供一种高效、易用的打印解决方案。通过学习和理解这个模板,开发者不仅可以提升前端技能,还...
4. **批量打印**:对于批量打印,你可以创建一个循环,对每个`JasperPrint`对象调用`JasperExportManager.exportReportToPdf()`或`JasperExportManager.exportReportToHtml()`等方法,将其转换为PDF或HTML格式。...
2. **HTML `<object>` 或 `<iframe>` 引入Webbrowser控件**:这种方法主要用于IE10以下的版本,它通过内嵌一个Webbrowser控件来实现打印。然而,这种方法不兼容其他非IE浏览器。 3. **document.execCommand('print'...
6. **电子化趋势**:随着科技的发展,越来越多的快递公司提供电子面单服务,通过手机APP或网站直接生成并打印,更加便捷环保。 综上所述,申通L快递单模版是申通快递运营中的重要工具,它简化了快递流程,提高了...
中通快递API是中通公司提供的一套接口,允许开发者通过编程方式与其服务进行交互,如创建运单、查询物流状态、打印面单等。在PHP中使用这个API,我们需要先了解它的接口文档,包括请求的URL、HTTP方法、请求参数和...
商城订单自动打印源码,本程序,采用PHP+C#开发,下订单后,发送到本地电脑,编辑好本地报表模板既可打印,报表采用HTML,方便编辑,自定义 运行环境.net framework2.0,mysql5.0 +php5.3+apache2.2