<img class="lazy" data-…" />

杰奇CMS模板 循环子ID调用

{?section name=i loop=$articlerows?}
<li>
<a href="{?$articlerows[i].url_articleinfo?}"><img class="lazy" data-original="http://img.xxx.com{?$articlerows[i].articleid|subdirectory?}/{?$articlerows[i].articleid?}/{?$articlerows[i].articleid?}s.jpg" src="http://xxxx.com/noimg.jpg"  alt="{?$articlerows[i].articlename?}" width="106" height="146" /></a>
<h2><a href="{?$articlerows[i].url_articleinfo?}">{?$articlerows[i].articlename?}</a></h2>
</li>
{?/section?}
<div class="clearfix"></div>

标签