cart-gifts-win-tpl.hbs 1.59 KB
<div class="slide-img">
    <p class="sell-class-title">
        {{#if isGift}}选赠品:{{/if}}<!--选赠品:-->
        {{#if isPriceGift}}{{promotionTitle}}{{/if}}
    </p>
    <div class="side-img-dd">
        <ul class="img-list">
            {{#each goodsList}}
                <li class="img-item {{#if active}}active{{/if}}"
                    data-id="{{id}}"
                    data-skn="{{skn}}"
                    {{#if subjoinPrice}}data-subjoinprice="{{subjoinPrice}}"{{/if}}
                    {{#if isPriceGift}}data-ispricegift="{{isPriceGift}}"{{/if}}
                    {{#if isGift}}data-isgift="{{isGift}}"{{/if}}>
                    <span class="hide goods-id">{{goods_id}}</span>
                    <div class="good">
                        <a href="javascript:void(0);">   {{!--{{link}}--}}
                            <img class="lazy" src="{{imgCover}}"/>
                        </a>
                    </div>
                    {{#if_cond ../selectedSkn '==' skn}}<i class="iconfont checked">&#xe6cb;</i>{{/if_cond}}
                </li>
            {{/each}}
        </ul>
        <div class="img-brand-switch">
            <a class="prev iconfont" href="javascript:;">&#xe609;</a>
            <a class="next iconfont" href="javascript:;">&#xe608;</a>
        </div>
    </div>
</div>
<div class="product-detail-info"
     data-promotionid="{{promotionId}}"
     data-maxselectnum="{{maxSelectNumber}}"
     {{#if isSwap}}data-isswap="{{isSwap}}"{{/if}}
     {{#if isView}}data-isview="{{isView}}"{{/if}}>
    {{#productInfo}}
        {{> cart-product-info-tpl}}
    {{/productInfo}}
</div>