太阳成游戏网站

联系官方销售客服

QQ1835022299

028-61286886

POSCMS 版主:POSCMS负责人
怎么实现一级栏目有子栏目时 添加css class属性
类型:POSCMS 更新时间:2018-10-02 16:08:27 子栏目
        {list action=category module=share pid=0}  
          
  • {$t.name}             {if $t.child}                           {list action=category module=share pid=$t.id return=t2}               
  • {$t2.name}                {if $t2.child}                                    {list action=category module=share pid=$t2.id return=t3}                   
  • {$t3.name}
  •                   {/list}                                  {/if}                               {/list}                          {/if}            {/list}
    如代码所示想给有二级栏目的一级栏目添加个caret 属性   不知道怎么写了