1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
- <html>
- <head>
- <title>呵呵用户管理</title>
- <meta name="decorator" content="default"/>
- <style type="text/css">
- .table th{text-align: center;}
- .table td{text-align: center;}
- </style>
- <script type="text/javascript">
- $(document).ready(function() {
- });
- function page(n,s){
- $("#pageNo").val(n);
- $("#pageSize").val(s);
- $("#searchForm").submit();
- return false;
- }
- </script>
- </head>
- <body>
- <ul class="nav nav-tabs">
- <li class="active"><a href="${ctx}/hehe/cmHeheUser/userList">用户列表</a></li>
- </ul>
- <form:form id="searchForm" modelAttribute="cmHeheUser" action="${ctx}/hehe/cmHeheUser/userList" method="post" class="breadcrumb form-search">
- <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
- <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
- <div class="ul-form">
- <label>微信昵称:</label>
- <form:input path="nickName" htmlEscape="false" maxlength="32" class="input-medium"/>
- <label>手机号:</label>
- <form:input path="mobile" htmlEscape="false" maxlength="20" class="input-medium"/>
- <label>身份:</label>
- <form:select path="userIdentity" class="input-small">
- <form:option value="" label="请选择"/>
- <form:option value="1" label="普通用户"/>
- <form:option value="2" label="分销者"/>
- </form:select>
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
- <div class="clearfix"></div>
- </div>
- </form:form>
- <sys:message content="${message}"/>
- <table id="contentTable" class="table table-striped table-bordered table-condensed">
- <thead>
- <tr>
- <th>微信昵称</th>
- <th>手机号</th>
- <th>身份</th>
- <th>openID</th>
- <th>注册时间</th>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${page.list}" var="cmHeheUser">
- <tr>
- <td>
- ${cmHeheUser.nickName}
- </td>
- <td>
- ${cmHeheUser.mobile}
- </td>
- <td>
- ${cmHeheUser.userIdentity eq 1 ? "普通用户" : "分销者"}
- </td>
- <td>
- ${cmHeheUser.openId}
- </td>
- <td>
- <fmt:formatDate value="${cmHeheUser.addTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <div class="pagination">${page}</div>
- </body>
- </html>
|