业务经理

微信扫描以上二维码

028-61286886

技术咨询

站内通知模板循环问题

迅睿框架 更新 2026-02-06 13:18:45 小鬼28

     <nav class="nav nav-style-1 nav-pills mb-3" role="tablist">
      {loop $type $i $t}
      <a class="nav-link {if $param.tid==$i}active{/if}" data-bs-toggle="tab" role="tab" href="#{dr_text2py($t.name)}" aria-selected="true">{$t.name}</a>
      {/loop}
     </nav>
     <div class="tab-content">
      
      {loop $type $i $t}
      {print_r($t)} 
      <div class="tab-pane text-muted {if $param.tid==$i} show active {/if}" id="{dr_text2py($t.name)}" role="tabpanel">
       {loop $list $t}
       {print_r($t)} 
       <div class="toast fade show" role="alert" aria-live="assertive"
        aria-atomic="true">
        <div class="toast-header text-default">
         {dr_notice_icon($t.type)}
         <strong class="me-auto">Ynex</strong>
         <small class="text-muted">{dr_fdate($t.inputtime)}</small>
        </div>
        <div class="toast-body">
         {if $t.url}
         <a href="{$t.url}" target="_blank">
          {$t.content}
          <i class="fa fa-link"></i>
         </a>
         {else}
         {$t.content}
         {/if}
        </div>
       </div>
       {/loop}
      </div>
      {/loop}
      
     </div>

用的bootstrap,就是上面标题下现在没啥问题就是下面内容无法确定哪个标题请教下这个怎么解决?

方案

  • 小波工作室 #1 · 2025-01-06 16:56:42
    满意答案
    应该是有个序号什么的吧
  • 小鬼28 #2 · 2026-02-06 13:18:45
    @小波工作室:已解决问题

迅睿系统漏洞

导入微信文章
导入微信文章(2026-09-15)
优化排版缺少文字情况
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)
一站式在线答题系统,支持真题考试、题库练习和错题本,适合培训、考证、...