请问两个一组循环 ?
{module module=zfxc catid=40 order=sort num=1,2}
<div carousel-item style="width: 1200px;">
<div class="zjtd_hz">
<!-- 两个一组 -->
<div class="zjtd_box">
<div class="zjtd_box_ch">
<p><span>{$t['title']}</span>/{$t['zhiwei']}</p>
<div></div>
<p>{$t['keshi']}</p>
<p>{$t['keywords']}</p>
</div>
<div class="zjtd_box_tp">
<img src="{dr_get_file($t['thumb'])}" alt="{$t['title']}">
</div>
<div class="zjtd_box_gd">
<a href="{$t['url']}">更多详情>></a>
</div>
</div>
<div class="zjtd_box">
<div class="zjtd_box_ch">
<p><span>李</span>/主任</p>
<div></div>
<p>宣传部</p>
<p>政工师</p>
</div>
<div class="zjtd_box_tp">
<img src="" alt="">
</div>
<div class="zjtd_box_gd">
<a href="">更多详情>></a>
</div>
</div>
</div>
{/module}
对应的循环,左边的可以循环,但是右边的就怎么调用数据?
用到了
定点循环num参数
num=1,1
num=2,1