cart-together-pop-list.hbs 2.08 KB
<div class="cart-together-product-list">
    <p class="title">
        凑单免运费
        <i class="iconfont close-btn">&#xe60d;</i>
    </p>
    <ul class="price-tabs clearfix">
        {{# tabs}}
            <li {{#if active}}class="active"{{/if}} data-price="{{price}}">{{priceTabName}}</li>
        {{/ tabs}}
    </ul>
    <div class="product-wrap">
        <div class="product-list clearfix">
            {{# product_list}}
                <div class="goods-item" data-id="{{id}}" data-skn="{{skn}}" data-index="{{@index}}">
                    <a href="{{href}}" target="_blank" class="img">
                        <img src="{{img}}" alt="{{name}}" />
                    </a>
                    <a class="name" href="{{href}}" target="_blank">{{name}}</a>
                    <p class="price">
                        <span class="sale-price">{{price}}</span>
                    </p>
                    <a class="btn-add-cart"
                       {{#if id}}data-id="{{id}}"{{/if}}
                       {{#if skn}}data-skn="{{skn}}"{{/if}}
                       data-role="add2cart">加入购物车</a>
                </div>
            {{/ product_list}}
        </div>
        {{# pager}}
            <div class="foot-pager clearfix" data-total={{../totalCount}}>
                <span class="total">{{tip.totalText}}<span>

                <div class="pager">
                    {{# prePage}}
                        <a href="javascript:;" class="pre-page" title="上一页"><span class="iconfont">&#xe60e;</span>上一页</a>
                    {{/ prePage}}

                    {{# pages}}
                        <a href="javascript:;" class="{{#if url}}num-page {{/if}}{{#if cur}}cur {{/if}}">{{num}}</a>
                    {{/ pages}}

                    {{# nextPage}}
                        <a href="javascript:;" class="next-page" title="下一页">下一页<span class="iconfont">&#xe60c;</span></a>
                    {{/ nextPage}}
                </div>
            </div>
        {{/ pager}}
    </div>
    <div>
        <span class="btn sure-btn">保存</span>
    </div>
</div>