Showing
1 changed file
with
7 additions
and
1 deletions
@@ -4,8 +4,14 @@ | @@ -4,8 +4,14 @@ | ||
4 | <div class="center-square"> | 4 | <div class="center-square"> |
5 | <div class="title">{{title}}</div> | 5 | <div class="title">{{title}}</div> |
6 | <div class="num"><span class="discount-num">{{discountNum}}</span> {{discountText}}</div> | 6 | <div class="num"><span class="discount-num">{{discountNum}}</span> {{discountText}}</div> |
7 | - {{>product/outlet/countdown}} | 7 | + <div id="demo1"> |
8 | + <!--默认,服务端输出leftTime,把客户端时间干扰降到最低。单位秒--> | ||
9 | + <div class="cd cd-lite time hide" data-config="{'leftTime': {{leftTime}} }">— 仅剩<span class="left-day">${d}天</span>${h}时${m}分${s}秒 —</div> | ||
10 | + <div class="cd cd-medium time hide">{{leftTime}}</div> | ||
11 | + </div> | ||
8 | </div> | 12 | </div> |
9 | </a> | 13 | </a> |
10 | </div> | 14 | </div> |
15 | +{{#if @last}} | ||
11 | <div class="more-activity hide"><p>更多精彩活动</p><span class="iconfont count-down-icon"></span></div> | 16 | <div class="more-activity hide"><p>更多精彩活动</p><span class="iconfont count-down-icon"></span></div> |
17 | +{{/if}} |
-
Please register or login to post a comment