sale-box.hbs 896 Bytes
{{#saleCategory}}
    {{#if navItem}}
        <div class="sale-box {{#if forVip}}sale-vip-box{{/if}}">
            <div class="floor-header clearfix">
                <h2 class="floor-title">{{title}}</h2>
            </div>
            <ul class="sale-nav" urlLocation="{{urlLocation}}">
                {{#navItem}}
                    <li class="{{#vip}}green{{/vip}} {{#incompleteSize}}yellow{{/incompleteSize}} {{#newDiscount}}red{{/newDiscount}} {{#if @first}}active first{{/if}} {{#if @last}}last{{/if}}" urlLocation='{{urlLocation}}'>{{title}}</li>
                {{/navItem}}
            </ul>
            <div class="commodity-list">
                <ul class="clearfix goods">
                    {{# defaultGoods}}
                        {{> product/good}}
                    {{/ defaultGoods}}
                </ul>
            </div>
        </div>
    {{/if}}
{{/saleCategory}}