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

    {{# $notValidGoods}}
       {{> shopping-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>