order1.jsp 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <%--
  2. Created by IntelliJ IDEA.
  3. User: x'b'w
  4. Date: 2021/12/8
  5. Time: 9:54
  6. To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  9. <html>
  10. <head>
  11. <title>Title</title>
  12. <%@ include file="/pages/common/head.jsp"%>
  13. <style type="text/css">
  14. h1 {
  15. text-align: center;
  16. margin-top: 200px;
  17. }
  18. #main table tr td a{
  19. text-decoration: none;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <div id="header">
  25. <img class="logo_img" alt="" src="" >
  26. <span class="wel_word">我的订单</span>
  27. <%--静态包含,登录成功后的菜单--%>
  28. <%@ include file="/pages/common/login_success_menu.jsp"%>
  29. </div>
  30. <div id="main">
  31. <table>
  32. <tr>
  33. <td>日期</td>
  34. <td>金额</td>
  35. <td>状态</td>
  36. <%-- <td>详情</td>--%>
  37. <td>订单号</td>
  38. </tr>
  39. <tr>
  40. <%-- <td>2021.04.23</td>--%>
  41. <td>
  42. <%-- <c:if test="${not empty sessionScope.orderId}">--%>
  43. <%-- ${sessionScope.year}.${sessionScope.month}.${sessionScope.day}--%>
  44. <%-- </c:if>--%>
  45. </td>
  46. <%-- <td>90.00</td>--%>
  47. <td>
  48. <%-- <c:choose>--%>
  49. <%-- <c:when test="${empty sessionScope.orderId}">--%>
  50. <%-- 0.00--%>
  51. <%-- </c:when>--%>
  52. <%-- <c:when test="${not empty sessionScope.cart.totalPrice}">--%>
  53. <%-- ${sessionScope.cart.totalPrice}--%>
  54. <%-- </c:when>--%>
  55. <%--&lt;%&ndash; <c:when test="${not empty sessionScope.orderId}">&ndash;%&gt;--%>
  56. <%--&lt;%&ndash; ${sessionScope.cart.totalPrice}&ndash;%&gt;--%>
  57. <%--&lt;%&ndash; </c:when>&ndash;%&gt;--%>
  58. <%-- </c:choose>--%>
  59. <%-- <c:if test="${empty sessionScope.orderId}">--%>
  60. <%-- </c:if>--%>
  61. <%-- <c:if test="${not empty sessionScope.cart.totalPrice}">--%>
  62. <%-- ${sessionScope.cart.totalPrice}--%>
  63. <%-- </c:if>--%>
  64. </td>
  65. <td>
  66. </td>
  67. <td>
  68. <%-- <c:if test="${not empty sessionScope.orderId}">--%>
  69. <%-- ${sessionScope.orderId}--%>
  70. <%-- </c:if>--%>
  71. </td>
  72. </tr>
  73. </table>
  74. </div>
  75. <%@include file="/pages/common/footer.jsp"%>
  76. </body>
  77. </html>