discount-activity.hbs
845 Bytes
{{#data}}
{{#if ../discountActivity}}
{{> common/floor-header-more}}
{{/if}}
<ul class="discount-list">
{{#list}}
<li>
<a href="/product/sale/discount/detail?id={{id}}&channel={{@root.channel}}">
{{#within @index 3}}
<img src="{{image2 cover_url w=640 h=250 q=60}}"/>
{{^}}
<img class="lazy" data-original="{{image2 cover_url w=640 h=250 q=60}}"/>
{{/within}}
<p class="discount-cont">
<span class="discount-title">{{title}}</span>
<span class="discount-time {{#if warn_color}}red-color{{/if}}">{{time}}</span>
</p>
</a>
</li>
{{/list}}
</ul>
{{/data}}