search.phtml
2.8 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
52
53
54
55
56
57
58
59
{{> layout/header}}
<div class="search-help-page help-page yoho-page clearfix">
{{# help}}
{{> layout/path-nav}}
<div class="left-container">
{{> help/navigation}}
{{> help/service}}
</div>
<div class="help-main block">
<div class="search-content">
{{# questions}}
<h2>常见问题列表</h2>
<ul>
{{# common}}
<li><a class="faqs" data-ask="{{ask}}" data-answer="{{answer}}">{{ask}}</a></li>
{{/ common}}
</ul>
<div class="full-search">
<form method="post" action="{{formAction}}">
<span>您有问题需要咨询? 您可以搜索问题答案:</span>
<label>
<input name="problem" type="text" class="full-search-name" placeholder="输入您的问题关键字">
<input type="submit" class="search-btn">
</label>
<span>或者</span>
<a href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank" class="yoho-im-btn"></a>
</form>
</div>
<h2>所有问题一览</h2>
{{#if all.empty}}
<p class="empty-tip">{{{all.empty}}}</p>
{{^}}
<div class="all-ask-list">
{{# all}}
<div class="ask-item {{class}}">
<div class="ask">问:{{ask}}</div>
<div class="answer">答:{{answer}}</div>
</div>
{{/ all}}
</div>
{{# pager}}
<div class="search-pager">
<div class="pull-right">
<span>共{{count}}条结果,{{curPage}}/{{totalPages}}页</span>
<div class="pager-html pager">
{{{pagerHtml}}}
</div>
</div>
</div>
{{/ pager}}
{{/if}}
{{/ questions}}
</div>
</div>
{{/ help}}
<div id="help-dialog-widget" class="dialog-widget hide"></div>
<div id="help-dialog-bg" class="dialog-bg hide"></div>
</div>
{{> layout/footer}}