123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <%@ page contentType="text/html;charset=UTF-8" language="java" %>
- <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>我的订单</title>
- <%--静态包含:base标签,css样式,js脚本--%>
- <%@ include file="/pages/common/head.jsp"%>
- <style type="text/css">
- h1 {
- text-align: center;
- margin-top: 200px;
- }
- #main table tr td a{
- text-decoration: none;
- }
- </style>
- </head>
- <body>
-
- <div id="header">
- <img class="logo_img" alt="" src="" >
- <span class="wel_word">我的订单</span>
- <%--静态包含,登录成功后的菜单--%>
- <%@ include file="/pages/common/login_success_menu.jsp"%>
- </div>
-
- <div id="main">
- <table>
- <tr>
- <td>日期</td><!--t_order:create_time-->
- <%-- <td>商品名</td><!--t_order_item:name-->--%>
- <td>金额</td><!--t_order:price-->
- <td>状态</td><!--t_order:satus-->
- <%-- <td>详情</td>--%>
- <td>订单号</td><!--t_order:order_id-->
- </tr>
- <%-- <tr>--%>
- <c:forEach items="${sessionScope.orderList}" var="orderList">
- <tr>
- <td>${orderList.create_time}</td>
- <td>${orderList.price}</td>
- <td>
- ${orderList.status}
- </td>
- <td>${orderList.order_id}</td>
- </tr>
- <%--<tr>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>--%>
- </c:forEach>
- <%-- 原始的订单显示页面--%>
- <%--<td>
- <c:if test="${not empty sessionScope.cartItem}">
- ${sessionScope.year}.${sessionScope.month}.${sessionScope.day}
- </c:if>
- </td>
- <td>
- <c:if test="${empty sessionScope.orderId}">
- </c:if>
- <c:if test="${not empty sessionScope.orderId}">
- ${sessionScope.cartItem.name}
- </c:if>
- </td>
- <td>
- <c:if test="${empty sessionScope.orderId}">
- 0.00
- </c:if>
- <c:if test="${not empty sessionScope.orderId}">
- ${sessionScope.cartItem.totalPrice}
- </c:if>
- </td>
- <td>
- <%–<%– 未发货–%>–%>
- <%– <c:if test="${empty sessionScope.orderId}">–%>
- <%– 未下单–%>
- <%– </c:if>–%>
- <%– <c:if test="${not empty sessionScope.orderId}">–%>
- <%– 已下单–%>
- <%– </c:if>–%>
- <c:if test="${sessionScope.order_status.status}==0">
- 未发货
- </c:if>
- </td>
- <td>
- <c:if test="${not empty sessionScope.orderId}">
- ${sessionScope.orderId}
- </c:if>
- </td>
- <%– <c:forEach items="${sessionScope.cartItem}" var="cartItem">–%>
- <%– –%>
- <%– </c:forEach>–%>
- --%>
- <%-- </tr>--%>
- </table>
-
-
- </div>
- <%--静态包含:页脚--%>
- <%@include file="/pages/common/footer.jsp"%>
- </body>
- </html>
|