promotion.hbs
542 Bytes
{{!-- 商品促销 --}}
{{#if promotion}}
<div class="goods-discount" id="goodsDiscount">
{{#each promotion}}
{{#if @first}}
<h2 class="first-item short-text tap-hightlight"><span class="promotion-icon">促</span>{{promotionTitle}}<span class="icon-down iconfont dropdown"></span></h2>
{{else}}
<div class="discount-folder">
<h2 class="folder-item tap-hightlight"><span class="promotion-icon">促</span>{{promotionTitle}}</h2>
</div>
{{/if}}
{{/each}}
</div>
{{/if}}