select-giftcard.hbs
1.62 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
<div class="yoho-page select-giftcard-page">
{{# usable_giftCards}}
<div class="giftcard{{#if checked}} checked{{/if}}" data-code={{cardCode}}>
<div class="card-title clearfix">
<div class="balance pull-left">
<label>余额</label>
<i> ¥</i><span>{{remainAmount}}</span>
</div>
<div class="logo pull-right">
<i class="iconfont"></i>
<i class="iconfont"></i>
</div>
</div>
<div class="card-body clearfix">
<div class="content pull-left">
<div class="content-li clearfix">
<div class="left-label pull-left">面值</div>
<div class="pull-left">¥{{amount}}</div>
</div>
<div class="content-li clearfix">
<div class="left-label pull-left">卡号</div>
<div class="pull-left">{{cardCode}}</div>
</div>
<div class="content-li clearfix">
<div class="left-label pull-left">有效期</div>
<div class="pull-left">{{dateStr}}{{#if willExpire}} <span class="tip">(即将过期)</span>{{/if}}</div>
</div>
</div>
<div class="checkbox pull-right">
<i class="iconfont no-checked-icon"></i>
<i class="iconfont checked-icon"></i>
</div>
</div>
</div>
{{/usable_giftCards}}
<button id="useGiftCardBtn" class="use-giftcard-btn{{#if sureActice}} active{{/if}}">使用</button>
</div>