<table> <tr> <td>代码</td> <td>姓名</td> <td>移动电话</td> <td>专业</td> <td>操作</td> </tr> <tr th:each="u, State: ${user_list}"> <td th:text="${u.user_code}"></td> <td th:text="${u.user_name}"></td> <td th:text="${u.telephone}"></td> <td th:text="${u.pro_name}"></td> <td><a th:href="@{show_edit_user(user_code=${u.user_code})}">修改</a> <a th:href="@{delete_user(user_code=${u.user_code})}">删除</a> </td> </tr> </table> <div> <a th:href="@{add_user}">添加用户</a> </div> <div> <a th:href="@{qry_user_page_list(field_name=${field_name}, qry_content=${qry_content}, start_page=${start_page-1}, page_size=${page_size})}">上一页</a> </div> <div> <a th:href="@{qry_user_page_list(field_name=${field_name}, qry_content=${qry_content}, start_page=${start_page+1}, page_size=${page_size})}">下一页</a>美化代码
时间: 2023-06-18 21:04:42 浏览: 94
<table>
<tr>
<td>代码</td>
<td>姓名</td>
<td>移动电话</td>
<td>专业</td>
<td>操作</td>
</tr>
<tr th:each="u, State: ${user_list}">
<td th:text="${u.user_code}"></td>
<td th:text="${u.user_name}"></td>
<td th:text="${u.telephone}"></td>
<td th:text="${u.pro_name}"></td>
<td>
<a th:href="@{show_edit_user(user_code=${u.user_code})}">修改</a>
<a th:href="@{delete_user(user_code=${u.user_code})}">删除</a>
</td>
</tr>
</table>
<div>
<a th:href="@{add_user}">添加用户</a>
</div>
<div>
<a th:href="@{qry_user_page_list(field_name=${field_name},
qry_content=${qry_content}, start_page=${start_page-1},
page_size=${page_size})}">上一页</a>
</div>
<div>
<a th:href="@{qry_user_page_list(field_name=${field_name},
qry_content=${qry_content}, start_page=${start_page+1},
page_size=${page_size})}">下一页</a>
</div>
阅读全文