goods-list.hbs 2.07 KB
<div class="goods-list info-box">
    <h4 class="status-title">商品清单</h4>
    {{#isY isMultiPackage}}
        <div class="multi-package-row">
            温馨提示:您购买的商品<em class="blue">分属不同仓库</em>,需要调拨,将被拆分成多个包裹送达
            <span class="iconfont show-package">&#xe643;</span>
            <div class="package-list hide">
                <div class="package-up-icon"></div>
                {{#each ../packageList}}
                    <div class="package-item">
                        <p class="package-title bold">包裹{{math @index '+' 1}}:{{#if @first}}总仓发货{{^}}异地调拨{{/if}}</p>
                        <ul class="package-goods clearfix">
                            {{#each goodsList}}
                                <li class="left">
                                    <img class="lazy package-goods-img" data-original="{{image goodsImages 100 134}}">
                                </li>
                            {{/each}}
                        </ul>
                        <p class="package-shipping">运费:¥{{shoppingCost}}元(原价{{round shoppingOrigCost 2}}元,优惠{{round shoppingCutCost 2}}元)</p>
                    </div>
                {{/each}}
            </div>
        </div>
    {{/isY}}
    <div class="table">
        <ul class="header">
            <li class="first">商品信息</li>
            <li>价格</li>
            <li>数量</li>
            <li>小计</li>
        </ul>
        <div class="table-body">
            {{> order/goods-box}}
        </div>
    </div>
</div>

<div class="payment-info info-box">
    {{# promotionFormulas }}
    <p>
        <span class="tip">{{promotion}}</span>
        <span class="amount">{{promotionAmount}}</span>
    </p>
    {{/ promotionFormulas }}
    <p class="payment-amount">
        <span class="tip">实付金额:</span>
        <span class="amount">¥{{paymentAmount}}</span>
    </p>
    {{#if showPaid}}
    <p class="paid">
        <span class="iconfont">&#xe60b;</span>订单已支付
    </p>
    {{/if}}
</div>