repayment-list.hbs 1.73 KB
<div class="repayment-list-page yoho-page" data-pos-id="{{posId}}">
    {{#data}}
        {{#if isNoResult}}
            <div class="no-result">
                <i class="result-icon"></i>
                <p class="txt">暂无待还款订单</p>
                <a href='/product/new?openby:yohobuy={"action":"go.new"}' class="guang-btn">去逛逛</a>
            </div>
        {{else}}
            <ul class="repay-list">
                {{#each repaymentList}}
                    <li data-currfee="{{currFee}}" data-currnofeeamt="{{currNoFeeAmt}}" data-curramt="{{currAmt}}" data-bill-no="{{billNo}}" data-currterm={{currTerm}} data-terms={{terms}}>
                        <input id="list-{{key}}" type="checkbox" class="installment-check-btn" {{#if isChecked}}checked{{/if}}/>
                        <label for="list-{{key}}">
                            <div class="cont">
                                <p>¥{{currAmt}}</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}}
        {{/if}}
    {{/data}}
</div>