page.hbs
1.72 KB
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
39
40
41
42
43
<div class="coupon-new-page cpage-padding284">
{{#couponNumStr}}
<div class="filter-box">
<span class="filter-btn-box">
<span class="filter-btn no-used active" data-num="{{notuse}}">未使用{{#notEqualEither notuse '0'}}({{notuse}}){{/notEqualEither}}</span>
<span class="iconfont icon-down show-filter-btn active"></span>
</span>
<span class="filter-btn-box">
<span class="filter-btn used" data-num="{{use}}">已使用{{#notEqualEither use '0'}}({{use}}){{/notEqualEither}}</span>
</span>
<span class="filter-btn-box">
<span class="filter-btn invalid" data-num="{{overtime}}">已失效{{#notEqualEither overtime '0'}}({{overtime}}){{/notEqualEither}}</span>
</span>
</div>
{{/ couponNumStr}}
{{#pageData}}
<div class="filter-item hide">
{{#filters}}
<button data-id="{{filter_id}}">{{filter_name}}</button>
{{/ filters}}
</div>
<div class="exchange-box">
<input type="text" name="couponCodeInput" placeholder="请输入优惠券码">
<button id="exchangeCouponBtn" class="exchange-coupon-btn">兑换</button>
</div>
<div class="coupon-list" id="couponList">
{{#couponList}}
{{> coupons/coupon}}
{{/ couponList}}
</div>
<div class="used-tip hide">
<hr>
<span class="used">以上是近期已使用的优惠券</span>
<span class="invalid">以上是近期已失效的优惠券</span>
<hr>
</div>
<div class="no-conpon-now{{#if couponList}} hide{{/if}}">
<div class="icon-not"></div>
<p>暂无优惠券</p>
</div>
{{/ pageData}}
</div>
<input type="hidden" id="no-download">