consult.phtml 2.23 KB
{{> layout/header}}
<div class="consult-me-page me-page yoho-page clearfix">
    {{# consult}}
        {{> home/path}}

        {{> home/navigation}}

        <div class="me-main">
            <div class="consult block">
                <h2 class="title"></h2>

                <div class="me-consult">
                    {{#if consults.empty}}
                        {{#with consults}}
                            {{> home/empty}}
                        {{/with}}
                    {{^}}
                        <div class="consults">
                            <table class="consults-table">
                                <tr>
                                    <th colspan="2" align="left">产品信息</th>
                                    <th colspan="2" align="left">咨询内容</th>
                                </tr>
                                {{# 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>
                                            {{^}}
                                                <p>问题尚未回答。</p>
                                            {{/if}}
                                        </td>
                                        <td style="width:130px;">{{consultTime}}</td>
                                    </tr>
                                {{/ consults}}
                            </table>
                        </div>
                    {{/if}}
                </div>

                {{> home/pager}}
            </div>

        </div>
    {{/ consult}}
</div>
{{> layout/footer}}