联系官方销售客服

1835022288

028-61286886

POSCMS 版主:POSCMS负责人
求助怎么在遍历模块的同时也遍历模块下的几条数据
类型:POSCMS 更新时间:2017-09-26 00:14:55 module

{list action=cache name=module }

                    {if !$t.share}

                    <li class="menu-dropdown classic-menu-dropdown {if (MOD_DIR && $t.dirname==MOD_DIR)}active{/if}">

                        

                    </li>

                    

                    <li>

<div class="col-md-4">

<div class="box-item">

<img src="images/13.jpg" class="img-responsive"/>

<div class="content">

<h3><a href="{$t.url}" title="{$t.title}">{$t.name}</a></h3>

<p>{if $t.child}

{list action=module catid=$c.id order=updatetime num=10}

<li style="line-height: 23px"><span class="badge badge-empty badge-success"></span>&nbsp;<a href="{$t.url}" class="title">{dr_strcut($t.title, 35)}</a></li>

{/list}

{/if}</p>

<a href="single.html">Read More...</a>

<br><br>

<span>MAY 21, 2014 BY VAFPRESS</span><br>

</div>

</div>

{/if}

                    {/list}