order-list.hbs 1.8 KB
<div class="order-list">
    {{#if orders}}
        {{#each orders}}
            <div class="item">
                <div class="item-head">
                    <span class="time">{{time}}</span>
                    <span class="order-no">订单号:<span class="red">{{orderCode}}</span></span>
                </div>
                {{#each ordersGoodsBoList}}
                    <div class="item-body">
                        <a href="/erp2goods?sku={{productSku}}" target="_blank"><img src="{{image imgUrl 86 120}}" class="prd-img"></a>
                        <div class="prd-desc">
                            <a href="/erp2goods?sku={{productSku}}" target="_blank"><p class="prd-nm">{{productName}}</p></a>
                            <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>
                        <span class="btn send-order" data-no="{{orderCode}}"
                        data-nm="{{lastOrderAmount}}" data-time="{{time}}"
                        data-status="{{orderStatusDesc}}">发送订单</span>
                    </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>