hlzyWeb/obj/Debug/Package/PackageTmp/Admin/promotion/SendCouponByManager.aspx

(开头部分) 21KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminNew.Master" AutoEventWireup="true" CodeBehind="SendCouponByManager.aspx.cs" Inherits="Hidistro.UI.Web.Admin.promotion.SendCouponByManager" %>

<%@ Register Src="~/Admin/Ascx/ucDateTimePicker.ascx" TagPrefix="uc1" TagName="ucDateTimePicker" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
    .has-error small{color:#a94442;}
        .contentp p { line-height:25px; }
        .contentp span { color:red; }
</style>
    <script type="text/javascript">
        $(function () {
            $('.selectpreferentialvolume input').change(function () {
                console.log("dd");
                var now = $('.selectpreferentialvolume input:checked').val(),
                    parentElement = $(this).parents('.selectpreferentialvolume');
                $('.manualreleasebox').hide();
                if (parentElement.nextAll('.manualreleasebox').eq(now).get(0)) {
                    $('.manualreleasebox').eq(now).show();
                } else {
                    if (now == 1) {
                        parentElement.nextAll('.manualreleasebox').after('<div class="manualreleasebox boxsize"><span class="title">请指会员微信昵称</span><div class="form-horizontal"><div class="form-group mt10"><label for="inputEmail3" class="col-xs-3 control-label resetSize">微信昵称:</label><div class="col-xs-9"><textarea id="weixinname" class="resetSize inputw250" rows="5" cols="10"></textarea><small>填写单个或多个微信昵称,每个微信昵称占一行</small></div></div></div></div>');
                    } else if (now == 2) {
                        parentElement.nextAll('.manualreleasebox:last-child').after('<div class="manualreleasebox boxsize"><span class="title">请指会员用户名</span><div class="form-horizontal"><div class="form-group mt10"><label for="inputEmail3" class="col-xs-3 control-label resetSize">用户名:</label><div class="col-xs-9"><textarea id="usernamename" class="resetSize inputw250" rows="5" cols="10"></textarea><small>填写单个或多个用户名,每个用户名占一行</small></div></div></div></div>');
                    }
                }
            });

            GetCouponInfo();
            $("[id$='ddlCouponList']").change(function () { GetCouponInfo(); });

            //验证上级店铺名称
            $("#txtStoreName").blur(function () {
                var _this = $(this);
                var value = $(this).val();
                if (value != '')
                {
                    $.ajax({
                        type: 'get',
                        dataType: 'json',
                        data: { "action": "getstroeidbystorename", "storeName": value },
                        url: 'GetMemberGradesHandler.ashx',
                        success: function (data)
                        {
                            if (data.status == 'ok') {
                                $("#txtStoreId").val(data.storeId);
                                $("#storeNameErr").html('');
                                _this.parent().removeClass();
                                _this.parent().addClass("col-xs-9");
                            } else {
                                $("#storeNameErr").html(data.description);
                                $("#txtStoreId").val('');
                                _this.parent().removeClass();
                                _this.parent().addClass("col-xs-9 has-error");
                            }
                        }
                    });
                } else
                {
                    $("#txtStoreId").val('');
后面还有 382 行代码,购买后查看完整代码

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

AI 解读 AI

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

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