WebRoot/admin/order/viewOrder.jsp

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="../inc/pageHead.jsp" />
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center">
		<table width="778" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td>
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td valign="top">
						<div id="order">
						<table width="100%"  border="0" cellpadding="0" cellspacing="0">
							  <tr>
								<td>
								<table width="100%"  border="0" cellpadding="0" cellspacing="1">
								  <tr>
									<td height="25"><b>订单时间:</b>${order.orderDate}&nbsp;&nbsp;&nbsp;&nbsp;<b>订单号:</b>128kc-${order.id}</td>
								  </tr>
								</table>
								</td>
							  </tr>
						  </table>
							<table width="100%"  border="0" cellpadding="0" cellspacing="0">
							  <tr>
								<td bgcolor="#12740A">
								<table width="100%"  border="0" cellpadding="0" cellspacing="1">
								  <tr bgcolor="#FFFFFF" align="center">
									<th height="25" style="color:#477904">菜 名</th>
									<th  style="color:#477904">价 格</th>
									<th  style="color:#477904">份 数</th>
									<th  style="color:#477904">小 计</th>
								  </tr>
								  <c:forEach var="lineItem" items="${order.lineItems}">
								  <tr bgcolor="#FFFFFF">
									<td height="30">&nbsp;<img src="<c:url value="/images/icon_arrow_r.gif"/>" border="0"><a href="<c:url value="/viewDish.jspx"/>?dishId=${lineItem.dish.id}" target="_blank">${lineItem.dish.name}</a></td>
									<td width="15%" class="price_normal" align="right"><fmt:formatNumber value="${lineItem.unitprice}" pattern="¥#,##0.00" />&nbsp;</td>
									<td align="center" width="15%">${lineItem.quantity}</td>
									<td width="20%" class="price_normal" align="right"><fmt:formatNumber value="${lineItem.totalPrice}" pattern="¥#,##0.00" />&nbsp;</td>
								  </tr>
								  <c:set var="totalPrice" value="${lineItem.totalPrice+totalPrice}" scope="page"/>
								  </c:forEach>
								  <tr bgcolor="#FFFFFF">
									<td height="30" colspan="4" class="price_normal" align="right">总消费:<fmt:formatNumber value="${totalPrice}" pattern="¥#,##0.00" />&nbsp;</td>
								  </tr>
								</table></td>
							  </tr>
						  </table>
						<table width="100%"><tr><td height="10"></td></table>
						<table width="100%"  border="0" cellpadding="0" cellspacing="0">
							  <tr>
								<td>
								<table width="100%"  border="0" cellpadding="0" cellspacing="1">
								  <tr>
									<td height="25"><b>送餐地址信息:</b></td>
								  </tr>
后面还有 95 行代码,购买后查看完整代码

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

AI 解读 AI

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

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