order-detail.hbs 2.05 KB
<div class="installment-order-page">
    {{#order}}

        <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>

        <ul class="installment-list">
            {{#each packageList}}
                <li>
                    <span class="detail-index">{{sortId}}.</span>
                    <div class="detail-box">
                        <span class="amount">{{currAmt}}</span>
                        <div class="fee">
                            {{currDate}}
                            本金:{{currPrincipalAmt}}

                            {{#if currFeeAmt}}
                                服务费:{{currFeeAmt}}
                            {{/if}}

                            {{#if currDealyFeeAmt}}
                                逾期服务费:{{currDealyFeeAmt}}
                            {{/if}}
                        </div>
                    </div>
                    <div class="status">
                        {{desc}}
                        <span class="iconfont notice">&#xe639;</span>
                    </div>
                    <div class="clearfix"></div>
                </li>
            {{/each}}
        </ul>
    {{/order}}
</div>