918博天堂

Server : Microsoft-IIS/10.0
System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586
User : jxgj ( 0)
PHP Version : 7.0.33
Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server
Directory :  D:/tmp_aspnet/root/ada36728/6e3bc2/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/ada36728/6e3bc2/App_Web_cwfwpsuh.1.cs
?#pragma checksum "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0C69A4393E351A2D530DC9C5BBECAF682C3255F8"
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具天生。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且若是
//     沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP {
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using System.Web.Mvc;
    using System.Web.Mvc.Ajax;
    using System.Web.Mvc.Html;
    using System.Web.Routing;
    using System.Web.Optimization;
    using Web;
    
    #line 2 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
    using Web.Code;
    
    #line default
    #line hidden
    
    
    public class _Page_Areas_User_Views_Mingxi_Tixian_cshtml : System.Web.Mvc.WebViewPage<Model.Tixian> {
        
#line hidden
        
        public _Page_Areas_User_Views_Mingxi_Tixian_cshtml() {
        }
        
        protected ASP.global_asax ApplicationInstance {
            get {
                return ((ASP.global_asax)(Context.ApplicationInstance));
            }
        }
        
        public override void Execute() {
            
            #line 3 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
  
    ViewBag.Title = "积分治理";
    ViewBag.Head = true;
    ViewBag.Foot = true;

            
            #line default
            #line hidden
WriteLiteral("\r\n");

DefineSection("css", () => {

WriteLiteral(@"
    <style>
        .pass0 {
            border: 1px solid red;
            color: red;
            border-radius: 0.15rem;
            padding: 0.01rem 0.05rem;
            margin-left: 10px;
        }

        .pass1 {
            border: 1px solid green;
            color: green;
            border-radius: 0.15rem;
            padding: 0.01rem 0.05rem;
            margin-left: 10px;
        }
    </style>
");

});

WriteLiteral("    <div");

WriteLiteral(" class=\"fenlei\"");

WriteLiteral(">\r\n        <a");

WriteAttribute("href", Tuple.Create(" href=\"", 610), Tuple.Create("\"", 646)
            
            #line 28 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
, Tuple.Create(Tuple.Create("", 617), Tuple.Create<System.Object, System.Int32>(Url.Action("Index","Mingxi")
            
            #line default
            #line hidden
, 617), false)
);

WriteLiteral(">积明显细</a>\r\n        <a");

WriteLiteral(" class=\"selected\"");

WriteAttribute("href", Tuple.Create(" href=\"", 685), Tuple.Create("\"", 726)
            
            #line 29 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
, Tuple.Create(Tuple.Create("", 692), Tuple.Create<System.Object, System.Int32>(Url.Action("TixianList","Mingxi")
            
            #line default
            #line hidden
, 692), false)
);

WriteLiteral(">积分提现</a>\r\n        <a");

WriteAttribute("href", Tuple.Create(" href=\"", 748), Tuple.Create("\"", 786)
            
            #line 30 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
, Tuple.Create(Tuple.Create("", 755), Tuple.Create<System.Object, System.Int32>(Url.Action("Index","OrderPay")
            
            #line default
            #line hidden
, 755), false)
);

WriteLiteral(">积分充值</a>\r\n    </div>\r\n<div");

WriteLiteral(" class=\"formBox\"");

WriteLiteral(">\r\n    <form");

WriteLiteral(" id=\"form_add\"");

WriteLiteral(" method=\"post\"");

WriteLiteral(">\r\n");

WriteLiteral("        ");

            
            #line 34 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
   Write(Html.AntiForgeryToken());

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("        ");

            
            #line 35 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
   Write(Html.HiddenFor(model => model.id));

            
            #line default
            #line hidden
WriteLiteral("\r\n        <div");

WriteLiteral(" class=\"item\"");

WriteLiteral(">\r\n            <strong>真实姓名:</strong>\r\n");

WriteLiteral("            ");

            
            #line 38 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
       Write(Model.name);

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 39 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
            
            
            #line default
            #line hidden
            
            #line 39 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
             if (ViewBag.renzheng == 1)
            {

            
            #line default
            #line hidden
WriteLiteral("                <span");

WriteLiteral(" class=\"pass1\"");

WriteLiteral(">已实名认证</span>\r\n");

            
            #line 42 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
            }
            else
            {

            
            #line default
            #line hidden
WriteLiteral("                <span");

WriteLiteral(" class=\"pass0\"");

WriteLiteral(">未实名认证</span>\r\n");

            
            #line 46 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
            }

            
            #line default
            #line hidden
WriteLiteral("        </div>\r\n        <div");

WriteLiteral(" class=\"item\"");

WriteLiteral(">\r\n            <strong>账户积分:</strong>\r\n");

WriteLiteral("            ");

            
            #line 50 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
       Write(ViewBag.yue.ToString("0.##"));

            
            #line default
            #line hidden
WriteLiteral("\r\n        </div>\r\n        <div");

WriteLiteral(" class=\"item\"");

WriteLiteral(">\r\n            <strong><em>*</em>提现金额:</strong>\r\n            <input");

WriteLiteral(" type=\"number\"");

WriteLiteral(" class=\"ipt\"");

WriteLiteral(" id=\"jine\"");

WriteLiteral(" name=\"jine\"");

WriteLiteral(" style=\"width:60px\"");

WriteLiteral(" verify=\"required\"");

WriteAttribute("max", Tuple.Create(" max=\"", 1575), Tuple.Create("\"", 1593)
            
            #line 54 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                             , Tuple.Create(Tuple.Create("", 1581), Tuple.Create<System.Object, System.Int32>(ViewBag.yue
            
            #line default
            #line hidden
, 1581), false)
);

WriteLiteral(" min=\"1\"");

WriteLiteral(" step=\"1\"");

WriteLiteral(" placeholder=\"提现金额\"");

WriteLiteral(" />元\r\n        </div>\r\n        <div");

WriteLiteral(" class=\"item\"");

WriteLiteral(">\r\n            <strong><em>*</em>账户类型:</strong>\r\n");

WriteLiteral("            ");

            
            #line 58 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
       Write(Html.GetRadioList("zhanghuType", WebClass.arrZhanghuType, Model.zhanghuType));

            
            #line default
            #line hidden
WriteLiteral("\r\n        </div>\r\n        <div");

WriteLiteral(" class=\"item\"");

WriteLiteral(">\r\n            <strong><em>*</em>收款账户:</strong>\r\n            <textarea");

WriteLiteral(" id=\"zhanghu\"");

WriteLiteral(" name=\"zhanghu\"");

WriteLiteral(" class=\"textarea\"");

WriteLiteral(" placeholder=\"请输入微信号\"");

WriteLiteral(" verify=\"required\"");

WriteLiteral(">");

            
            #line 62 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                                                                                                     Write(Model.zhanghu);

            
            #line default
            #line hidden
WriteLiteral("</textarea>\r\n        </div>\r\n        <input");

WriteLiteral(" class=\"form_btn\"");

WriteLiteral(" type=\"submit\"");

WriteLiteral(" value=\"申请提现\"");

WriteLiteral(">\r\n\r\n        <p");

WriteLiteral(" id=\"tip\"");

WriteLiteral(" style=\"color:red; margin-top: 0.3rem;text-align: center; display:none\"");

WriteLiteral(">提醒:实名认证后能力提现,<a");

WriteLiteral(" style=\"color: blue;\"");

WriteAttribute("href", Tuple.Create(" href=\"", 2246), Tuple.Create("\"", 2279)
            
            #line 66 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                                                      , Tuple.Create(Tuple.Create("", 2253), Tuple.Create<System.Object, System.Int32>(Url.Action("Info","Home")
            
            #line default
            #line hidden
, 2253), false)
);

