<div class=\"ibox-content\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<th class=\"col-sm-2\">No.</th>
<th class=\"col-sm-2\">租赁金额</th>
<th class=\"col-sm-2\">本次租赁的时长</th>
<th class=\"col-sm-2\">本次租赁结束时间</th>
<th class=\"col-sm-2\">剩余时间</th>
<th class=\"col-sm-2\">充值区分</th>
</tr>
</thead>
<tbody id=\"myData\">
<c:forEach items=\"${b008003Bean.listBean}\" varStatus=\"i\" var=\"item\">
<tr>
<td>${i.index+1}</td>
<td>${item.now_price}</td>
<td>${item.now_time}</td>
<td>${item.now_end_time}</td>
<td>${item.time}</td>
<td>${item.more}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class=\"dataTables_paginate paging_simple_numbers\"></div>
</div>
</div>
< type=\"text/ \">
$().ready(function () {
$(\'div.dataTables_paginate\').pageList({
prevText: \'前一页\',
nextText: \'下一页\',
recordText: \'{0}页,{1}条记录\',
totalCount: \'${b008003Bean.allRowNum}\',
goInputType: \'text\',
showGo : false,
showPageRange: 5,
pageSize:10,
currentPage:\'${b008003Bean.currentPage}\',
renderPerCall: true,
clickCallback: function (currentPage) {
$.ajax({
type : \'post\',
url : \'<%=nextAction%>\',
cache: false,
data: {currentPage:currentPage},
success : function(data) {
$(\"#myData tr\").remove();
$(data).each(function(i){
$(\"#myData\").append(
\"<tr>\"
+\"<td>\"+(i + 1 + (currentPage - 1) * 10)+\"</td>\"
+\"<td>\"+ this.now_price +\"</td>\"
+\"<td>\"+ this.now_time +\"</td>\"
+\"<td>\"+ this.now_end_time +\"</td>\"
+\"<td>\"+ this.time +\"</td>\"
+\"<td>\"+ this.more +\"</td>
+\"</tr>\"
);
});
},
error: function(e) {
}
});
}
});
});
</ >