EasyShop/Content/images2/mkl/OrderGift.js
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
function OrderGift(styleId , itemId , maxQty , hasItem) {
this.StyleId = styleId;
this.Size = "";
this.Color = "";
this.ItemId = itemId;
this.MaxQty = maxQty;
this.HasItem = hasItem;
}
OrderGift.prototype = new RSBase();
OrderGift.prototype.ErrorCallbackRSBase = OrderGift.prototype.ErrorCallback;
OrderGift.prototype.ErrorCallback = function(error, callBackContext, response) {
callBackContext.Object.ErrorCallbackRSBase(error, callBackContext, response);
callBackContext.Element.value = "";
}
OrderGift.GetElementById = function(controlId) {
var o = document.getElementById(controlId);
if (o == null) {
alert("控件编号:" + controlId + "不存在");
return null;
}
return o;
}
OrderGift.prototype.GetElementById1 = function(controlId) {
var o = document.getElementById(controlId);
if (o == null) {
alert("控件编号:" + controlId + "不存在");
return null;
}
return o;
}
OrderGift.prototype.HideErrorInfo = function() {
var element = document.getElementById("divErrorInfo");
element.style.display = "none";
}
OrderGift.prototype.ShowErrorInfo = function(errorInfo) {
var element = document.getElementById("divErrorInfo");
element.innerText = errorInfo;
element.style.display = "inline";
}
OrderGift.prototype.GetCallbackContext = function(element) {
return new CallbackContext(element, this);
}
OrderGift.prototype.SelectColor = function(colorId, colorName) {
this.ClearSelectColor();
this.Color = colorId;
this.Size = "";
this.ItemId = "";
var element = document.getElementById("liColor" + colorId);
element.className = "zp_text_img";
后面还有 302 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。