cmHeheUserAllList.jsp 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>呵呵用户管理</title>
  6. <meta name="decorator" content="default"/>
  7. <style type="text/css">
  8. .table th{text-align: center;}
  9. .table td{text-align: center;}
  10. </style>
  11. <script type="text/javascript">
  12. $(document).ready(function() {
  13. });
  14. function page(n,s){
  15. $("#pageNo").val(n);
  16. $("#pageSize").val(s);
  17. $("#searchForm").submit();
  18. return false;
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. <ul class="nav nav-tabs">
  24. <li class="active"><a href="${ctx}/hehe/cmHeheUser/userList">用户列表</a></li>
  25. </ul>
  26. <form:form id="searchForm" modelAttribute="cmHeheUser" action="${ctx}/hehe/cmHeheUser/userList" method="post" class="breadcrumb form-search">
  27. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  28. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  29. <div class="ul-form">
  30. <label>微信昵称:</label>
  31. <form:input path="nickName" htmlEscape="false" maxlength="32" class="input-medium"/>
  32. <label>手机号:</label>
  33. <form:input path="mobile" htmlEscape="false" maxlength="20" class="input-medium"/>
  34. <label>身份:</label>
  35. <form:select path="userIdentity" class="input-small">
  36. <form:option value="" label="请选择"/>
  37. <form:option value="1" label="普通用户"/>
  38. <form:option value="2" label="分销者"/>
  39. </form:select>
  40. &nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
  41. <div class="clearfix"></div>
  42. </div>
  43. </form:form>
  44. <sys:message content="${message}"/>
  45. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  46. <thead>
  47. <tr>
  48. <th>微信昵称</th>
  49. <th>手机号</th>
  50. <th>身份</th>
  51. <th>openID</th>
  52. <th>注册时间</th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. <c:forEach items="${page.list}" var="cmHeheUser">
  57. <tr>
  58. <td>
  59. ${cmHeheUser.nickName}
  60. </td>
  61. <td>
  62. ${cmHeheUser.mobile}
  63. </td>
  64. <td>
  65. ${cmHeheUser.userIdentity eq 1 ? "普通用户" : "分销者"}
  66. </td>
  67. <td>
  68. ${cmHeheUser.openId}
  69. </td>
  70. <td>
  71. <fmt:formatDate value="${cmHeheUser.addTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
  72. </td>
  73. </tr>
  74. </c:forEach>
  75. </tbody>
  76. </table>
  77. <div class="pagination">${page}</div>
  78. </body>
  79. </html>