thymeleaf 渲染 table表格

							<div class="layui-form">
								<table class="layui-table">
									<colgroup>
										<col width="200">
										<col width="600">
										<col width="600">
										<col>
									</colgroup>
									<thead>
										<tr>
											<th>序号</th>
											<th>姓名</th>
											<th>手机号</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
										<tr th:each="user:${pageInfo.list}">
											<td th:text="${userStat.index+1}"></td>
											<td th:text="${user.realname}"></td>
											<td th:text="${user.mobile}"></td>
											<td style="text-align:center">
												<a class="operationOne"
													th:onclick="'javascript:userModify(\''+${user.id}+'\');'">
													修改
												</a>
												</a> <a class="operationTwo"
													th:onclick="'javascript:userRoleAllot(\''+${user.id}+'\');'"> 授权
												</a>
											</td>
										</tr>
									</tbody>
								</table>
								<div th:replace="page :: pager"></div>
							</div>

你可能感兴趣的:(javascript,jquery)