太阳成游戏网站

联系官方销售客服

QQ1835022299

028-61286886

太阳成游戏网站框架 版主:太阳成游戏网站框架研发组
判断有二级显示二级没二级显示一级正常判断有三级显示三级没三级
类型:太阳成游戏网站CMS 更新时间:2020-09-16 09:26:24
模板标签里面

  {list action=category module=share pid=0}

  {if $t.child}

 

  • {$t.name}

       

          

          {if $t2.child}

            {list action=category module=share pid=$t.id return=t2}

           

    • {$t2.name}

           

           

              {list action=category module=share pid=$t2.id return=t3}

             

      • {$t3.name}
      •       {/list}

              

           

            

           

    •       {/list}

              {/if}

              

               {else}

                {list action=category module=share pid=$t.id return=t2}

           

    • {$t2.name}
    •       {/list}

               

                {/if} 

               

               

         

     

  •   {else}

     

  • {$t.name}
  •   {/if}

      {/list}



    判断 有二级 显示二级  没二级 显示一级 正常   判断有三级 显示三级  没三级不显示  这个 不生效呢
    模板文件:
    URL地址: