联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
请问两个一组循环更多详情李主任宣传部政工师更多详情对应的循环
类型:迅睿CMS 更新时间:2020-03-02 06:26:34 循环

请问两个一组循环 ?  

{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