repayment-list.hbs 1.64 KB
<div class="repayment-list-page yoho-page">
    {{#if isNoResult}}
        <div class="no-result">
            <i class="result-icon"></i>
            <p class="txt">暂无待还款订单</p>
            <a href="/product/new" class="guang-btn">去逛逛</a>
        </div>
    {{else}}
        {{#data}}
            <ul class="repay-list">
                {{#each repaymentList}}
                    <li data-currfee="{{currFee}}" data-currNoFeeAmt="{{currNoFeeAmt}}" data-curramt="{{currAmt}}" data-billno="{{billNo}}" data-termNo={{currTerm}}>
                        <input id="list-{{billNo}}" type="checkbox" class="installment-check-btn" {{#if isChecked}}checked{{/if}}/>
                        <label for="list-{{billNo}}">
                            <div class="cont">
                                <p>¥{{round currNoFeeAmt}}</p>
                                <p>【全{{stage}}期】{{billInfo}}</p>
                            </div>
                        </label>
                        <div class="list-right">
                            <a href="{{url}}">
                                {{#if isOverdue}}
                                    <div class="color-r">逾期{{day}}<span class="iconfont notice">&#xe639;</span></div>
                                {{else}}
                                    剩余{{day}}
                                {{/if}}
                                <span class="iconfont">&#xe604;</span>
                            </a>
                        </div>
                    </li>
                {{/each}}
            </ul>
            {{> installment/repayment-bottom}}
        {{/data}}
    {{/if}}
</div>