循环列表模块,只让当前第一项显示,其它数据项隐藏,目前一刷新页面其它数据项也被循环显示了,怎么只显示一个数据的内容,这个是要用if写吗?怎么写求大佬指导
{m:lists field="title,dexxxion,url,color,thumb" catid="13" modelid="1" limit="4"}
{loop $data $v}
<div class="intros intor-1" style="display: block;">
<div class="group">Group <br> Introduction</div>
<div class="line"><img src="{STATIC_URL}zhong/image/line-white.png" alt=""></div>
<div class="content clearfix">
<h3>介绍</h3>
<p>{$v[dexxxion]}</p>
</div>
<div class="details ">
<p>{$v[dexxxion]}</p>
<a class="btn" href="{$v[url]}">了解详情</a>
</div>
</div>
{/loop}