help.hbs 3.22 KB
<div class="help-page blk-page">
    <div class="center-content clearfix">
        {{# content}}
        {{!-- 头部面包屑 --}}
            {{> common/path-nav}}

            {{!-- 左侧菜单导航 --}}
            <div class="help-navigation left">
                <p class="title bold">帮助中心</p>
                {{>menu}}
            </div>
            
            {{!-- 右侧页面内容 --}}
            <div class="help-main left">
                <div class="nav-top">
                    <span class="title-img"></span>
                        <ul class="notice" id="notice">
                            {{#each notice}}
                                <li>
                                    {{#each row}}
                                        <a class="notice-cont" href="{{jumpLink}}" target="_blank" data-index={{index}}><i class="dot-icon"></i> <span class="notice-txt">{{caption}}</span></a>
                                    {{/each}}
                                </li>
                            {{/each}}
                        </ul>
                    {{> search-form}}
                </div>

                {{#newGuide}}
                    {{> nav-title}}
                    <ul class="menu-common new-guide">
                        {{#each categoryItems}}
                            <li>
                                {{#each .}}
                                    <a href="{{jumpLink}}" target="_blank" {{#if @first}}style="margin-left: 0;"{{/if}}
                                        {{#if_cond ../../num '==' 4}}style="margin-left: 158px;"{{/if_cond}}
                                        {{#if_cond ../../num '==' 5}}style="margin-left: 104.5px;"{{/if_cond}} data-index={{index}}>
                                        <img src="{{categoryIco}}" width="55" height="55">
                                        <p>{{categoryName}}</p>
                                    </a>
                                {{/each}}
                            </li>
                        {{/each}}
                    </ul>

                {{/newGuide}}

                {{#selfService}}
                    {{> nav-title}}
                    <ul class="menu-common self-service">
                        {{#each list}}
                            <li>
                                {{#each .}}
                                    <a href="{{jumpUrl}}" target="_blank" {{#if @first}}style="margin-left: 0;"{{/if}} data-index={{index}}>
                                        <img src="{{categoryIco}}" width="55" height="55">
                                        <p>{{categoryName}}</p>
                                    </a>
                                {{/each}}
                            </li>
                        {{/each}}
                    </ul>
                {{/selfService}}

                {{#problem}}
                    {{> nav-title}}
                    <div class="problem">
                        {{#each list}}
                            <a href="javascript:void(0);" data-ask="{{caption}}" data-answer="{{content}}"><i class="dot-icon"></i>{{caption}}</a>
                        {{/each}}
                    </div>
                {{/problem}}
            </div>
        {{/ content}}
    </div>
</div>