聯(lián)系官方銷售客服
1835022288
028-61286886
想做一個下拉導航如圖
請問怎么樣循環(huán)出 二級的每個欄目的內(nèi)容在 三級彈出來?
目前我這樣設(shè)置,不知道是否正確.
{category module=share pid=$t2.id return=t3} {module module=goods catid=$t3.id field=url,title,thumb,catid order=updatetime num=4} {/module} {/category}
官方提醒:使用module內(nèi)容循環(huán)標簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個參數(shù)后面都有用法解釋
官方提醒:使用category欄目循環(huán)標簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個參數(shù)后面都有用法解釋
對是對的,前提是t2是從哪里來的
{category module=share pid=0}
一級
{category module=share pid=$t.id return=t2}
二級
{category module=share pid=$t2.id return=t3}
三級
{module module=goods catid=$t3.id field=url,title,thumb,catid order=updatetime num=4}
{/module}gory}
{/category}
{/cate
{/category}
回復@迅??蚣芗夹g(shù)-張洪
思路沒有問題,最嚴謹?shù)?,加一個判斷