聯(lián)系官方銷售客服
1835022288
028-61286886
搜索結(jié)果頁面如沒有數(shù)據(jù)進行跳轉(zhuǎn)其他頁面如何實現(xiàn)呢? 沒結(jié)果的時候進行跳轉(zhuǎn)到固定頁面
{if $searchid}
{list action=search module=$dirname id=$searchid total=$sototal page=1 pagesize=1 urlrule=$urlrule}
<div class="article-detail">
<div class="article-title">
<h1>{dr_keyword_highlight($t.title, $keyword)}</h1>
</div>
<div class="entry-meta"><strong>添加時間:</strong><strong>{$t.inputtime}</strong></span> </div>
<div class="article-content-wrapper"> 所在位置:{dr_cat_value("1-news",dr_cat_value("1-news",$t.catid,"pid"),"name")}>{dr_cat_value("1-news",$t.catid,"name")}
<div class="article-content">
<div class="qhd-content"> {$t.xiangqing} </div>
</div>
</div>
<div class="detail-bottom"></div>
</div>
{/list}
{if !$total}
<div class="alert alert-danger"><strong>對不起!</strong> 沒有找到任何記錄 </div>
{/if}
{else}
<div class="alert alert-danger"><strong>對不起!</strong> 沒有找到任何記錄 </div>
{/if}
改成
回復迅睿框架創(chuàng)始人謝謝