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

        {{> home/navigation}}

        <div class="me-main">
            <div class="orders block">
                <h2 class="title">
                    VIP金额累计需要订单成功且无退换货
                </h2>

                {{> home/tabs}}

                {{#if orders}}
                    {{> home/order-block}}
                {{/if}}

                {{!-- 历史订单 --}}
                {{#if historyOrders}}
                    <div class="me-history-orders me-orders">
                        <p class="order-table-header table-header clearfix">
                            <span class="info">商品信息</span>
                            <span class="order-sum">订单金额</span>
                            <span class="pay-mode">支付方式</span>
                        </p>
                        {{#if historyOrders.empty}}
                            {{#with historyOrders}}
                                {{> home/empty}}
                            {{/with}}
                        {{^}}
                            {{# historyOrders}}
                                <div class="order">
                                    <p class="order-title">
                                        订单编号:{{orderNum}}
                                        <span class="right">下单时间:{{orderTime}}</span>
                                    </p>
                                    <div class="order-wrap">
                                        <ul>
                                            {{# goods}}
                                                <li>
                                                    <div class="info clearfix">{{.}}</div>
                                                </li>
                                            {{/ goods}}
                                        </ul>
                                        <div class="order-sum">{{orderSum}}</div>
                                        <div class="pay-mode">{{payMode}}</div>
                                    </div>
                                </div>
                            {{/ historyOrders}}
                        {{/if}}
                    </div>
                {{/if}}

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

            {{!> home/help-us}}
        </div>
    {{/ meOrders}}
</div>
{{> layout/footer}}