<form id="pagerForm" method="post" action="demo_page1.html"> <input type="hidden" name="status" value="${param.status}"> <input type="hidden" name="keywords" value="${param.keywords}" /> <input type="hidden" name="pageNum" value="1" /> <input type="hidden" name="numPerPage" value="${model.numPerPage}" /> <input type="hidden" name="orderField" value="${param.orderField}" /> </form> <div class="pageHeader"> <form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post"> <div class="searchBar"> <table class="searchContent"> <tr> <td> 我的客户:<input type="text" name="keyword" /> </td> <td> <select class="combox" name="province"> <option value="">所有省市</option> </select> </td> <td> 建档日期:<input type="text" class="date" readonly="true" /> </td> </tr> </table> <div class="subBar"> <ul> <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li> </ul> </div> </div> </form> </div> <div class="pageContent"> <div class="panelBar"> <ul class="toolBar"> <li><a class="add" href="demo_page4.html" target="navTab"><span>添加</span></a></li> </ul> </div> <table class="table" width="100%" layoutH="138"> <thead> <tr> <th width="120">客户名称</th> </tr> </thead> <tbody> <tr target="sid_user" rel="1"> <td>天津农信社</td> </tr> </tbody> </table> <div class="panelBar"> <div class="pages"> <span>显示</span> <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})"> <option value="20">20</option> </select> <span>条,共${totalCount}条</span> </div> <div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div> </div> </div>
try{ initUI(); }catch(e){ console.warn(e); }
function initUI(_box){ var $p = $(_box || document); try { $("div.panel", $p).jPanel(); }catch(e){ console.warn(e); } }
电子商务系统的设计与实现(十):DWZ框架与第三方分页组件整合
原文地址:http://blog.csdn.net/fansunion/article/details/42325429