业务经理

微信扫描以上二维码

028-61286886

技术咨询

栏目下的子栏目明明是产品分类一 二 三 为何出来的结果是品牌介绍

迅睿框架 更新 2021-03-01 15:47:29 woniuqicheng

{xunruicms_img_title}c产品栏目下的子栏目明明是产品分类一 二 三

为何出来的结果是品牌介绍

{category module=share id=2 return=c1}
<div class="yunu-section bg1">
  <div class="container">
    <div class="yunu-section-title wow fadeInDowns animated"> <i class="img-center"><img src="{THEME_PATH}box/pc/images/pz_tit.png" alt=""></i> 品质 · <strong>好货</strong>
      <p>质量保障<span>/</span>大量现货<span>/</span>支持定制</p>
    </div>
    <ul class="s3 clearfix wow fadeInDowns animated">
         {category module=share pid=$c1.id  return=c2 }
        <li>
            <h3>{$c2.name}</h3>
            <span></span>
        </li>
       {/category}
    </ul>
    <ul class="s4 clearfix">
       {module module=product catid=$c1.id num=6  }
      <li> 
        <a href="{$t.url}"  title="{$t.title}">
            <div class="img-center">
                <img src="{dr_get_file($t.thumb)}" onerror="javascript:this.src='/static/assets/images/nopic.gif';" alt="{$t.title}">
            </div>
            <div class="text">
                <h4>{$t.title}</h4>
                <p>{dr_strcut($t['description'], 50, '...')}</p>
            </div>
            </a> 
        </li>
        {/module}
    </ul>
  </div>
</div>
{/category}


方案

  • 迅睿框架技术-邓芝 #1 · 2021-03-01 15:35:53
    满意答案
    {category module=share pid=$c1.id  return=c2 }
    去掉尾部空格,变成
    {category module=share pid=$c1.id  return=c2}
  • woniuqicheng #2 · 2021-03-01 15:47:29
    @迅睿框架技术-邓芝:谢谢大佬 原来空格惹的祸

迅睿系统漏洞

GEO系统
GEO系统(2026-09-15)
运营客户端,防止误触阴影处关闭对话框
独立站群系统
独立站群系统(2026-09-14)
子站独立部署时修复同步附件失败问题
在线客服
在线客服(2026-09-13)
修复删除会话报错问题 删除会话时联动删除聊天图片
在线考试竞赛系统
在线考试竞赛系统(2026-09-12)
增加投票功能 考试功能拓展 注意:更新后需要执行系统更新,更新数...
网上信箱
网上信箱(2026-09-12)
修复新版本兼容问题
GeoSeo收录宝
GeoSeo收录宝(2026-09-12)
1 优化Update.php文件,解决版本在线升级不完整问题 2 ...
GeoSeo工具箱
GeoSeo工具箱(2026-09-11)
修正历史记录推送
微信系统
微信系统(2026-09-11)
增加数据统计总览界面 账号管理增加服务和公众号的区别 菜单管理支持更...
答题系统
答题系统(2026-09-11)
一站式在线答题系统,支持真题考试、题库练习和错题本,适合培训、考证、...
阿里云滑动验证码
阿里云滑动验证码(2026-09-10)
采用阿里云验证码替换迅睿系统自带的图片验证码和滑动验证码。后台设置方...