Blame view

apps/service/views/partial/order-list.hbs 1.81 KB
1 2 3 4 5
<div class="order-list">
    {{#if orders}}
        {{#each orders}}
            <div class="item">
                <div class="item-head">
李奇 authored
6
                    <span class="time">{{time}}</span>
7 8 9 10
                    <span class="order-no">订单号:<span class="red">{{orderCode}}</span></span>
                </div>
                {{#each ordersGoodsBoList}}
                    <div class="item-body">
姜枫 authored
11
                        <a href="/erp2goods?sku={{productSku}}" target="_blank"><img src="{{image2 imgUrl w=86 h=120}}" class="prd-img"></a>
12
                        <div class="prd-desc">
13
                            <a href="/erp2goods?sku={{productSku}}" target="_blank"><p class="prd-nm">{{productName}}</p></a>
14 15 16 17 18 19 20 21 22 23 24
                            <p class="prd-other">
                                <span class="price">{{lastPrice}}</span>
                                <span class="quantity">数量:{{buyNumber}}</span>
                            </p>
                        </div>
                    </div>
                {{/each}}
                <div class="item-footer">
                    <p class="order-amount">订单金额:¥{{lastOrderAmount}}</p>
                    <div class="order-other">
                        <span class="state">订单状态:{{orderStatusDesc}}</span>
李奇 authored
25 26
                        <span class="btn send-order" data-no="{{orderCode}}"
                        data-nm="{{lastOrderAmount}}" data-time="{{time}}"
李奇 authored
27
                        data-status="{{orderStatusDesc}}">发送订单</span>
28 29 30 31 32 33 34 35 36 37 38 39 40
                    </div>
                </div>
            </div>
        {{/each}}
        <div class="list-tip">
            <span class="tip">已经到底了</span>
        </div>
    {{else}}
        <div class="list-tip">
            <span class="tip">暂无订单</span>
        </div>
    {{/if}}
</div>