orders.hbs 2.53 KB
{{#each orders}}
<div class="order-page">
    <div class="order" data-id="{{orderCode}}" data-href="{{detailUrl}}">
        <header class="header">
            订单编号:{{orderCode}}
            <span class="order-status">{{orderStatusDesc}}</span>
        </header>
        <section class="order-goods">
            {{# goods}}
                <div class="order-good" data-id="{{id}}">
                    <div class="thumb-wrap">
                    {{#if link}}
                    <a href="{{link}}"><img class="thumb lazy" src="{{image thumb 90 120}}"></a>
                    {{else}}
                    <img class="thumb lazy" src="{{image thumb 90 120}}">
                    {{/if}}
                    <p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p>
                    </div>
                    <div class="deps">
                        <p class="name row">{{name}}</p>
                        <p class="row">
                            {{#if color}}
                                <span class="color">
                                    {{#if tickets}}日期{{else}}颜色{{/if}}:{{color}}
                                </span>
                            {{/if}}

                            {{#if size}}
                                <span class="size">
                                    {{#if tickets}}区域{{else}}尺码{{/if}}:{{size}}
                                </span>
                            {{/if}}
                        </p>
                        <p class="row price-wrap">
                            <span class="price">
                                ¥{{price}}
                            </span>
                            <span class="count">
                                ×{{count}}
                            </span>
                            {{#if appearDate}}
                                <span class="appear-date">上市期:{{appearDate}}</span>
                            {{/if}}
                        </p>
                    </div>
                </div>
            {{/ goods}}
        </section>
        <footer class="footer">
{{count}}件商品  实付<span class="sum-cost">¥{{lastOrderAmount}}</span>
            {{#shippingCost}}(含运费¥{{.}}){{/shippingCost}}
        </footer>
        <div class="send-order clearfix">
            <button class="send-order-btn" data-action="select">发送订单</button>
        </div>
    </div>
    <input class="js-create-time" type="hidden" name="human-time" value="{{time}}">
</div>
{{/each}}