search.hbs
1.83 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
41
42
43
44
45
46
47
48
49
50
51
<div class="brand-page brand-search-page yoho-page">
<div class="newbrand-search">
<form class="search-box clearfix">
<input type="text" class="search-input" id="keyword" placeholder="查找品牌">
<i class="search-icon iconfont"></i>
<div class="search-action">
<span class="iconfont clear-text"></span>
<a class="cancel-btn" href="javascript: history.go(-1);">取消</a>
</div>
</form>
</div>
<div class="search-result">
</div>
</div>
<div class="search-brand-page">
<div class="search-items">
<div class="net-history hide">
<div class="history-search net-search hide">
<ul class="history clearfix net">
<li>
<a href="{{url}}" brandName="{{name}}" collectTime="{{searchTime}}">{{name}}</a>
</li>
</ul>
</div>
</div>
<div class="history-search local-search">
<h3><span class="iconfont left-icon"></span>最近搜索
<button id="clear-history" class="clear-icon iconfont"></button>
</h3>
<ul class="history clearfix local-history">
</ul>
</div>
{{#if hot}}
<div class="hot-search">
<h3><span class="iconfont left-icon"></span>热门搜索</h3>
<ul class="hot clearfix">
{{# hot}}
<li>
<a href="{{url}}" brandName="{{name}}">{{name}}</a>
</li>
{{/ hot}}
</ul>
</div>
{{/if}}
</div>
</div>
<script id="brands-data" type="text/tmpl">
{{{brandList}}}
</script>