联系官方销售客服

1835022288

028-61286886

POSCMS 版主:POSCMS负责人
搜索页面如何写成瀑布流?
类型:POSCMS 更新时间:2019-05-17 14:46:40

搜索页面如何写成瀑布流?这样做为什么没有效果,调用不出来呢?

<?php $get.catid && $catid=$get.catid;?>

{if $searchid && $sototal}

          {list action=search module=$dirname id=$searchid total=$sototal catid=$catid order=$newcs.order page=1 pagesize=20 urlrule=$urlrule}

{if $t.thumb!=''}

      <li class="clearfix"> <a href="{$t.url}">

  <div class="list_img"><img src="{dr_get_file($t.thumb)}" alt="{$t.title}"></div>

  </a> <a href="{$t.url}" class="item_info">

      <h3>{$t.title}</h3>

  <div class="item_bar">

    <span class="author"><?php $t.uid ? $xitau = substr_replace($t.author,'*****',3,5) : $xitau = '互联网';?>

      {$xitau}</span>

    <span class="time">{dr_date($t._updatetime, 'H:m')}</span>

  </div>

  <div class="item_bar comment"><i class="fa fa-commenting-o"></i><em>0</em></div>

  </a>

</li>

      {else}

      <li class="clearfix"> 

      <a href="{$t.url}" class="item_info">

      <h3>{$t.title}</h3>

  <div class="item_bar">

    <span class="author"><?php $t.uid ? $xitau = substr_replace($t.author,'*****',3,5) : $xitau = '互联网';?>

      {$xitau}</span>

    <span class="time">{dr_date($t._updatetime, 'H:m')}</span>

  </div>

  <div class="item_bar comment"><i class="fa fa-commenting-o"></i><em>0</em></div>

  </a>

</li>

      {/if}

{/list}

{/if}


回帖