<ul class="hhjk">
{module module=news LIKE_zdysx=%h% num=1}
<li class="s1"><a href=""></a></li>
<li class="s2"><a href=""></a></li>
<li class="s3"><a href=""></a></li>
<li class="s4"><a href=""></a></li>
<li class="s5"><a href=""></a></li>
{/module}
</ul>我想请教下 像这样的样式 我应该怎么循环判断呢,s1 到 s5 我应该怎么循环
{module module=news LIKE_zdysx=%h% num=1}这个标签标示循环一条数据,不可能出现5条数据的<ul class="hhjk"> {module module=news LIKE_zdysx=%h% num=20} <li class="s{$key+1}"><a target="_blank" href=""></a></li> {/module} </ul>😬 不是都给你写了吗?