cart-bundle.hbs 1.43 KB
 <div class="bundle" data-activityid="{{poolId}}" data-poolbatchno="{{poolBatchNo}}" data-maxnum="{{poolStorageNumber}}" data-buynum="{{poolBuyNumber}}">
    <div class="bundle-title">
        <div class="opt">
            {{#unless goods.0.inValid}}
            <i class="iconfont chk select{{#if selected}} checked{{/if}}"></i>
            {{/unless}}
            <i class="iconfont chk edit"></i>
            {{#if goods.0.inValid}}
                <span class="disable fill-text">失效</span>
            {{/if}}
        </div>
        <div class="title">
            <span class="title-tag">优惠套装</span>
            <span class="title-text">{{poolTitle}}</span>
        </div>
    </div>
    <div class="bundle-nums clearfix">
        <div class="label">
            <span>套餐数量</span>
        </div>
        <div class="num-opt">
            <a href="javascript:;" class="btn btn-opt-minus{{#ifor minSelectNum isGift isAdvanceBuy}} disabled{{/ifor}}"><span class="iconfont"></span></a>
            <input type="text" class="good-num" disabled="true" value="{{poolBuyNumber}}" >
            <a href="javascript:;" class="btn btn-opt-plus{{#ifor maxSelectNum isGift isAdvanceBuy}} disabled{{/ifor}}"><span class="iconfont"></span></a>
        </div>
        <div class="count pull-right">x{{poolBuyNumber}}</div>
    </div>
    <div class="good-list">
        {{#goods}}
            {{> cart-good parent=..}}
        {{/goods}}
    </div>
</div>