<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="orderview.aspx.cs" Inherits="TW.UI.memb.orderview" %>

<!DOCTYPE html>
<html>
<head lang="en">
	
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv=X-UA-Compatible content=IE=EmulateIE9 />
<script type="text/javascript" src="/static/card/js/configweb.js"></script>
	<title>订单详情_<%=config.SiteName %></title>
	<link rel="stylesheet" href="/static/card/css/public.css" />
    <link rel="stylesheet" href="/static/card/css/userCenter.css" />
    <script type="text/javascript" src="/static/card/js/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="/static/card/js/tools.js"></script>
	<link rel="stylesheet" href="/static/card/css/public.css" />
    <link rel="stylesheet" href="/static/card/css/userCenter.css" />
    <link rel="stylesheet" href="/static/card/css/userCenterNew.css" />
    <script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
    
</head>
<body>
<form id="form1" runat=server>
<TW:Header ID="Header1" runat="server" />
<div class="content">
    <div class="container">
        <TW:UserHeader ID="UserHeader1" runat="server" />
        <div class="user-content clearfix">
            <TW:UserLeft ID="UserLeft1" runat="server" MenuId=3 SelLi=1 />

            
            <div class="user-right pull-left">
                <div class="order-detail-wrap">
                
                	
                	<div class="detail-title">
                        <div class="label">订单详情</div>
                    </div>
                    <div class="detail-content clearfix">
                        <div class="content-item">
                           	 订单编号：<%=data["OrderNumber"]%>
                        </div>
                        <div class="content-item">
                           	订单状态：<%=GetOrderStatus(data["Status"])%>
                        </div>
                        <div class="content-item">
                            	下单时间：<%=Convert.ToDateTime(data["AddTime"]).ToString("yyyy-MM-dd HH:mm:ssss")%>
                        </div>
                        <div class="content-item">
                            	发货时间：<%=Convert.ToDateTime(data["SendTime"])<=DateTime.Parse("2015-9-9")?"":Convert.ToDateTime(data["SendTime"]).ToString("yyyy-MM-dd HH:mm:ssss")%>
                        </div>
                    </div>
                    <div class="detail-title">
                        <div class="label">收货人信息</div>
                    </div>
                    <div class="detail-content clearfix">
                        <asp:Literal ID="litGetPerInfo" runat="server"></asp:Literal>
                    			<%--<div class="content-item">
		                            	收货账号：954212127
		                        </div>
		                        <div class="content-item"></div>
		                        <div class="content-item">
		                            	所属分类：穿越火线
		                        	&nbsp;/&nbsp;上海电信
		                        	&nbsp;/&nbsp;上海电信一区
		                        </div>--%>
                    </div>
                    <div class="detail-title">
                        <div class="label">商品清单</div>
                    </div>
                    <div class="detail-content">
                        <div class="goods-wrap">
                            <ul class="table-head">
                                <li class="name">商品名</li>
                                <li class="price">价格</li>
                                <li class="num">数量</li>
                                <li class="amount">小计</li>
                            </ul>
                            <ul class="table-body">
                                <li class="clearfix">
                                    <div class="pic"><asp:Image ID="imgThumb" runat="server" /></div>
                                    <div class="name"><%=data["GoodsTitle"]%></div>
                                    <div class="price">￥<%=data["Price"]%></div>
                                    <div class="num"><%=data["Num"]%></div>
                                    <div class="amount">￥<%=Convert.ToDecimal(data["Amount"]) + Convert.ToDecimal(data["Fee"])%></div>
                                </li>
                            </ul>
                            <div class="table-bottom">
                                商品数量：<span><%=data["Num"]%></span>&nbsp;&nbsp;件
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                商品总金额：<span>￥<%=Convert.ToDecimal(data["Amount"]) + Convert.ToDecimal(data["Fee"])%></span>&nbsp;&nbsp;元
                            </div>
                        </div>
                        <div class="btn-group">
                            应付金额：<span>￥<%=Convert.ToDecimal(data["Amount"]) + Convert.ToDecimal(data["Fee"])%></span>
                            <button type="button" class="default-btn" onclick="window.open('/goodsview.aspx?id=<%=goodsid %>');">再次购买</button>
                        </div>
                    </div>
                	
                	
                
                    
                </div>
            </div>
        </div>
    </div>
</div>
<TW:Footer ID="Footer1" runat="server" />
</form>
</body>
</html>