search-cont.hbs
1.94 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
{{#if error}}
<div class="search-result nav-title">很抱歉,关于“<span class="red">{{keywords}}</span>”没有找到您想要的答案</div>
<p class="result-error mt15">建议您:看看输入的文字是否有误/减少分类条件的限制/重新检索</p>
<p class="result-error">或 者:使用<a href="{{jumpUrl}}">在线客服</a>试试</p>
{{else}}
<div class="search-result nav-title">关于“<span class="red">{{keywords}}</span>”,共为您查询到<span class="red">{{total}}</span>个答案</div>
<ul class="search-list-area">
{{#helper_list}}
<li class="{{#if problem}}problem-li{{else}}article-li{{/if}}">
<p class="title">{{{caption}}}</p>
{{#if problem}}
<div class="cont">{{{content}}}</div>
{{else}}
<div class="cont">{{{content}}}</div>
{{/if}}
</li>
{{/helper_list}}
</ul>
{{!-- 分页 --}}
{{# footPager}}
<div class="foot-pager clearfix" data-total={{../totalCount}}>
<span class="total">
{{# tip}}
{{#if totalText}}
{{totalText}}
{{^}}
{{start}} - {{end}} / 共{{total}}件商品
{{/if}}
{{/ tip}}
</span>
<div class="pager">
{{# prePage}}
<a href="{{url}}" title="上一页"><span class="iconfont"></span>上一页</a>
{{/ prePage}}
{{# pages}}
<a{{#if url}} href="{{url}}"{{/if}}{{#if cur}} class="cur"{{/if}}>{{num}}</a>
{{/ pages}}
{{# nextPage}}
<a href="{{url}}" title="下一页">下一页<span class="iconfont"></span></a>
{{/ nextPage}}
</div>
</div>
{{/ footPager}}
{{/if}}