order-detail.phtml 2.29 KB
{{> layout/header}}
<div class="order-detail-page yoho-page">
    {{# orderDetail}}
        <section class="owner-info block">
            <span class="iconfont"></span>
            <div>
                <p>
                    {{name}}
                    <span>{{phoneNum}}</span>
                    <span>{{address}}</span>
                </p>
            </div>
        </section>

        <section class="order-status block">
            <div class="status sub">
                <span class="iconfont"></span>
                <p>
                    <span>{{orderStatus}}</span>
                    <span>订单编号:{{orderNum}}</span>
                    <span>下单时间:{{orderTime}}</span>
                </p>
            </div>
            {{#unless orderCancel}}
                <a class="logistics sub" href="{{">
                    <span class="iconfont"></span>
                    <p>
                        <span>物流信息</span>                        
                        <span>物流公司:{{logisticsCompany}}</span>
                        <span>快递单号:{{logisticsNum}}</span>
                    </p>
                    <span class="iconfont">>&#xe614;</span>
                </a>
        </section>

        <section class="goods block">
            {{# goods}}
                {{> me/order/good}}
            {{/ goods}}
        </section>

        <ul class="cost block">
            <li>
                商品总金额
                <span>¥{{sumPrice}}</span>
            </li>
            <li>
                活动金额
                <span>-¥{{salePrice}}</span>
            </li>
            <li>
                运费
                <span>+¥{{freight}}</span>
            </li>
            <li>
                优惠券
                <span>-¥{{coupon}}</span>
            </li>
            <li>
                YOHO币
                <span>-¥{{yohoCoin}}</span>
            </li>
            <li>
                实付金额
                <span>¥{{price}}</span>
            </li>
        </ul>

        <div class="opt">
            <span class="btn btn-del">删除订单</span>

            {{#if completed}}
                <span class="btn btn-service">申请售后</span>
            {{/if}}
        </div>
    {{/ orderDetail}}
</div>
{{> layout/footer}}