太阳成游戏网站CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
QQ1835022299
028-61286886
大哥们,这种三级分类的,如何为当前栏目判断保留一个class,比如:点击仓储货架系列下的轻型货架栏目, 2个都高亮。
{list action=category module=product pid=$top.id return=c1}
{if $c1.child}
{$c2.name}{/list}
{/if}
{/list}
目前这个没有作用。
{list action=category module=product pid=$top.id return=c1} {$c1.name} {if $c1.child} {list action=category module=product pid=$c1.id return=c2} {$c2.name}{/list} {/if} {/list}