联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
怎么在首个文章信息添加active
类型:迅睿CMS 更新时间:2023-10-17 09:26:21 {$t.title}


怎么在首个文章信息添加activeimage

  <div class="tab-btn"> 
      {category module=share pid=$c.id return=t2}
      <a class="active" href="javascript:;">{$t2.name}</a> 
      {/category}
      </div>
      <div class="tabs">
        {category module=share pid=$c.id return=t2}
        <div class="tabpage active">
          <ul class="product-list clear margin-t50">
            {module module=news catid=$c.id num=6}
            <li> <a href="{$t.url}">
              <div class="img100"><img src="{dr_get_file($thumb)}" alt="{$t.title}" /></div>
              <div class="pro-list-bot"> <b>{$t.title}</b>
                <h5>[list:description lencn=50]</h5>
                <div class="pro-i"></div>
              </div>
              </a> </li>
            {/module}
          </ul>
        </div>
        {/category}
      </div>