SourceCode/jiouosdp/Views/DistributionCenter/DistributionCom.cshtml

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@{
    ViewBag.Title = "分销佣金";
    Layout = "../Shared/weixin.cshtml";
}
<link href="../../Content/WX/css/global.css" rel="stylesheet" />
<link href="../../Content/WX/css/fxzxstyle.css" rel="stylesheet"/>
<style>
    .hide-collect {
        display: none;
    }

    .layout-size {
        z-index: 100;
    }
</style>
<script>
    $(function () {
        var commissions = $("#distributionCommissions").html() * 1;

        if (commissions == 0) {
            $("#anyj").addClass("wytx_bkt"); 
        }
        else {
            $("#anyj").addClass("wytx_kt");
        }
        //判断是否可以提现
        $("#applyTake").click(function () {
            if ($("#applyAmount").val() > commissions) {
                layer.open({
                    content: "申请提现金额不能大于可提现金额!",
                    time: 2
                });
                $("#anyj").addClass("wytx_bkt");
                return false;
            }
            layer.open({ shadeClose: false, type: 2 });
            $.ajax({
                url: 'CheckAllowed',
                type: 'post',
                data: { applyAmount: $("#applyAmount").val() },
                success: function (context) {
                    layer.closeAll();
                    if (context.Result == "OK") {
                        layer.open({
                            content: context.Msg,
                            time: 2
                        })
                        location.reload();
                    }
                    else if (context.Result == "Redirect") {
                        layer.open({
                            title: '提示',
                            content: '提现前请您先完善资料',
                            btn: ['去完善资料'],
                            yes: function (index) {
                                window.location.href = "/wxshop/EditDistribution";
                            }
                        });
                    }
                    else {
后面还有 75 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。