栏目加了id不出内容

婳沨网络 · 54次点击 · 3周前

<!-- 测试 -->
{loop table="classtype" id="14" isshow="1" as="v"}
<a class="a1 {if(isset($type) && in_array($type['id'],$classtypedata[$v['id']]['children']['ids']))}color{/if}" href="{$v['url']}">{$v['classname']}</a>

    {if($classtypedata[$v['id']]['haschild'])}
    <ul>
        {foreach $classtypedata[$v['id']]['children']['list'] as $vv}
        <li><a href="{$vv['url']}">{$vv['classname']}</a></li>
        {/foreach}
    </ul>
    {/if}

    {loop tid="$v['id']" isshow="1" as="vv"}
       {$vv['title']}
    {/loop}
{/loop}
<!-- 测试 end -->

被收藏 0  ∙  0 赞  
加入收藏
3 回复  
善言善语 (您需要 登录 后才能回复 没有账号 ?)

请先登录网站