cart-content.phtml 1.6 KB
<div class="cart-goods">
    {{# goods}}
        {{> cart/good}}
    {{/ goods}}

    {{# $notValidGoods}}
       {{> cart/good}}
    {{/ $notValidGoods}}

</div>

{{#if freebieOrAdvanceBuy}}
    <ul class="freebie-and-advance-buy">
        {{# freebie}}
            <li class="freebie">
                <span class="iconfont">&#xe620;</span>
                赠品
                <a href={{url}}>
                    <span class="count">{{count}}</span>
                    <span class="iconfont icon-right-arrow">&#xe614;</span>
                </a>
            </li>
        {{/ freebie}}
        {{#if advanceBuy}}
            <li class="advance-buy">
                <span class="iconfont">&#xe61b;</span>
                加价购
                <a>
                    <span class="count">{{advanceBuyCount}}</span>
                    <span class="iconfont icon-right-arrow">&#xe614;</span>
                </a>
            </li>
        {{/if}}
    </ul>
{{/if}}

<div class="price-compute">
    <p class="sum-price">
        <span class="title">总价</span>
        <span id="good-totalprice">¥{{price}}</span>
    </p>
    <p class="activity-price">
        <span class="title">
            活动价
            <i class="minus">-</i>
        </span>
        <span id="good-activityPrice">¥{{activityPrice}}</span>
    </p>
</div>

<div class="balance">
    <span class="iconfont icon-cb-checked"></span>
    <p>
        <span id="good-total">
            {{count}}件总计:¥{{sumPrice}}
        </span>
        <span class="tip">(不含运费)</span>
    </p>
    <a class="btn-balance">
        结算
    </a>
</div>