📄 orderforminformationbrow.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<style>
<!--
.wr{font-size: 12pt; line-height: 22px}
.wr1 { FONT-SIZE: 12px; LINE-HEIGHT: 200%}
.wr2 { FONT-SIZE: 14px; LINE-HEIGHT: 200%}
.wr3 { FONT-SIZE: 12px}
.wr4 { FONT-SIZE: 12px; LINE-HEIGHT: 150%}
.button
{
border-style: none;
background-image: url('${pageContext.request.contextPath}/background/images/h08.gif');
cursor:pointer;
width: 74px;
height: 22px;
}
// -->
</style>
<title>清韵网上书店后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFDB" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p> </p>
<p align="center"><b class="wr4">订单详细信息</b> </p>
<table width="600" border="0" cellspacing="1" cellpadding="5" align="center" dwcopytype="CopyTableRow" bgcolor="#000000">
<tr align="center" bgcolor="#FFFFDB">
<td class="wr4" width="30">序号</td>
<td class="wr4" width="145">书名</td>
<td class="wr4" width="70">数量</td>
<td class="wr4" width="80">原价</td>
<td class="wr4" width="80">折扣</td>
<td class="wr4" width="80">小计</td>
<td class="wr4" width="80">节省</td>
</tr>
<c:set var="total" value="0" scope="page"></c:set>
<c:forEach items="${requestScope.order_da}" var="da">
<tr bgcolor="#FFFFDB" align="center">
<c:set var="total" value="${total+da.bookPrice*da.bookDiscount*da.bookCount}" scope="page"></c:set>
<td class="wr4" width="30">${da.orderId }</td>
<td class="wr4" width="145">${da.bookName }</td>
<td class="wr4" width="70">${da.bookCount }</td>
<td class="wr4" width="80"><fmt:formatNumber maxFractionDigits="2" value="${da.bookPrice }"></fmt:formatNumber> ¥</td>
<td class="wr4" width="80">${da.bookDiscount }折扣</td>
<td class="wr4" width="80">
<fmt:formatNumber maxFractionDigits="2" value="${da.bookPrice*da.bookDiscount*da.bookCount }"></fmt:formatNumber>
¥</td>
<td class="wr4" width="80">
<fmt:formatNumber maxFractionDigits="2" value="${da.bookPrice*da.bookCount-(da.bookPrice*da.bookDiscount*da.bookCount) }"></fmt:formatNumber>
¥</td>
</tr>
</c:forEach>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td class="wr4">
<p>清韵价总计:<font color="#FF0000">
<fmt:formatNumber maxFractionDigits="2" value="${pageScope.total }"></fmt:formatNumber></font> 元
</td>
<td class="wr4"> </td>
</tr>
<tr>
<td class="wr4" colspan="2">
<hr width="100%" size="1" noshade>
</td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="wr1" colspan="2"> 收货人姓名:<i><font color="#0000FF">${requestScope.order_user.custmorName } </font></i>下单人:<font color="#0000FF"><i>${requestScope.order_user.userName }</i></font></td>
</tr>
<tr>
<td colspan="2">
<hr width="100%" size="1" noshade>
</td>
</tr>
<tr>
<td width="50%" class="wr1"> 邮政编码:${requestScope.order_user.custmorPostman }</td>
<td width="50%" class="wr1"> E-mail:${requestScope.order_user.custmorEmail } </td>
</tr>
<tr>
<td width="50%" class="wr1"> 联系电话:${requestScope.order_user.custmorTel }</td>
<td width="50%" class="wr1"> </td>
</tr>
<tr>
<td colspan="2" class="wr1">收货人详细通讯地址:${requestScope.order_user.custmorAddress }</td>
</tr>
<tr>
<td colspan="2">
<hr width="100%" size="1" noshade>
</td>
</tr>
<tr>
<td colspan="2" class="wr1">
<p>送货方式:</p>${requestScope.order_user.sendStyle }
<p> </p>
</td>
</tr>
<tr>
<td colspan="2">
<hr width="100%" size="1" noshade>
</td>
</tr>
<tr>
<td colspan="2" class="wr1">
<p>付款方式:</p>${requestScope.order_user.payStyle }
<p> </p>
</td>
</tr>
<tr>
<td colspan="2">
<hr width="100%" size="1" noshade>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="1" align="center" height="21" width="74">
<tr>
<td background="images/h08.gif" class="wr4" width="74">
<div align="center" class="button" onclick="javaScript:history.go(-1)">上一步</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -