聯(lián)系官方銷售客服
1835022288
028-61286886
flag推薦位推薦了2篇文章,num=2,4的時候調(diào)用不出文章,num=1,4的時候可以調(diào)用第一條文章,不知道是不是bug
{module module=news flag=6 field=title,url,inputtime,description,fubiaoti,toutiaozihao,pcsyttzyzh order=inputtime num=2,4 site=1} <h3> <a href="{$t.url}" target="_blank">{$t.fubiaoti}</a> </h3> {/module}
官方提醒:使用module內(nèi)容循環(huán)標(biāo)簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個參數(shù)后面都有用法解釋
{$debug}看看數(shù)據(jù)量,分別測試num=2,4和num=1,4和num不帶的時候,我懷疑數(shù)據(jù)太少不夠分