order-detail.hbs
3.15 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<div class="installment-order-page yoho-page">
{{#order}}
<div class="order-info">
<div class="order-detail">
{{#orderGoods}}
<div class="image-box">
<img src="{{image goodsImage 90 120}}" alt="{{productName}}">
</div>
<div class="info-box">
<h3>{{productName}}</h3>
<h4>订单编号: {{../orderCode}}</h4>
<div class="date-box">{{../createTime}}</div>
</div>
{{/orderGoods}}
</div>
<div class="installment-summary">
<div class="installment-box">
<div>分期应还</div>
<div>¥{{avgPrincipalAmt}}</div>
</div>
<div class="installment-box">
<div>分期服务费</div>
<div>¥{{avgFeeAmt}}</div>
</div>
<div class="installment-box">
<div>总计应还</div>
<div>¥{{amount}}</div>
</div>
</div>
</div>
<div class="detail-list-container">
<ul class="installment-list repay-list">
{{#each packageList}}
<li>
{{#isPaymentIncomplete status}}
<input id="sort-{{@index}}" type="checkbox"
class="installment-check-btn installment-term"
data-order-code="{{../orderCode}}"
data-sort-id="{{sortId}}"
data-fee="{{currFeeAmt}}"
data-delay-fee="{{currDealyFeeAmt}}"
data-amount="{{currPrincipalAmt}}"/>
{{/isPaymentIncomplete}}
<label for="sort-{{@index}}">
{{#isPaymentComplete status}}
<span class="detail-index">{{sortId}}.</span>
{{/isPaymentComplete}}
<span class="amount">¥{{currAmt}}</span>
<div class="fee">
{{currDate}}
本金:¥{{currPrincipalAmt}}
{{#if currFeeAmt}}
服务费:¥{{currFeeAmt}}
{{/if}}
{{#if currDealyFeeAmt}}
逾期服务费:¥{{currDealyFeeAmt}}
{{/if}}
</div>
<div class="status">
{{desc}}
<span class="iconfont notice"></span>
</div>
<div class="clearfix"></div>
</label>
</li>
{{/each}}
</ul>
</div>
{{/order}}
{{> installment/repayment-bottom}}
</div>