聯(lián)系官方銷售客服
1835022288
028-61286886
網(wǎng)站目錄
產(chǎn)品中心
二級(jí)級(jí)欄目1
三級(jí)欄目1
三級(jí)欄目2
二級(jí)級(jí)欄目2
三級(jí)欄目1
三級(jí)欄目2
現(xiàn)在需要循環(huán)產(chǎn)品中心下面的二級(jí)欄目。二級(jí)欄目下面包含三級(jí)欄目。以及三級(jí)欄目下面的信息 ,代碼如下:可是信息循環(huán)無(wú)法調(diào)用,大神看哪里出了問(wèn)題
{category module=share pid=2 return=c1}
<div class="zhuce">
<div class="index_tit"><h3>{$c1.name}</h3>
<span class="fz-serve">
{if $c1.child}
{category module=share pid=$c1.id return=c2} <a href="{$c2.url}">{$c2.name}</a> {/category}
{/if}
</span><div class="mores"><a href="{$c1.url}">更多++</a></div></div>
<ul>
{module module=share catid=$c1.id order=updatetime num=4 return=t} ---(這部分循環(huán)沒(méi)顯示)
<li class="wow fadeInUp" data-wow-delay=".1s">
<a href="{$t.url}"><img src="{dr_thumb($t.thumb, 600, 450)}" alt="{$t.title}"><div class="tit">{$t.title}</div></a>
</li>
{/module}
</ul>
</div>
{/category}
{category module=share pid=2 return=c1}
<div class="zhuce">
<div class="index_tit"><h3>{$c1.name}</h3>
<span class="fz-serve">
{if $c1.child}
{category module=share pid=$c1.id return=c2} <a href="{$c2.url}">{$c2.name}</a> {/category}
{/if}
</span><div class="mores"><a href="{$c1.url}">更多++</a></div></div>
<ul>
{module module=share catid=$c1.id order=updatetime num=4 return=t} ---(這部分循環(huán)沒(méi)顯示)
<li class="wow fadeInUp" data-wow-delay=".1s">
<a href="{$t.url}"><img src="{dr_thumb($t.thumb, 600, 450)}" alt="{$t.title}"><div class="tit">{$t.title}</div></a>
</li>
{/module}
</ul>
</div>
{/category}
官方提醒:使用module內(nèi)容循環(huán)標(biāo)簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個(gè)參數(shù)后面都有用法解釋
官方提醒:使用category欄目循環(huán)標(biāo)簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個(gè)參數(shù)后面都有用法解釋
{module module=share catid=$c1.id order=updatetime num=4 return=t}
這句話錯(cuò)了 module=share無(wú)效的應(yīng)該改成module=$c1.mid