hlzyWeb/Admin/Goods/EditSpecificationValues.aspx

(开头部分) 6KB

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

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

<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.ControlPanel.Utility" Assembly="Hidistro.UI.ControlPanel.Utility" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .table_title {
            background: #f2f2f2;
        }

        table td, th {
            text-align: center;
        }
    </style>
    <script type="text/javascript">
        //编辑规格值
        function UpdateAttributeValue(ValueId, ValueStr, ImageUrl, useAttributeImage) {
            var Rand = Math.random();
            var pathurl = "SkuValue.aspx?action=update&valueId=" + ValueId + "&useImg=" + useAttributeImage+"&Rand="+Rand;
            //var title = "修改规格值";
            //if (useAttributeImage == "True") {
            //    DialogFrame(pathurl, title, 420, 200);
            //} else {
            //    DialogFrame(pathurl, title, 440, 160);
            //}
            $("#MyIframe").attr("src", pathurl);
            $('#myShowAddSKUValueDivModal').modal('toggle').children().css({
                width: '650px',
                height: '150px'
            })
            $("#myShowAddSKUValueDivModal").modal({ show: true });
        }

        //添加新规格值
        function ShowAddSKUValueDiv(attributeId, useAttributeImage) {
            //var pathurl = "product/SkuValue.aspx?action=add&attributeId=" + attributeId + "&useImg=" + useAttributeImage;
            //var title = "添加规格值";
            //if (useAttributeImage == "True") {
            //    DialogFrame(pathurl, title, 420, 200);
            //} else {
            //    DialogFrame(pathurl, title, 450, 160);
            //}
            
            var Rand = Math.random();
            var pathurl = "SkuValue.aspx?action=add&attributeId=" + attributeId + "&useImg=" + useAttributeImage + "&Rand=" + Rand;
     
            $("#MyIframe").attr("src", pathurl);
            $('#myShowAddSKUValueDivModal').modal('toggle').children().css({
                width: '650px',
                height: '150px'
            })
            $("#myShowAddSKUValueDivModal").modal({ show: true });
        }
        function closeModal()
        {
            $("#myShowAddSKUValueDivModal").modal('hide');
            location.href = "EditSpecificationValues.aspx?typeId=" + getParam('typeId')+"&AttributeId="+getParam('AttributeId')+"&UseAttributeImage="+getParam('UseAttributeImage');
        }
        String.prototype.trim = function () {
后面还有 66 行代码,购买后查看完整代码

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

AI 解读 AI

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

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