xhy_branch
parent
280d7a6f2e
commit
4c0e1948d2
@ -0,0 +1,180 @@
|
||||
<%@ 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"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<title>My JSP 'orderDetail.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<style type="text/css">
|
||||
a:link { color: #000000; text-decoration: none } //链接平常的状态,超链接无下划线
|
||||
a:visited { color: #000000; text-decoration: none } //链接被访问之后,超链接无下划线
|
||||
a:active { color: #000000; text-decoration: none } //鼠标放到连接上的时候,超链接无下划线
|
||||
a:hover { color: #ff0000; text-decoration: none; position: relative; right: 0px; top: 1px } //连接被按下的时候,超链接无下划线,相对定位(随窗口大小变化而变化)
|
||||
|
||||
.C_Font{ font-weight:bold;}
|
||||
.Red{ color:#FF0000; font-weight:bold;}
|
||||
.Sell_Title{ text-align:center;background:url(<%=path %>/images/icon_sell.gif) top no-repeat left;
|
||||
font-weight:bold; font-size:14px; color:#FFFFFF; height:30px;}
|
||||
.UserName{ padding:4px 0;}
|
||||
.UserName input{ width:100px; border:1px solid #666;}
|
||||
.UserRegster{ padding:5px 8px 5px 0;}
|
||||
.UserRegster a,.UserRegster a:link,.UserRegster a:visited{ color:#f50;}
|
||||
.UserRegster input{ background:url(<%=path %>/images/button.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand;}
|
||||
.LoginTitle{text-align:center;background:url(<%=path %>/images/icon_login.gif) top no-repeat left;font-weight:bold; font-size:14px; color:#FFFFFF; height:30px;}
|
||||
.Logo{ text-align:center; vertical-align:top; margin:8px 0;}
|
||||
.Item01Menu{ text-align:right; vertical-align:top;}
|
||||
.Item01Menu a{ padding:2px 10px; background:url(<%=path %>/images/dot_main01.gif) no-repeat left;}
|
||||
.C_Item_Title{ background:url(<%=path %>/images/icon05.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px;}
|
||||
.C_Item_Title a,.C_Item_Title a:link,.C_Item_Title a:visited{font-weight:bold; text-align:center; color:#fff;}
|
||||
|
||||
.C_login_Title{ background:url(<%=path %>/images/heng.gif) no-repeat center;font-weight:bold;font-size:12px; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||
.C_Sell_Title{ background:url(<%=path %>/images/icon03.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||
.C_DC_Title{ background:url(<%=path %>/images/DC.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||
.C_Sort_Title{ background:url(<%=path %>/images/heng.gif) no-repeat center;font-weight:bold;font-size:12px; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||
.C_Sort_Title a,.C_Sort_Title a:link,.C_Sort_Title a:visited{ color:#fff;}
|
||||
.C_Search_Title{ background:url(<%=path %>/images/Recomm_05.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||
.C_Help_Title{ padding:4px 0;}
|
||||
.C_Help_Title a{ background:url(<%=path %>/images/icon_sell.gif) no-repeat center;font-weight:bold; color:#fff; height:24px; padding-left:15px; width:175px; padding-top:5px;}
|
||||
.C_Help_Title a,.C_Help_Title a:link,.C_Help_Title a:visited{ color:#fff;}
|
||||
|
||||
.C_Goods_Title{ border:1px solid #ccc; background:url(<%=path %>/images/Bule_46.gif) repeat-x; margin-bottom:5px; height:32px;}
|
||||
.C_Goods_Border{ border-top:4px solid #4380CC; padding-top:10px;}
|
||||
.C_Item_bg{ background:url(<%=path %>/images/Bule_56.gif) repeat-y; padding:3px 8px;}
|
||||
.C_pages{ padding:5px 10px; text-align:center;}
|
||||
|
||||
.C_Input{ background:url(<%=path %>/images/button2.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand; color:#333;}
|
||||
.input{ color:#f50;height:18px; }
|
||||
.C_Input02{background:url(<%=path %>/images/button.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand; color:#333;}
|
||||
.C_Input03{background:url(<%=path %>/images/btn_2.png) no-repeat; width:69px; height:28px; border:0px; cursor:hand; color:#fff;}
|
||||
.Register{background:url(<%=path %>/images/btn_1.png) no-repeat; width:105px; height:28px; border:0px; cursor:hand; text-align:center; padding-top:6px;}
|
||||
//no-repeat不平铺
|
||||
.Order_Table{ margin:15px 0;}
|
||||
.Order_Table td{ font-size:14px;}
|
||||
.Order_Font{ color:#FF0000; font-weight:bold;}
|
||||
.Order_Title{ font-size:14px; font-weight:bold; padding:4px 5px;}
|
||||
.Order_Total{ font-weight:bold; padding:5px 10px 0 10px; color:#FF0000; text-align:center; font-size:14px;}
|
||||
.Car_Leftbg{ background:url(<%=path %>/images/Car_05.gif) repeat-y left; width:8px;}
|
||||
.Car_Rightbg{ background:url(<%=path %>/images/Car_13.gif) repeat-y right; width:8px;}
|
||||
.C_Carbg_Default{ background:url(<%=path %>/images/Car_21.gif) no-repeat center;font-size:12px; text-align:center; width:150px;}
|
||||
.C_Carbg_Current{ background:url(<%=path %>/images/Car_18.gif) no-repeat center;font-size:12px; text-align:center; color:#fff; width:150px;}
|
||||
.Onlinpay{
|
||||
}
|
||||
.Onlinpay input{ background:url(<%=path %>/images/Car_icon_07.gif) no-repeat center; width:115px; height:30px; border:0px; cursor:hand; padding-bottom:8px; padding-right:8px;}
|
||||
|
||||
.textBox{
|
||||
border-bottom:1px;
|
||||
border-left:1px;
|
||||
border-right:1px;
|
||||
border-top:1px;
|
||||
border-color:#666666;
|
||||
border-style:solid;
|
||||
}
|
||||
|
||||
.itemTitle {
|
||||
font-family: "黑体", "Arial Black";
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
font-weight: 200;
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
letter-spacing: 5px;
|
||||
} //字母间距5px
|
||||
|
||||
.blueText {
|
||||
font-family: "宋体", System;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: #0033CC;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.redText {
|
||||
font-family: "宋体", System;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: #FF0000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.text {
|
||||
font-family: "宋体", System;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.body {
|
||||
margin-left: 0px;
|
||||
margin-top: 2px;
|
||||
margin-right: 0px;
|
||||
margin-bottom: 2px;
|
||||
background-image: url(<%=path %>/images/backGroup.gif);
|
||||
}
|
||||
|
||||
|
||||
.header_menu{background:url(<%=path %>/images/header_menu_02.gif) repeat-x;}
|
||||
|
||||
|
||||
.whiteTitle{
|
||||
font-family: "宋体", System;
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.whiteText {
|
||||
font-family: "宋体", System;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.blackTitle {
|
||||
font-family: "宋体", System;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
line-height: 20px;
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="body" leftmargin="0" rightmargin="0">
|
||||
<table cellspacing="1" cellpadding="0" width="100%" border="0" bgcolor="#F7F3F7">
|
||||
<tr height="26">
|
||||
<td class="blackTitle" align="center">商品名称</td>
|
||||
<td class="blackTitle" align="center">购买数量</td>
|
||||
<td class="blackTitle" align="center">购买价格</td>
|
||||
</tr>
|
||||
<c:forEach items="${requestScope.orderItemList}" var="orderItem">
|
||||
<tr class="text" align="center" bgcolor="#FFFFFF">
|
||||
<td>${orderItem.goods.mingcheng}</td>
|
||||
<td>${orderItem.goods_quantity}</td>
|
||||
<td>${orderItem.goods.tejia}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,123 @@
|
||||
<%@ 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"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head> <!-- 订单填写界面 -->
|
||||
<meta http-equiv="pragma" content="no-cache"/>
|
||||
<meta http-equiv="cache-control" content="no-cache"/>
|
||||
<meta http-equiv="expires" content="0"/>
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||
<meta http-equiv="description" content="This is my page"/>
|
||||
|
||||
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
<script type="text/javascript">
|
||||
function back1() //返回之前的页面
|
||||
{
|
||||
window.history.go(-1);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="logo">
|
||||
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||
|
||||
|
||||
|
||||
</a></h1>
|
||||
<p><em><a href="#"> </a></em></p>
|
||||
</div>
|
||||
<hr/>
|
||||
<!-- 头部各种功能 -->
|
||||
<div id="header">
|
||||
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||
</div>
|
||||
<!-- 头部各种功能 -->
|
||||
|
||||
|
||||
<div id="page">
|
||||
<div id="page-bgtop">
|
||||
<!--右侧 -->
|
||||
<div id="content">
|
||||
<div class="post">
|
||||
<h2 class="title"><a href="#">填写订单</a></h2>
|
||||
<div class="entry">
|
||||
<form action="<%=path %>/buy?type=orderSubmit" name="f" method="post">
|
||||
<table width="98%" align="center" border="0" cellpadding="9" cellspacing="9">
|
||||
<tr align='center'>
|
||||
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||
收货人帐号:
|
||||
</td>
|
||||
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" readonly="readonly" value="${sessionScope.user.loginname}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center'>
|
||||
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||
收货人姓名:
|
||||
</td>
|
||||
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" readonly="readonly" value="${sessionScope.user.name}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center'>
|
||||
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||
送货地址:
|
||||
</td>
|
||||
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" name="songhuodizhi"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center'>
|
||||
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||
付款方式:
|
||||
</td>
|
||||
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||
<select name="fukuanfangshi" style="width:155px;">
|
||||
<option value="货到付款">货到付款</option>
|
||||
</select> <!-- 下拉菜单 -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr height="7"><td></td></tr>
|
||||
<tr>
|
||||
<td width="120"></td>
|
||||
<td>
|
||||
<input type="button" value="返回" style="width: 80px;height: 30px;" onclick="back1()">
|
||||
</td>
|
||||
<td>
|
||||
<input type="button" value="提交订单" style="width: 80px;height: 30px;" onclick="javascript:document.f.submit();">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 右侧 -->
|
||||
<!-- 左侧菜品类别 -->
|
||||
<div id="sidebar">
|
||||
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||
</div>
|
||||
<!-- 左侧菜品类别 -->
|
||||
<div style="clear: both;"> </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer-bgcontent">
|
||||
<div id="footer">
|
||||
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,94 @@
|
||||
<%@ 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"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="pragma" content="no-cache"/>
|
||||
<meta http-equiv="cache-control" content="no-cache"/>
|
||||
<meta http-equiv="expires" content="0"/>
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||
<meta http-equiv="description" content="This is my page"/>
|
||||
|
||||
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
<script type="text/javascript">
|
||||
function back1()//返回之前的界面
|
||||
{
|
||||
window.history.go(-1);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="logo">
|
||||
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||
|
||||
|
||||
|
||||
</a></h1>
|
||||
<p><em><a href="#"> </a></em></p>
|
||||
</div>
|
||||
<hr/>
|
||||
<!-- 头部各种功能 -->
|
||||
<div id="header">
|
||||
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||
</div>
|
||||
<!-- 头部各种功能 -->
|
||||
|
||||
|
||||
<div id="page">
|
||||
<div id="page-bgtop">
|
||||
<!-- 右侧 -->
|
||||
<div id="content">
|
||||
<div class="post">
|
||||
<h2 class="title"><a href="#"></a></h2>
|
||||
<div class="entry">
|
||||
<table width="99%" border="0" cellpadding="5" cellspacing="5" bgcolor="#FFFFFF" align="center" style="margin-top:8px">
|
||||
<tr>
|
||||
<td align="left" style="color: red">恭喜您,订单提交成功!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 15px;">订单编号:${requestScope.order.bianhao }</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="font-size: 15px;">总金额:${requestScope.order.jine }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 15px;">下单日期:${requestScope.order.shijian }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 15px;">送货地址:${requestScope.order.songhuodizhi }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 15px;">付款方式:${requestScope.order.fukuanfangshi }</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 右侧 -->
|
||||
<!-- 左侧菜品类别 -->
|
||||
<div id="sidebar">
|
||||
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||
</div>
|
||||
<!-- 左侧菜品类别 -->
|
||||
<div style="clear: both;"> </div> <!--clear:both该属性的值指出了不允许有浮动元素 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer-bgcontent">
|
||||
<div id="footer">
|
||||
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue