SourceCode/jiouosdp/Areas/Systems/Views/Setting/MarketingSet.cshtml

(开头部分) 10KB

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

@{
    ViewBag.Title = "营销活动";
    Layout = "~/Areas/Theme/Views/Shared/wechatmaster.cshtml";

    var Coupon = ParameterManage.GetParam(ParameterName.MarketingName.Coupon);
    var Crowdfunding = ParameterManage.GetParam(ParameterName.MarketingName.Crowdfunding);

    var entity = IntegralRulesManage.GetIntegralRuleByMerchant(RFrameGenerate.Common.CurrentManage.MerchantGuid);
    var IntegralEnableChe = string.Empty;
    var divDispay = "none";
    int ProductAmount = 0;
    int PresentExp = 0;
    int ProportionIntegral = 0;
    int MaxUseIntegral = 0;
    var MaxUseIntegralA = "checked";
    var MaxUseIntegralB = string.Empty;

    var unit = "%";
    if (entity != null)
    {
        IntegralEnableChe = "checked";
        divDispay = "display";
        ProductAmount = (int)entity.ProductAmount.Value;
        PresentExp = (int)entity.PresentExp.Value;
        ProportionIntegral = (int)entity.ProportionIntegral.Value;
        MaxUseIntegral = (int)entity.MaxUseIntegral.Value;
        if (entity.MaxUseIntegralType == ParameterName.IntegralRulesName.MaxUseIntegralType.MaxUseIntegralTypeA)
        {
            MaxUseIntegralA = "checked";
            MaxUseIntegralB = string.Empty;
            unit = "%";
        }
        else
        {
            MaxUseIntegralA = string.Empty;
            MaxUseIntegralB = "checked";
            unit = "元";
        }
    }
 
}
@using RFrameGenerate.BLL;
<style>
    .form-inline {
        margin: 0;
    }

    .areas {
        width: 210px;
    }

    .input-group {
        width: 210px;
    }

    .control-label {
        float: left;
    }

    .controls {
后面还有 241 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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