discount-center-content.hbs 1.06 KB
<div class="center-content clearfix">
    {{#saleTitle}}
        <div class="sale-title">
            <h1 class="title">{{title}}</h1>
            {{#if discount}}
                <span class="discount">{{discount}}</span>
            {{/if}}
            {{#if discountText}}
                {{discountText}}
            {{/if}}
            <div class="time pull-right">
                <span class="iconfont">&#xe60a;</span>
                <label class="time-calculate hidden" data="{{time}}"></label>
            </div>
        </div>
    {{/saleTitle}}
    <ul class="sort">
        <li class="title">分类:</li>
        {{#leftContent}}
            {{#allSort}}
                {{#all}}
                    <li class="{{#if active}}active{{/if}}"><a href="{{href}}">{{name}} {{#if num}}({{num}}){{/if}}</a></li>
                {{/all}}
                {{#list}}
                    <li class="{{#if active}}active{{/if}}"><a href="{{href}}">{{name}} {{#if num}}({{num}}){{/if}}</a></li>
                {{/list}}
            {{/allSort}}
        {{/leftContent}}
    </ul>
</div>