acivity-outlets.hbs 931 Bytes
<div class="active-list">
    <a class="back-ground-white {{#if hide}} hidden {{/if}}" href="{{activityUrl}}" >
        <img class="back-image" src="{{image coverUrl 640 300}}">
        <div class="center-square">
            <div class="title">{{title}}</div>
            <div class="num"><span class="discount-num">{{discountNum}}</span> {{discountText}}</div>
            <div id="demo1">
                <!--默认,服务端输出leftTime,把客户端时间干扰降到最低。单位秒-->
                <div class="cd cd-lite time hide" data-config="{'leftTime': {{leftTime}} }">— 仅剩<span class="left-day">${d}天</span>${h}时${m}分${s}秒 —</div>
                <div class="cd cd-medium time hide">{{leftTime}}</div>
            </div>
        </div>
    </a>
</div>
{{#if @last}}
<div class="more-activity hide"><p>更多精彩活动</p><span class="iconfont count-down-icon">&#xe609;</span></div>
{{/if}}