聯(lián)系官方銷售客服
1835022288
028-61286886
<div class="munes"> <div class="mune"> <a class="m1" href="index.aspx">首頁</a> <a class="m2" href="product.aspx">產(chǎn)品世界</a> <a class="m3" href="about.aspx">探索日康</a> <a class="m4" href="news.aspx">媒體中心</a> <a class="m5" href="knowledge.aspx">日康課堂</a> <a class="m6" href="contact.aspx">加入日康</a> </div> </div>
誰知道這種怎么循環(huán)導(dǎo)航啊
不知道你是共享欄目還是獨(dú)立模塊,不過你自己可以參考上面的代碼
這些都在默認(rèn)模版里面有啊?。。?!注意查看默認(rèn)模版文件里面的調(diào)用代碼,對(duì)你很有幫助
這樣的 怎么樣從2開始
回復(fù)@許豐奕
這樣的 怎么樣從2開始
回復(fù)@五金沖壓件 直接把他改成 class="m{$i}" 或者 class="m{$key}" 試試就知道了。
回復(fù)@五金沖壓件 你的應(yīng)該是共享欄目吧 這個(gè)只調(diào)用一級(jí)欄目,估計(jì)你夠用了
回復(fù)@五金沖壓件 {$i} 或者 {$key} 默認(rèn)等于0 你在loop循環(huán)的時(shí)候加個(gè)基數(shù)就可以了。