<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>核对订单</title>
<link href="../../styles/css/style.css" rel="stylesheet"
type="text/css">
<script type="text/javascript"
src="../../styles/scripts/jquery-1.8.3.js"></script>
<link rel="stylesheet"
href="../../styles/jquery-ui-1.11.2/jquery-ui.css" type="text/css"></link>
<script type="text/javascript"
src="../../styles/jquery-ui-1.11.2/jquery-ui.min.js"></script>
<style type="text/css">
</style>
</head>
<body>
<div class="index_main">
<!--头部start-->
<!--头部start-->
<div class="login_top">
<div class="login_text">
<span class="fl">
<a href="#" target="_parent">登录</a>
<a href="#" target="_parent">注册</a></span>
<div class="right_zh">
亲爱的 <span class="green">
<div>xxx用户</div>
<span class="arrow_down"></span>
<div class="box_zh">
<ul>
<li><a href="#">我的订单</a></li>
<li><a href="#">收礼人</a></li>
<li><a href="#">我的收藏</a></li>
<li><a href="javascript:void(0)" onclick="if(confirm('确实要退出系统?')) location.href='#';">安全退出</a></li>
<div class="clear"></div>
</ul>
</div>
</span> 欢迎回来~
</div>
<span class="fl">
<a href="#">购物车</a></span>
</div>
</div>
<div class="clear"></div>
<div class="top_bg">
<div class="top_content">
<div class="logo">
<a href="#"><img src="../../styles/images/logo.png" /></a>
</div>
<ul class="nav">
<li><a href="#" class="white">首页</a></li>
<li><a href="#" class="white">礼品中心</a></li>
<li><a href="#" class="white" target="_parent">送礼攻略</a></li>
<li><a href="#" class="white" target="_parent">下载APP</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
<!--头部end-->
<div class="position2">
<span class="home"></span>首页→<span class="green14">核对订单</span>
</div>
<div class="order2">
<span>放入购物车</span><span>填写核对订单</span><span>成功提交订单</span>
</div>
<div class="clear"></div>
<div class="alert">
<a href="../../user/order.action?<%=qs%>"> 我知道收礼人地址>></a>
</div>
<div class="clear"></div>
<div class="order_content">
<form action="../../user/order.action?method=save1" method="post" id="submitOrderForm" name="submitOrderForm">
<!-- 防止表单重复提交 -->
<s:token/>
<input name="rqtflag" id="rqtflag" type="hidden" value="3" />
<h3>
送礼赠言<a href="#"><span class="fr red14">我们会为您永久保留该订单!</span>
</a>
</h3>
<div class="addr_div">
<!-- 编辑窗口 开始 -->
<div id="words-edit-div">
<ul>
<li class="addr_tdiv">收礼人姓名:</li>
<li>
<input name="toname" id="toname" type="text" class="input1">
<span class="red14">*</span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">留言:</li>
<li>
<textarea cols="50" rows="4" name="words" id="words" placeholder="说点什么吧,让TA来收礼喽!"></textarea>
<span class="red14">*</span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">落款:</li>
<li>
<input name="inscribe" id="inscribe" type="text" class="input1">
<span class="red14">*</span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">TA的手机号码:</li>
<li>
<input name="tomobile" id="tomobile" type="text" class="input1">
<span class="red14">*</span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv" style="width:180px;">对收礼人显示商品信息:</li>
<li>
<div>
<input name="show" class="show-radio" value="1" checked="checked" type="radio" id="show1input"> <label for="show1input">显示</label>
<input name="show" class="show-radio" value="0" type="radio" id="show2input"> <label for="show1input">隐藏 </label>
<span class="red14">*</span>
</div>
</li>
</ul>
</div>
<div class="clear"></div>
<!-- 编辑窗口 结束 -->
<!-- 信息显示窗口 开始 -->
<div id="words-info-div" style="display: none;">
<ul>
<li class="addr_tdiv">收礼人姓名:</li>
<li>
<span id="toname-span"></span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">留言:</li>
<li>
<span id="words-span"></span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">落款:</li>
<li>
<span id="inscribe-span"></span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv">TA的手机号码:</li>
<li>
<span id="tomobile-span"></span>
</li>
</ul>
<div class="clear"></div>
<ul>
<li class="addr_tdiv" style="width:180px;">对收礼人显示商品信息:</li>
<li>
<span id="show-span">显示 隐藏 </span>
</li>
</ul>
</div>
<!-- 信息显示窗口 结束 -->
<div class="clear"></div>
<br />
<!-- 确认,修改留言 -->
<p>
<span class="operate1" id="confirm-words-span" style="margin-left: 80px;">确认赠言</span>
<span class="operate4" id="modify-words-span" style="margin-left: 80px;display: none;">修改赠言</span>
</p>
</div>
<div class="clear"></div>
<div class="line"></div>
<div class="share" style="display:none;">
<h3>隐藏 订单生成后再显示 通知方式</h3>
<%-- --%>
<ul>
<li class="line_r">
<div>
<span class="qld_icon1"></span>
<h3 class="fl">短信分享</h3>
</div>
<div class="clear"></div>
<input type="text" class="input1" placeholder="请输入手机号">
<p>提示:此信息只做通知用,为消除收礼人疑虑,建议您亲自联系TA。</p>
</li>
<li>
<div>
<span class="qld_icon2"></span>
<h3 class="fl">付款链接</h3>
</div>
<div class="clear"></div>
<p>付款链接为</p>
<p>
<input type="text" class="input1" style="width:300px;">
</p>
</li>
</ul>
<p>
<span class="long">保存通知方式</span> <span class="operate4">取消</span>
</p>
</div>
<div>
<h3 style="margin:10px 0px;">
商品清单
<a href="../../user/cart.action?method=list" style="font-size: 12px; font-weight: normal;">[返回购物车修改]</a>
</h3>
<table class="table table-striped" width="100%">
<thead>
<tr>
<th>商品名称</th>
<th>单价</th>
<th>商品数量</th>
<th>小计(元)</th>
</tr>
</thead>
<tbody>
<c:forEach items="${list}" var="giftStyle">
<tr>
<td><img src="${giftStyle.pic2 }" width="55" height="55" align="absmiddle" />
<span class="order_text">${giftStyle.name }【${giftStyle.gift.name }】</span>
<input type="hidden" name="giftId" value="${giftStyle.gift.id }" />
<input type="hidden" name="styleId" value="${giftStyle.id }" />
</td>
<td>¥${giftStyle.discount }</td>
<td>
${giftStyle.orderCount }
<input type="hidden" name="count" value="${giftStyle.orderCount }" />
</td>
<!-- 保留两位小数 -->
<td class="red14">¥<fmt:formatNumber value="${giftStyle.discount * giftStyle.orderCount}" pattern="##.##" minFractionDigits="2"/></td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="clear"></div>