翻页的总页数,只展示,不可输入

This commit is contained in:
DuanDongmei
2018-12-07 18:28:48 +08:00
parent 6fe2167f58
commit 47187a4974
3 changed files with 14 additions and 8 deletions

View File

@@ -136,11 +136,13 @@ function getFootHtml(pageNo) {
}
htm += "<li class=\"disabled controls\"><a href=\"javascript:\">" + "<spring:message code="current"/>" + " ";
htm += "<input type=\"text\" value=\"" + pageNo + "\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)";
htm += "<input type=\"text\" value=\"" + pageNo + "\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)";
htm += "toPage(this.value," + pageSize + ",'" + funcParam + "');\" onclick=\"this.select();\"/> / ";
htm += "<input type=\"text\" value=\"" + last + "\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)";
htm += "(toPage" + pageNo + ",this.value,'" + funcParam + "');\" onclick=\"this.select();\"/> " + "<spring:message code="page"/>" + "";
htm += "" + "<spring:message code="total"/>" + " <span id='showTotalCount'>" + count + "</span> " + "<spring:message code="count"/>" + "</a></li>";
/*htm += pageNo+" / ";*/
htm += last+ " <spring:message code="page"/>" + "";
/* htm += "<input type=\"text\" value=\"" + last + "\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)";
htm += "(toPage" + pageNo + ",this.value,'" + funcParam + "');\" onclick=\"this.select();\"/> " + "<spring:message code="page"/>" + ""; */
htm += "" + "<spring:message code="total"/>" + " <span id='showTotalCount'>" + count + " </span> " + "<spring:message code="count"/> " + "</a></li>";
htm += "</ul>";
return htm;
}