WriteLiteral(">去认证>></a></p>\r\n        <p");

WriteLiteral(" id=\"tip2\"");

WriteLiteral(" style=\"color:red; margin-top: 0.3rem;text-align: center; display:none\"");

WriteLiteral(">提醒:只能星期三能够提现</p>\r\n        <div");

WriteLiteral(" style=\" padding:0.3rem;line-height: 0.5rem;\"");

WriteLiteral(">\r\n            <h4>提现注明:</h4>\r\n            <p>1、实名认证后能力提现,<a");

WriteLiteral(" style=\"color: blue;\"");

WriteAttribute("href", Tuple.Create(" href=\"", 2544), Tuple.Create("\"", 2577)
            
            #line 70 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
, Tuple.Create(Tuple.Create("", 2551), Tuple.Create<System.Object, System.Int32>(Url.Action("Info","Home")
            
            #line default
            #line hidden
, 2551), false)
);

WriteLiteral(">实名认证>></a></p>\r\n            <p>2、提现金额不能少于1元</p>\r\n            <p>3、只能星期三能够提现,积分提现" +
"手续费6%</p>\r\n            <p>4、申请提现由治理员审核后打款</p>\r\n        </div>\r\n    </form>\r\n</di" +
"v>\r\n");

DefineSection("js", () => {

WriteLiteral("\r\n    <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(" src=\"/js/jquery.serializejson.min.js\"");

WriteLiteral("></script>\r\n    <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n        var renzheng =");

            
            #line 80 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                 Write(ViewBag.renzheng);

            
            #line default
            #line hidden
WriteLiteral(@";
        if (renzheng != 1) {
            $("".form_btn"").remove();
            $(""#tip"").show();
            alertBox(""实名认证后能力提现"");
        }
        else if (new Date().getDay()!=3) {
            alertBox(""只能星期三能够提现"");
            $("".form_btn"").remove();
            $(""#tip2"").show();
        }
        $(function () {
            $('input[type=radio]').click(function () {
                console.log('Radio button clicked:', this.value);
                if (this.value == 0) {
                    $(""#zhanghu"").prop(""placeholder"", ""请输入微信号"")
                } else if (this.value == 1) {
                    $(""#zhanghu"").prop(""placeholder"", ""请输入支付宝账号"")
                } else if (this.value == 2) {
                    $(""#zhanghu"").prop(""placeholder"", ""请输入银行名称、卡号"")
                }
            });
            $(""#form_add"").submit(function (e) {
                if (isRequired()) {
                    return false;
                }
                var tixian = parseFloat($(""#jine"").val());
                if (tixian < 1) {
                    layer.msg(""提现金额不能少于1元"");
                    return false;
                }
                if (tixian > ");

            
            #line 111 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                        Write(ViewBag.yue);

            
            #line default
            #line hidden
WriteLiteral(@") {
                    layer.msg(""提现金额不能超过余额"");
                    return false;
                }
                //console.log($(""#form_add"").serializeJSON())
                //return false;
                var _index = layer.load(1, { shade: [0.2, '#fff'] });
                $.ajax({
                    url: '");

            
            #line 119 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                     Write(Url.Action("PostTixian"));

            
            #line default
            #line hidden
WriteLiteral(@"',
                    type: ""post"",
                    //async: false,
                    data: $(""#form_add"").serializeJSON(),
                    success: function (res) {
                        if (res.code == 0) {
                            msgUrl(""申请成功,期待打款"", '");

            
            #line 125 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\User\Views\Mingxi\Tixian.cshtml"
                                            Write(Url.Action("TixianList"));

            
            #line default
            #line hidden
WriteLiteral(@"');
                        } else {
                            msgError(res.msg);
                        }
                    },
                    error: function () {
                        msgError(""操作失败"");
                    },
                    complete: function () {
                        layer.close(_index);
                    }
                })
                return false;
            })
        })
    </script>
");

});

        }
    }
}