coupon.hbs
894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="coupon">
<a {{#if true}}
class="enable"
{{/if}}
href="{{url}}"
target="_blank"
href="javascript:void(0);"
data-id="{{id}}"
>
<img src="{{imgUrl}}">
{{#if empty}}
<div class="coupon-mask"></div>
{{/if}}
<div class="info">
{{#if true}}
<div class="normal">
<p>点击</p>
<p>领取</p>
</div>
{{/if}}
{{#if got}}
<div class="got">
<p>已领取</p>
<p class="guang">去使用</p>
</div>
{{/if}}
{{#if empty}}
<div class="empty">
<p>已抢光</p>
<p class="guang">去逛逛</p>
</div>
{{/if}}
</div>
</a>
</div>