其中imgs数据为[{url:'aaa'},{url:'bbbbb'}]
<#assign text>${imgs}</#assign>
<#assign json=text?eval />
<#list json as item>
<img width="30" height="30" src="${item.url}" />
</#list>
整体代码为:
<#macro artimgs imgs>
<div class="mt5 pt10 pl10 pr10 bbd pb5 bgwrite mb5" >
<#assign text>${imgs}</#assign>
<#assign json=text?eval />
<#list json as item>
<img width="30" height="30" src="${item.url}" />
</#list>
</div>
</#macro>