detail.hbs 1.41 KB
<div class="yoho-page bundle-body">
    {{# productList}}
        <div class="bundle-detail-goods">
            <div class="goods-img"><a href="{{url}}"><img src="{{image default_images 155 206}}" alt=""></a></div>
            <div class="goods-info">
                <p><span class="title">{{product_name}}</span><span class="count">x 1</span></p>
                <p><span class="select-btn" id="gskn-{{product_skn}}" data-id="{{product_id}}" data-index="{{@index}}"
                    data-skn="{{product_skn}}">请选择商品属性 <i
                        class="iconfont">&#xe616;
                </i></span></p>
                <p><span class="price">{{format_sales_price}}</span></p>
            </div>
        </div>
    {{/ productList}}
    <div class="chose-panel-top"></div>
    <div class="chose-panel"></div>
    {{# bundleInfo}}
    <div class="bundle-bar clearfix">
        <div class="bundle-bar-md">
            <div class="bundle-price">
                {{#if subPrice}}
                <span class="bundle-discount">立省¥{{subPrice}}</span>
                {{/if}}
                <span>套餐价: {{discountPriceStr}}</span>
            </div>
            <div class="sale-price">销售价: {{salesPriceStr}}</div>
        </div>
        <button id="bundle-buy-now" class="bundle-buy-btn">立即购买</button>
    </div>
        <input type="hidden" id="activityId" value="{{bundleId}}">
    {{/ bundleInfo}}
</div>