<ul>
<li><img src="123454"/><img src="123454"/></li>
<li><img src="123454"/><img src="123454"/></li>
<li><img src="123454"/><img src="123454"/></li>
</ul>
<foreach name="post.img" item="v" key="k">
<if condition="$k%2==0"><li></if>
<img src="{$host}/data/upload/{$v[‘attachment‘]}"/>
<if condition="($k+2)%2==1"></li></if>
</foreach>
时间: 2024-09-30 07:45:00