EasyShop/Content/manage/script/MProductManage.js
(开头部分) 24KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// JScript 文件
//商品管理
//商品管理分类
//000000商品管理列表开始
function UpProductPic(msg, picstr) {
Ext.MessageBox.alert(msg);
//var temp1 = Ext.get('Adpic');
// var temp2 = document.getElementById("Adpic");
var temp3 = document.getElementsByName("Img_Big");
if (temp3.length > 1) {
temp3 = temp3[temp3.length - 1];
temp3.value = temp3.value + "," + picstr.replace(",", "");
} else {
temp3.Img_Big.value =temp3.Img_Big.value+","+ picstr.replace(",", "");
}
}
var ProductInfoStore;
ProductInfoManage = function(node) {//分页每页显示数量
var pageSize = 12;
//指定列参数
//{ "ID", "ProductName", "ClassId", "Price", "State", "Stock", "Brand", "Img_Logo", "Img_Big", "Intro", "Content", "AddDate", "ClickCount", "BuyCount", "UserName", "Point", "IsHtml", "Url" };
var ProductInfoFields = ["ID", "ProductName", "ClassId", "Price", "State", "Stock", "Brand", "Img_Logo", "Img_Big", "AddDate", "ClickCount", "BuyCount", "UserName", "Point", "IsHtml", "Url"];
ProductInfoStore = new Ext.data.GroupingStore({
proxy: new Ext.data.HttpProxy(
{
url: "/MCScriptManageServices/AllClassInfo.aspx",
method: "POST"
}),
reader: new Ext.data.JsonReader(
{
fields: ProductInfoFields,
root: "data",
id: "ID",
totalProperty: "totalCount"
})
//groupField:'id'
// sortInfo: { field: 'ID', direction: "DESC" }
});
ProductInfoStore.load({ params: { start: 0, limit: pageSize} });
//--------------------------------------------------列选择模式
var sm = new Ext.grid.CheckboxSelectionModel({
//dataIndex:"id"
});
//--------------------------------------------------列头
var cm = new Ext.grid.ColumnModel([
sm,
// var ProductInfoFields = ["ID", "ProductName", "ClassId", "Price", "State", "Stock", "Brand", "Img_Logo", "Img_Big", "Intro", "Content", "AddDate", "ClickCount", "BuyCount", "UserName", "Point", "IsHtml", "Url"];
{
header: "商品名称",
后面还有 703 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。