{php $data = get_childcat($catid);}
{loop $data $v}
<div class="yzm-content-box yzm-img-list">
<div class="yzm-title">
<h2>{$v[catname]}</h2>
<span class="yzm-title-right"><a href="{$v[pclink]}">>>更多</a></span>
</div>
<ul>
{m:lists field="title,thumb,url,color" catid="$v['catid']" limit="8"}
{loop $data $v}
<li>
<a href="{$v[url]}">
<i><img src="{get_thumb($v['thumb'])}" alt="{$v[title]}" title="{$v[title]}"></i>
<p>{title_color($v['title'], $v['color'])}</p>
</a>
</li>
{/loop}
</ul>
</div>
{/loop} |