<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wxPay.aspx.cs" Inherits="Web.InterBank.wxapy.wxPay" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="../../Images/2cc0475e1160ea574d0a9b5ebea60136eb28.js"></script>
    <title>微信扫码支付窗口</title>
    <style>
        body{font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size:14px;}
        .window {
            position:absolute; left:40%; top:30%; text-align:center; width:400px; overflow:hidden;
        }
.money{color:red; font-size:28px;}
    </style>
    <script>
        $(document).ready(function () {
            setInterval("goto()", 3000);
        });
        function goto() {
            $.ajax({
                url:"?action=go",
                type: "get",
                cache: false,
                success: function (data) {
                    if (data == "success") {
                        location.href = "../../user/index.aspx";
                    }
                },
                error: function (data) {
                    //alert("wxpay error");
                }
            });
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="window">
            <p><%=title %></p>
            <p class="money"><%=Convert.ToDecimal( money).ToString("C") %></p>
            <asp:Image ID="Image2" runat="server" Style="width: 200px; height: 200px;" />
            <p><small style="color:red">小提示:支付成功后，如果没有跳转，即手动可关闭该页面进入后台查看</small></p>
        </div>
    </form>
</body>
</html>
