...
|
...
|
@@ -106,7 +106,7 @@ var Bll = { |
|
|
|
|
|
var d = new common.dialog({
|
|
|
title: title,
|
|
|
width: 1200,
|
|
|
width: '60%',
|
|
|
content: common.util.__template2($("#wqt-template1").html(), item),
|
|
|
button: [{
|
|
|
value: "提交",
|
...
|
...
|
@@ -259,13 +259,17 @@ $(document).on("click", ".cover-color .btn-metro", function() { |
|
|
if ($(this).hasClass("info")) {
|
|
|
$(this).removeClass("info");
|
|
|
} else {
|
|
|
$(this).addClass("info");
|
|
|
$(this).addClass("info").siblings().removeClass("info");
|
|
|
}
|
|
|
var groups = $(this).parent(".cover-color");
|
|
|
item.isDefault = groups.find("a").eq(0).hasClass("info") ? "Y" : "N";
|
|
|
item.genderCover = groups.find("a").eq(1).hasClass("info") ? "1" : "0";
|
|
|
item.genderCover = groups.find("a").eq(2).hasClass("info") ? "2" : "0";
|
|
|
console.log(item);
|
|
|
if (groups.find("a").eq(1).hasClass("info")) {
|
|
|
item.genderCover = 1;
|
|
|
} else if (item.genderCover = groups.find("a").eq(2).hasClass("info")) {
|
|
|
item.genderCover = 2;
|
|
|
} else {
|
|
|
item.genderCover = 0;
|
|
|
}
|
|
|
});
|
|
|
$(document).on("click", ".goods-color a", function() {
|
|
|
var index = $(this).data("index");
|
...
|
...
|
@@ -303,7 +307,6 @@ GOLABDATA.on("fenmian", function() { |
|
|
});
|
|
|
});
|
|
|
map.goodsImagesBoList = JSON.stringify(map.goodsImagesBoList);
|
|
|
console.log(typeof JSON.stringify(map));
|
|
|
return {
|
|
|
"goodsImagesReq": JSON.stringify(map)
|
|
|
}
|
...
|
...
|
|