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

<!DOCTYPE html>
<html>
<head lang="en">
	<meta http-equiv=X-UA-Compatible content=IE=EmulateIE9 />
	<script type="text/javascript" src="/static/card/js/configweb.js"></script>
	<title>非会员订单查询_<%=config.SiteName %></title>
<script type="text/javascript" src="/static/card/js/configweb.js"></script>
    <link rel="stylesheet" href="/static/card/css/public.css" />
    <link rel="stylesheet" href="/static/card/css/trade.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>
    <script type="text/javascript">
        function chksub() {
            if ($.trim($("#txtOrdNo").val()) == "") {
                alert("请输入订单编号");
                $("#txtOrdNo").focus();
                return false;
            }
            if ($.trim($("#txtVerfCode").val()) == "") {
                alert("请输入验证码");
                $("#txtVerfCode").focus();
                return false;
            }
            var ordNo = $.trim($("#txtOrdNo").val());
            var psd = $.trim($("#txtSearchPass").val());
            var verfcode = $.trim($("#txtVerfCode").val());

            $.ajax({
                type: "post",
                dataType: "text",
                url: "?act=searchord&ordNo=" + ordNo + "&psd=" + psd + "&verfcode=" + verfcode,
                success: function (a) {
                    $("#searchordrsbox").html(a);
                    $("#plSearchBox").hide();
                },
                error: function (e) {
                    alert(e.responseText);
                }
            });
        }
    </script>
</head>
<body>
<form id="form1" runat="server">
<TW:Header ID="Header1" runat="server" Current=2 />
<div class="content">
    <div class="container clearfix">
        <asp:Panel ID="plSearchBox" CssClass="query-order-wrap" runat="server">
            <ul class="query-order-table">
                <li>
                    <div class="label">订单编号：</div>
                    <div class="inp">
                        <asp:TextBox ID="txtOrdNo" CssClass="input-text" runat="server"></asp:TextBox>
                    </div>
                    <div class="tip"></div>
                </li>
                <li>
                    <div class="label">查询密码：</div>
                    <div class="inp">
                        <asp:TextBox ID="txtSearchPass" CssClass="input-text" runat="server" TextMode="Password"></asp:TextBox>
                    </div>
                    <div class="tip"></div>
                </li>
                <li>
                    <div class="label">验证码：</div>
                    <div class="inp">
                    <asp:TextBox ID="txtVerfCode" CssClass="input-text check-code" runat="server"></asp:TextBox>
                    <img class="check-img" id="checkImg" src="/inc/GetCode.aspx" title="看不清？点击换张图片" onclick="this.src=this.src + '?';" border="0" style="cursor:pointer;height:40px;"/>
                    </div>
                    <div class="tip"></div>
                </li>
                <li>
                    <div class="label"></div>
                    <div class="inp">
                        <input type="button" class="default-btn" value="查 询" onclick="return chksub();" />
                    </div>
                    <div class="tip"></div>
                </li>
            </ul>
        </asp:Panel>
        <div id="searchordrsbox" class="searchordrsbox">
            <%--<h1 class="searchordtit">订单信息</h1>
            <div class="query-order-wrap">
            <ul class="query-order-table">
                <li>
                    <div class="label">订单编号：</div>
                    <div class="inp">
                        asdasdasdasdsa
                    </div>
                </li>
                <li>
                    <div class="label">订单状态：</div>
                    <div class="inp">
                        asdasd
                    </div>
                </li>
                <li>
                    <div class="label">下单时间：</div>
                    <div class="inp">
                        2016-06-12 18:12:05
                    </div>
                </li>
                <li>
                    <div class="label">发货时间：</div>
                    <div class="inp">
                    </div>
                </li>
                <li>
                    <div class="label">商品类型：</div>
                    <div class="inp">
                    </div>
                </li>
                <li class="clearfix heitauto">
                    <div class="label heitauto">收货人信息：</div>
                    <div class="inp heitauto">
                    收货邮箱：1@163.com<br />
                    收货邮箱：1@163.com
                    </div>
                </li>
                <li class="clearfix heitauto">
                    <div class="label heitauto">商品名：</div>
                    <div class="inp heitauto">
                        移动充值卡 100元 自动卡密<br />
                        <img src="/uploads/?201605/jpg0261051086379_500x300.jpg" style="border-width:0px;width: 150px;height: 90px;">
                    </div>
                </li>
                <li>
                    <div class="label">商品单价：</div>
                    <div class="inp">
                        ￥100.00
                    </div>
                </li>
                <li>
                    <div class="label">数量：</div>
                    <div class="inp">
                        1件
                    </div>
                </li>
                <li>
                    <div class="label">商品总金额：</div>
                    <div class="inp">
                        ￥106.00
                    </div>
                </li>
            </ul>
            </div>--%>
        <%--<div class="query-result-wrap clearfix">
	
            <div style="text-align: center;height:400px;">
		        <p style="font-size: 20px;color: #EA4444;">
		            <i class="icon icon-tip-fail"></i>
		            &nbsp;&nbsp;&nbsp;&nbsp;
		           	 查无此订单，查询密码错误!
		        </p>
	        </div>
        
</div>--%>
        </div>
    </div>
</div>
<TW:Footer ID="Footer1" runat="server" />
</form>
</body>
</html>

