index.hbs
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div class="search-page yoho-page">
{{# search}}
<input type="hidden" value="{{defaultTerms}}" id="default-terms">
<div id="search-input" class="search-input">
<form id="search-form" action="{{url}}" method="get">
<i class="search-icon iconfont"></i>
<input type="text" placeholder="{{#if defaultTerms}}{{defaultTerms}}{{else}}搜索商品、品牌{{/if}}" name="query" data-bp-id="search_page_input_1" class="buriedpoint" autocomplete="off">
<input type="hidden" name="from" value="search">
<i class="clear-input iconfont hide"></i>
<span id="search" class="search buriedpoint" type="submit" data-bp-id="search_index_one_0">搜索</span>
</form>
</div>
<ul class="search-associate"></ul>
<div class="search-items">
<div class="search-group history-search">
<div class="search-content-title">
<h3 class="left"><i class="ico-lately"></i>最近搜索</h3>
<i id="clear-history" class="right ico-del hide"></i>
</div>
<div class="search-content">
<ul class="history clearfix"></ul>
</div>
</div>
{{#if hotTerms}}
<div class="search-group hot-search">
<h3><i class="ico-hot"></i>热门搜索</h3>
<div class="search-content">
<ul class="hot clearfix">
{{# hotTerms}}
<li>
<a href='javascript:void(0);'>{{content}}</a>
</li>
{{/ hotTerms}}
</ul>
</div>
</div>
{{/if}}
</div>
{{/ search}}
</div>