stepper.hbs 519 Bytes
<div class="stepper" data-productType={{goods_type}}>
    <div class="minus action {{#isEqual buy_number 1}}disable{{/isEqual}}">
        <span class="iconfont">&#xe621;</span>
    </div>
    <div class="num">
        <input type="text" class="input" value={{buy_number}} readonly="readonly" />
    </div>
    <div class="plus action {{#isEqual left_number 0}}disable{{/isEqual}}">
        <span class="iconfont">&#xe61f;</span>
    </div>
    <div class="warning">
        {{showStorage left_number}}
    </div>
</div>