{dede:channelartlist typeid=‘2‘} <div class="cate-item"> <div class="cate-item-p text-ellipsis"><a href="{dede:field name=‘typeurl‘/}">{dede:field name=‘typename‘/}</a></div> <ul class=‘cate-child‘> {dede:sql sql=‘Select * from #@__arctype where reid=~id~ ORDER BY id limit 0,200‘} <li class="text-ellipsis"><a href="[field:typedir/]">[field:typename/]</a></li> {/dede:sql} </ul> </div>{/dede:channelartlist}
typeid是要调取的栏目的id
时间: 2024-11-05 14:37:10