SourceCode/jiouosdp/Views/WxShop/BecomeReseller.cshtml

(开头部分) 8KB

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

@{
    ViewBag.Title = "成为分销商";
    Layout = "../Shared/weixin.cshtml";

    var applyState = ViewBag.ApplyState as RFrameGenerate.Model.T_BAS_ApplyDistributionRecords;

    var list = RFrameGenerate.BLL.ParameterManage.GetParameters(new string[]{
        RFrameGenerate.BLL.ParameterName.DiyDistributionName.BecomeReseller,
        RFrameGenerate.BLL.ParameterName.DiyDistributionName.BecomeResellerButton,
        RFrameGenerate.BLL.ParameterName.DiyDistributionName.DistributionPrivilege,
    });
    var becomeReseller = list.FirstOrDefault(m => m.ParameterName == RFrameGenerate.BLL.ParameterName.DiyDistributionName.BecomeReseller);
    var becomeResellerHeader = becomeReseller == null ? "/Content/WX/images/cwfxs_02.jpg" : becomeReseller.ParameterValue;
    var button = list.FirstOrDefault(m => m.ParameterName == RFrameGenerate.BLL.ParameterName.DiyDistributionName.BecomeResellerButton);
    var buttonText = button == null ? "申请成为分销商" : button.ParameterValue;
    var privilege = list.FirstOrDefault(m => m.ParameterName == RFrameGenerate.BLL.ParameterName.DiyDistributionName.DistributionPrivilege);
    var privilegeImg = privilege == null ? "" : privilege.ParameterValue;
}
<link href="../../Content/WX/css/global.css" rel="stylesheet" />
<link href="../../Content/WX/css/systyle.css?v=0" rel="stylesheet" />
<style>
    .tip-baseamount {
        background-color: yellow;
        color: red;
        border: red solid 3px;
        border-radius: 5px;
        width: 80%;
        text-align: center;
        margin-left: 9%;
        margin-top: 2%;
        font-family: "微软雅黑";
    }

        .tip-baseamount a {
            color: blue;
        }

    .againApply {
        background-color: red;
        color: white;
        border-radius: 10px;
        width: 30%;
        height: 32px;
        text-align: center;
        line-height: 32px;
        margin-left: 35%;
    }

    .hide {
        display: none;
    }
</style>
@{if (applyState == null || applyState.State == RFrameGenerate.BLL.DictionaryConst.Apply.None)
  {//未申请或重新申请
    <div class="idapply">
        <div class="fxs_pic">
            <img src="@becomeResellerHeader" />
        </div>
        <div class="fxs_sp">
            @{if ((ViewBag.Baseamount - ViewBag.TotalPrice) > 0)
后面还有 162 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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