标签机模版②

javascript 复制代码
<#assign x=280>
<direction>1</direction>
<text x="${x}" y="13" font="12" r="90">${curGoods.goodsName}(${gIdx}/${order.goodsNumber})</text>
&lt;#if curGoods.property?? &amp;&amp; curGoods.property != ""&gt;
&lt;#list curGoods.property?split(",") as test&gt;
&lt;#assign x=x-36&gt;
<text x="${x}" y="13" font="12" r="90">${test}</text>
<!--#list-->
<!--#if-->
<text x="144" y="13" font="12" w="2" h="2" r="90">5${order.qudanhao?substring(1,4)}</text>
<text x="96" y="13" font="12" r="90">&lt;#if order.isNeedLogistics&gt;外卖&lt;#else&gt;堂食<!--#if--></text>
<text x="48" y="0" font="12" r="90">api工厂 18657126762</text>