<!-- 图片 -->
<th colspan="2">图片:</th>
<!-- 如果photo不为空且size>0 遍历 -->
<#if (core.photo)?? && (core.photo?size>0) >
<#list core.photo as photo>
<tr>
<td colspan="4">
<img src="${CONTEXT_PATH}${(photo)!}" width="100px" height="75px"/>
</td>
</tr>
</#list>
</#if>
jfinal freemarker遍历图片 if each list
最新推荐文章于 2024-02-29 10:30:42 发布