WebRoot/client/clientListOrder.jsp

(完整代码) 1KB

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>   
    <title>客户端显示订单</title>
    <link href="../css/table.css" rel="stylesheet" type="text/css"/>
  </head>
  
  <body style="text-align:center;">
  <c:if test="${user == null }">
  		对不起,请先登录
  	</c:if>
  	<c:if test="${user != null }">
    <h2>订单列表</h2>
    <table width="60%" border="1" align="center" style="text-align: center;">
    	<tr>
    		<th>订单号</th>
    		<th>订单人</th>
    		<th>订单时间</th>
    		<th>订单总价</th>
    		<th>订单状态</th>
    		<th>操作</th>
    	</tr>
    	<c:forEach var="order" items="${orders }">
    		<tr>
    			<td>${order.id }</td>
	    		<td>${order.user.username }</td>
	    		<td>${order.orderTime }</td>
	    		<td>${order.price }</td>
	    		<td>${order.state==true?'已发货':'未发货' }</td>
	    		<td>
	    			<a href="${pageContext.request.contextPath }/client/ClientOrderDetailServlet?orderId=${order.id}">查看明细</a>
	    		</td>
    		</tr>
    	</c:forEach>  	
	</table>
	</c:if>
  </body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。