zzwy2/view/search/index.html

24 lines
1.0 KiB
HTML
Executable File

{layout name="layout" /}
<!-- 主体内容 -->
<div class="search-content w1360 wow fadeInUp" data-wow-duration=".8s" data-wow-delay="0">
<div class="case-title product-btns">
<a href="/search.html?type=product&keyword={$keyword}" {if $type=='product'}class="active"{/if}>产品</a>
<a href="/search.html?type=scheme&keyword={$keyword}" {if $type=='scheme'}class="active"{/if}>解决方案</a>
<a href="/search.html?type=news&keyword={$keyword}" {if $type=='news'}class="active"{/if}>新闻</a>
</div>
{if empty($items)}
暂无搜索结果
{else /}
<ul class="search-list">
{foreach $items as $item}
<li class="wow fadeInUp" data-wow-duration=".8s" data-wow-delay="0"><em></em>
<a href="{$path ?? ''}?id={$item.id ?? 0}" class="clips1">{$item.title ?? ''}</a>
</li>
{/foreach}
</ul>
{/if}
</div>
{if !empty($items)}
{$items->render('', 'class="page-list-bg w1360 wow fadeInUp" data-wow-duration=".8s" data-wow-delay="0"')|raw}
{/if}