联系官方销售客服

1835022288

028-61286886

投诉 已解决 为啥前台页面数据不对应 出来的是新闻栏目 1 0
迅睿CMS版本:4.3.13

我的后台目录是这样的



前台代码是这样的

{category module=share id=2}
<div class="title">
    <span>{$t.name}</span>
    {$t.englist_name}
</div>
<div class="category clearfix">
    {category module=share pid=2 return=c1}
    <h3>
        <span class="iconfont icon-jiantou"></span>
        <a href="javascript:;">{$c1.name}</a>
        <span></span>
    </h3>
    {if $c1.child}
    <ul>
        {category module=share pid=$c1.id return=c2 }
        <li><span class="iconfont icon-jiantou"></span><a href="{$c2.url}">{$c2.name}</a></li>
        {/category}
    </ul>
    {/if}
    {/category}
</div>
{/category}

为啥前台页面数据不对应 出来的是新闻栏目



官方提醒:使用category栏目循环标签的生成工具,填写参数就可以生成相关的代码,每个参数后面都有用法解释

解决方案