• 菜鸟打印模板


    <?xml version="1.0" encoding="utf-8"?>
    
    <page xmlns="http://cloudprint.cainiao.com/print" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns:editor="http://cloudprint.cainiao.com/schema/editor" 
        xsi:schemaLocation="http://cloudprint.cainiao.com/print http://cloudprint-docs-resource.oss-cn-shanghai.aliyuncs.com/lpml_schema.xsd" 
        width="76" 
        height="130" 
        splitable="false">
      <header height="0"></header>
      <footer height="0"></footer>
      
      <!-- 电子面单边框 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="2" endX="74" endY="2"></line>
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="2" endX="2" endY="128" editor:_deg_="90"></line>
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="128" endX="74" endY="128"></line>
      <line style="lineType:solid;lineColor:#000;" startX="74" startY="2" endX="74" endY="128" editor:_deg_="90"></line>
      
      <layout editor:_for_="1634626606482655" id="1634626606482472" width="14.43" height="6.85" left="2" top="1.6" style="zIndex:3;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:18;"><![CDATA[EMS]]></text>
      </layout>
      <layout editor:_for_="1634626794476739" id="1634626794477461" width="19.45" height="5" left="24.25" top="3.3200000000000003" style="zIndex:6;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:12;"><![CDATA[特快专递]]></text>
      </layout>
      <layout editor:_for_="1634627087705822" id="163462708770514" width="31.36" height="7.65" left="40.97" top="1.79" style="zIndex:4;">
        <text style="fontFamily:Arial;fontSize:6;align:right;">
        <![CDATA[网址:www.ems.com.cn
        客服电话:11183]]>
        </text>
      </layout>
      <layout editor:_for_="1634638094474919" id="1634638094485193" width="63.55" height="18.18" left="6.35" top="9.79" style="zIndex:43;">
        <barcode type="code128" style="hideText:true;rotation:0" ratioMode="keepRatio"><![CDATA[<%=_data.mailNo%>]]></barcode>
      </layout>
      <layout editor:_for_="1634628506287671" id="1634628506287211" width="71.83" height="5" left="2.32" top="28" style="zIndex:9;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:14;align:center;"><![CDATA[<%=_data.mailNo%>]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="34" endX="74" endY="34"></line>
    
      <layout editor:_for_="1634629232297683" id="1634629232297421" width="73.15" height="5" left="1.6" top="35.04" style="zIndex:11;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:13;align:center;"><![CDATA[<%=_data.destRouteLabel%>]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="41" endX="74" endY="41"></line>
      
      <layout editor:_for_="1634697874597941" id="1634697874597735" width="10.18" height="5" left="3.12" top="42.07" style="zIndex:44;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:9;"><![CDATA[收件:]]></text>
      </layout>
      <layout editor:_for_="1634629424004497" id="1634629424005918" width="57.82" height="5" left="13.86" top="42.03" style="zIndex:12;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:9;"><![CDATA[<%=_data.consigneeInfo%>]]></text>
      </layout>
      <layout editor:_for_="1634629500090323" id="1634629500090773" width="71.88" height="11.87" left="2.37" top="46.99" style="zIndex:14;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:9;"><![CDATA[<%=_data.consigneeAddress%>]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="59" endX="74" endY="59"></line>
      
      <layout editor:_for_="1634707036000186" id="163470703600081" width="10.6" height="3.94" left="3.43" top="59.8" style="zIndex:45;">
        <text style="fontFamily:Arial;"><![CDATA[寄件:]]></text>
      </layout>
      <layout editor:_for_="1634629932661111" id="1634629932661801" width="58.6" height="5" left="14.7" top="59.79" style="zIndex:15;">
        <text style="fontFamily:Arial;fontSize:7;"><![CDATA[<%=_data.sendInfo%>]]></text>
      </layout>
      <layout editor:_for_="1634630012834691" id="1634630012834583" width="70.24" height="7.38" left="3.32" top="64.02" style="zIndex:17;">
        <text style="fontFamily:Arial;fontSize:7;"><![CDATA[<%=_data.sendAddress%>]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="71.47" endX="74" endY="71.47"></line>
      
      <layout editor:_for_="1634630290118417" id="1634630290118540" width="36.64" height="5" left="2.06" top="73.29" style="zIndex:18;">
        <text style="fontFamily:Arial;"><![CDATA[实际重量:0.0]]></text>
      </layout>
      <layout editor:_for_="1634630367262861" id="1634630367263451" width="32.14" height="5" left="2.06" top="82.82" style="zIndex:19;">
        <text style="fontFamily:Arial;"><![CDATA[其它费用:]]></text>
      </layout>
      <layout editor:_for_="163463036976655" id="1634630369766442" width="34.79" height="5" left="2.3200000000000003" top="78" style="zIndex:20;">
        <text style="fontFamily:Arial;"><![CDATA[邮费:]]></text>
      </layout>
      <layout editor:_for_="163463047935959" id="1634630479359471" width="35.32" height="5" left="38.89" top="73.02" style="zIndex:21;">
        <text style="fontFamily:Arial;"><![CDATA[体积:]]></text>
      </layout>
      <layout editor:_for_="1634630506400529" id="1634630506400129" width="35.32" height="5" left="38.36" top="77.83" style="zIndex:22;">
        <text style="fontFamily:Arial;"><![CDATA[保价金额:0.0]]></text>
      </layout>
      <layout editor:_for_="1634630548578155" id="1634630548578325" width="34.79" height="5" left="38.89" top="82.61" style="zIndex:24;">
        <text style="fontFamily:Arial;"><![CDATA[实收金额:]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="88.08" endX="74" endY="88.08"></line>
      
      <layout editor:_for_="163463083603265" id="1634630836032262" width="69.71" height="7.65" left="2.79" top="89.48" style="zIndex:26;">
        <text style="fontFamily:Arial;"><![CDATA[内件品名:]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="97.25" endX="74" endY="97.25"></line>
      
      <layout editor:_for_="163463153367348" id="1634631533673964" width="41.37" height="25.85" left="2.6" top="98.71" style="zIndex:31;">
        <text style="fontFamily:Arial;"><![CDATA[备注:<%=_data.consignment%>]]></text>
      </layout>
      <!-- 列分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="45" startY="97.25" endX="45" endY="124.68" editor:_deg_="90"></line>
      <layout editor:_for_="1634631598543800" id="1634631598544625" width="23.41" height="5" left="45.39" top="98.21" style="zIndex:32;">
        <text style="fontFamily:Arial;"><![CDATA[签收人:]]></text>
      </layout>
      <layout editor:_for_="1634631639615393" id="1634631639616748" width="23.53" height="5.53" left="45.39" top="104.24" style="zIndex:33;">
        <text style="fontFamily:Arial;"><![CDATA[日期:]]></text>
      </layout>
      <!-- 已安检、已检视 四条外边框线 -->
      <line style="lineType:solid;lineColor:#000;lineWidth:2;" startX="53" startY="112" endX="70" endY="112"></line>
      <line style="lineType:solid;lineColor:#000;lineWidth:2;" startX="53" startY="122.92" endX="70" endY="122.92"></line>
      <line style="lineType:solid;lineColor:#000;lineWidth:2;" startX="53" startY="112" endX="53" endY="122.92" editor:_deg_="90"></line>
      <line style="lineType:solid;lineColor:#000;lineWidth:2;" startX="70" startY="112" endX="70" endY="122.92" editor:_deg_="90"></line>
      <layout editor:_for_="1634632596731289" id="1634632596731634" width="12.83" height="5" left="55.29" top="112.71" style="zIndex:34;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:11;align:center;"><![CDATA[已安检]]></text>
      </layout>
      <layout editor:_for_="1634632639527443" id="1634632639527580" width="14.56" height="5" left="54.44" top="117.41" style="zIndex:37;">
        <text style="fontFamily:Arial;fontWeight:bold;fontSize:11;align:center;"><![CDATA[已检视]]></text>
      </layout>
      
      <!-- 行分割线 -->
      <line style="lineType:solid;lineColor:#000;" startX="2" startY="124.68" endX="74" endY="124.68"></line>
      
      <layout editor:_for_="1634630946289256" id="1634630946289297" width="9.66" height="3.15" left="2.05" top="125.38" style="zIndex:27;">
        <text style="fontFamily:Arial;fontSize:5;"><![CDATA[验视人:]]></text>
      </layout>
      <layout editor:_for_="1634631034035468" id="163463103403552" width="23.94" height="3.41" left="16.58" top="125.21" style="zIndex:28;">
        <text style="fontFamily:Arial;fontSize:5;"><![CDATA[验视机构:陆家嘴营业部]]></text>
      </layout>
      <layout editor:_for_="1634631417858439" id="1634631417858334" width="26.05" height="3.68" left="48.74" top="124.94" style="zIndex:30;">
        <text style="fontFamily:Arial;fontSize:5;"><![CDATA[打印时间:<%=_data.printTime%>]]></text>
      </layout>
      
    </page>

    行分割线(实线)

    <line style="lineType:solid;lineColor:#000;" startX="2" startY="88.08" endX="74" endY="88.08"></line>

    列分割线(实线)

    <line style="lineType:solid;lineColor:#000;" startX="45" startY="97.25" endX="45" endY="124.68" editor:_deg_="90"></line>

    虚线

    <line style="lineType:dashed;lineColor:#000;" startX="0" startY="14" endX="76" endY="14"></line>

    条形码

    <layout editor:_for_="1634638094474919" id="1634638094485193" width="63.55" height="18.18" left="6.35" top="9.79" style="zIndex:43;">
        <barcode type="code128" style="hideText:true;rotation:0" ratioMode="keepRatio"><![CDATA[<%=_data.mailNo%>]]></barcode>
    </layout>

    二维码

    <layout editor:_for_="QRCode" id="QRCode" width="25" height="25" left="10" top="10"  style="zIndex:1;">
        <barcode type="qrcode" ratioMode="keepRatio"><![CDATA[<%=_data.twoDimensionCode%>]]></barcode>
    </layout>
  • 相关阅读:
    nginx配置ssl验证
    腾讯云服务器、nginx部署loopback
    mongo删除指定字段,可多个字段同时删除
    前端axios下载excel无法获取header所有字段问题
    本机是wifi,虚拟机无法连接外网问题
    import文件时 ~/ 不识别问题(react)
    监听F5刷新,添加路由前缀
    Django学习笔记(13)model_to_dict 的使用
    Django学习笔记(12)基于前后端分离模式-添加用例接口实现
    Django学习笔记(11)url管理之include
  • 原文地址:https://www.cnblogs.com/517cn/p/15458402.html
Copyright © 2020-2023  润新知