循环
{%each(i,item) list %}
<tr>
<td>${item.id}</td>
<td>${item.name}</td>
</tr>
{%/each%}
判断
{{if status == 'Y' }} <p>成功</p> {{else status == 'N' }} <p>失败</p> {{else}} <p>失败</p> {{/if}}
循环
{%each(i,item) list %}
<tr>
<td>${item.id}</td>
<td>${item.name}</td>
</tr>
{%/each%}
判断
{{if status == 'Y' }} <p>成功</p> {{else status == 'N' }} <p>失败</p> {{else}} <p>失败</p> {{/if}}