{pc:content action="position" posid="14" catid="13,14,15,16,17,18,19,20,21" order="listorder DESC"  start="0" num="1" return="data"}
                        {loop $data $key $r}
                        <a href="{$r['url']}" target="_blank"><h3 class="news_title font_hidden">{str_cut($r['title'],36,'')}</h3></a>
                        <div class="news_description">{str_cut($r['description'],80)} [<a href="{$r['url']}" target="_blank">详情</a>]</div>
                        {/loop}

                        {/pc}

 

v9这样调用不行,如果想要让他能调用多个栏目id那就只有加“in”

 

用in
方法 catid IN(13,14,15,16,17,18,19,20,21)

这个只能在推荐位时候使用  lists不行

lists只有通过如下方法

    1. {pc:get sql="SELECT * FROM v9_news WHERE catid IN (61,62,63,64,65) order by id DESC" num="10"  return="data" }