consult.hbs 1.91 KB
<div class="consult-me-page me-page yoho-page clearfix">
    {{> path}} {{> navigation}}
    <div class="me-main">
        <div class="consult block">
            <h2 class="title"></h2>
            <div class="me-consult">
                {{#if consults.length}}
                    <div class="consults">
                        <table class="consults-table">
                            <tr>
                                <th colspan="2" align="left">产品信息</th>
                                <th colspan="2" align="left">咨询内容</th>
                            </tr>
                            {{#each consults}}
                                <tr>
                                    <td style="width:60px;">
                                        <img class="thumb" src="{{thumb}}">
                                    </td>
                                    <td>
                                        <a class="name" href="{{href}}" title="{{name}}">{{name}}</a>
                                    </td>
                                    <td style="width:340px;">
                                        <p class="question">{{question}}</p>
                                        {{#if reply}}
                                            <p class="reply">{{reply}}</p>
                                        {{else}}
                                            <p>问题尚未回答。</p>
                                        {{/if}}
                                    </td>
                                    <td style="width:130px;">{{consultTime}}</td>
                                </tr>
                            {{/each}}
                        </table>
                        {{> common/foot-pager footPager=pager}}
                    </div>
                {{else}}
                    {{> empty }}
                {{/if}}
            </div>
        </div>
        {{> help-us}}
    </div>
</div>