<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PayWeixin_51Pay.aspx.cs" Inherits="JRAPI.Pay.PayWeixin_51Pay" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
    <title>欢迎使用微信支付</title>
    <LINK  rel=stylesheet type=text/css href="css/css.css">
    <script src="js/jquery-1.8.0.js" type="text/javascript"></script>
        <script language="javascript" type="text/javascript">
            $(document).ready(function () {
                var time = 1000;
                var interval;
                function run() {
                    interval = setInterval(getData, time);
                };
                function getData() {
                    $.post("Ajax/AjaxOrderStatus.ashx", { BillNO: '<%=billno %>', t: Math.random() }, function (result) {
                        if(result=="1"){
                            clearTimeout(interval);
                            location = "Services/OrderSuccess.aspx?BillNO=<%=billno %>";
                        }
                    });
                };
                run();
            });
</script>
</head>
<body id="weixin">
<div>
</div>
<div>

</div>
    <div id="header">商户订单号：<%=billno %> 请您在提交订单后 <font color=red>5分钟</font> 内完成支付，否则订单会自动取消。</div>
    <div  id="main">
      <div class="admin_div bold font-12" style="padding-left:200px" ><ul>
      <li>
      <font color=blue>客服QQ:4000777495</font>
      </li>
      <li>
      应付金额：<font color=red><b><asp:Literal ID="liMoney" runat="server"></asp:Literal></b></font> 元 
      </li>
      </ul></div>
      <div class="content_div" style="background: url(images/wx.jpg) no-repeat bottom right; ">
        <div class="left_tel l">
          <div class="con_div"> <img  src="<%=codeimg %>" width="197px" height="197px" />
            <div class="font-12 t-c div_01" id="recdiv"> 请使用微信“扫一扫”扫描<br />
              二维码以完成支付 </div>
          </div>
        </div>

      </div>
      <div class="text_div"><a href="#"><span class="bold">·</span> 如何申请微信支付?</a></div>
    </div>
    <div id="footer" class="t-c">Copyright©2009-<%=DateTime.Now.Year %> All Rights Reserved </div>
    </form>

</body>
</html>