magazine-confirm.hbs 1.76 KB
<div class="yoho-page magazine-confirm-page">
    {{# result}}
    {{# goodsList}}
        <div class="magazine-info">
            <div class="thumb">
                <img src="{{image goods_images 200 260}}">
            </div>
            <div class="info">
                <p class="name">{{product_name}}</p>
                <p class="time">{{sale_attr_desc.skc_attr}} {{sale_attr_desc.sku_attr}}</p>
            </div>
        </div>
    {{/ goodsList}}
    <div class="magazine-buy-num">
        <div class="buy-num-title">
            <div>请选择购买数量</div>
            <a href="#">
                查看购买说明
                <i class="iconfont">&#xe614;</i>
            </a>
        </div>
        <div class="choose-list">
            {{# prices}}
                <div class="choose-item {{className}}" data-price="¥ {{price}}" data-number="{{number}}">
                    <span>
                        <i class="iconfont choose-btn">&#xe6ea;</i>{{number}}{{unit}}
                    </span>
                    <span>{{price}}</span>
                </div>
            {{/ prices}}
            <div class="choose-item custom-choose">
                <span>
                    <i class="iconfont choose-btn">&#xe6ea;</i>自定义
                </span>
                <div class="custom-num">
                    <input id="custom-num-input" type="text" name="number" placeholder="请输入购买本数(小于{{maxBuyNumber}}的正整数)" data-max="{{maxBuyNumber}}">
                </div>
            </div>
        </div>
    </div>
    <div class="total-price">总计:<span class="total-num" data-sku="{{sku}}">{{totalPrice}}</span></div>
    {{/ result}}

    <div class="buy-btn-wrap">
        <button>立即支付</button>
    </div>
</div>