search.phtml 2.77 KB
{{> layout/header}}
<div class="search-help-page help-page yoho-page clearfix">
    {{# help}}
        {{> layout/path-nav}}
        <div class="left-container">
            {{> help/navigation}}
        </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}}