Blame view

public/hbs/service/chat/orders.hbs 2.69 KB
陈轩 authored
1 2 3 4 5 6 7 8 9
{{#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}}
zzzzzzz authored
10 11 12
                <div class="order-good" data-id="{{id}}">
                    <div class="thumb-wrap">
                    {{#if link}}
陈轩 authored
13
                    <a href="{{link}}"><img class="thumb lazy" src="{{thumb}}"></a>
zzzzzzz authored
14
                    {{else}}
陈轩 authored
15
                    <img class="thumb lazy" src="{{thumb}}">
zzzzzzz authored
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
                    {{/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">
陈轩 authored
36
                                ¥{{price}}
zzzzzzz authored
37 38 39 40 41 42 43 44 45 46
                            </span>
                            <span class="count">
                                ×{{count}}
                            </span>
                            {{#if appearDate}}
                                <span class="appear-date">上市期:{{appearDate}}</span>
                            {{/if}}
                        </p>
                    </div>
                </div>
陈轩 authored
47 48 49
            {{/ goods}}
        </section>
        <footer class="footer">
zzzzzzz authored
50
{{count}}件商品  实付<span class="sum-cost">¥{{lastOrderAmount}}</span>
陈轩 authored
51 52 53
            {{#unless @root.isGlobal}}
                {{#shippingCost}}(含运费¥{{.}}){{/shippingCost}}
            {{/unless}}
陈轩 authored
54 55
        </footer>
        <div class="send-order clearfix">
zzzzzzz authored
56
            <button class="send-order-btn" data-action="select">发送订单</button>
陈轩 authored
57 58 59 60
        </div>
    </div>
    <input class="js-create-time" type="hidden" name="human-time" value="{{time}}">
</div>
陈轩 authored
61 62
{{else}}
    <div class="no-orders">
陈轩 authored
63
        <i class="no-orders-pic"></i>
陈轩 authored
64 65
        <p>您暂时没有订单</p>
    </div>
陈轩 authored
66
{{/each}}