<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cashPay.aspx.cs" Inherits="eFrameWork.WeChat.cashPay" %><!DOCTYPE html>
<html>
<head>
    <title>提现</title>
    <meta http-equiv="pragram" content="no-cache"> 
    <meta http-equiv="cache-control" content="no-cache, must-revalidate"> 
    <meta http-equiv="expires" content="0"> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0,uc-fitscreen=yes" />
    <script src="../Scripts/jquery.js"></script>
    <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
    <script src="../Plugins/layui226/layui.all.js"></script>
</head>
<script>
//提现
var paying = false;
function cash(obj)
{
    if (paying) { return; }
    paying = true;
    obj.onclick = function () { };
    $(obj).attr("disabled", "true");

    $.ajax({
        type: 'post',
        url: "cashPay.aspx",
        data: { je: 0.3 },
        dataType: "json",
        success: function (data) {
            if (parseBool(data.success)) {
                layer.open({ content: data.message, skin: "msg", time: 2 });
                setTimeout(function () { document.location.href = "cashPay.aspx"; }, 2000);
            }
        }
    });

};
</script>
<body>    
<div>当前位置：<a href="../default.aspx">首页</a> -> 提现</div>
<input id="Button1" type="button" onclick="cash(this);" value="提现3毛(最小)" />
</body>
</html>