迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發框架,基于MIT開源許可協議發布,免費且不限制商業使用,是免費開源的產品,以萬端互聯為設計理念,支持的微信公眾號、小程序、APP客戶端、移動端網站、PC網站等多終端式管理系統。
聯系官方銷售客服
1835022288
028-61286886
那么迅睿cms可以與之替換的標簽是什么呢?
當前位置
欄目頁的模板標簽生成工具:http://www.zbshanke.com/doc/code/category.html
{category pid=$top.id return=c}
<li {if $c.id==$catid} class="active"{/if}><a href="{$c.url}">{$c.name}</a></li>
{/category}
回復@wxj220 active是可以替換的class值嗎?
active替換為原來模板中的高亮或者當前選擇的class就可以了,望采納
當前位置
欄目頁的模板標簽生成工具:http://www.zbshanke.com/doc/code/category.html
{category pid=$top.id return=c}
<li {if $c.id==$catid} class="active"{/if}><a href="{$c.url}">{$c.name}</a></li>
{/category}
回復@wxj220 active是可以替換的class值嗎?
{category pid=$top.id return=c}
<li {if $c.id==$catid} class="active"{/if}><a href="{$c.url}">{$c.name}</a></li>
{/category}
active替換為原來模板中的高亮或者當前選擇的class就可以了,望采納