记得上下班打卡 | git大法好,push需谨慎

Commit 2c359191 authored by 胡佳晨's avatar 胡佳晨

Merge remote-tracking branch 'origin/dev_goblin' into dev_goblin

parents e0a2bcda 4fc2e33e
...@@ -237,30 +237,30 @@ ...@@ -237,30 +237,30 @@
switch(num) { switch(num) {
case 1: case 1:
// $.modal.open('添加用户', prefix2 + "/form", '900', '320', callback); // $.modal.open('添加用户', prefix2 + "/form", '900', '320', callback);
$.modal.open('金刚位', prefix2 + "/kingArea?id=" + 1212,560,800, cancel) $.modal.open('金刚位', prefix2 + "/kingArea?id=" + 1212,900,560, cancel)
break; break;
case 5: case 5:
$.modal.open('商品搜索', prefix2 + "/searchStore?id=" + 1212,560,800, cancel) $.modal.open('商品搜索', prefix2 + "/searchStore?id=" + 1212,900,560, cancel)
// $.modal.openTab('商品搜索', prefix2 + "/searchStore?id=" + 1212) // $.modal.openTab('商品搜索', prefix2 + "/searchStore?id=" + 1212)
break; break;
case 6: case 6:
$.modal.open('顶部banner', prefix2 + "/topBanner?id=" + num,560,800, cancel) $.modal.open('顶部banner', prefix2 + "/topBanner?id=" + num,900,560, cancel)
// $.modal.openTab('顶部banner', prefix2 + "/topBanner?id=" + num) // $.modal.openTab('顶部banner', prefix2 + "/topBanner?id=" + num)
break; break;
case 2: case 2:
$.modal.open('活动banner', prefix2 + "/topBanner?id=" + num,560,800, cancel) $.modal.open('活动banner', prefix2 + "/topBanner?id=" + num,900,560, cancel)
// $.modal.openTab('活动banner', prefix2 + "/topBanner?id=" + num) // $.modal.openTab('活动banner', prefix2 + "/topBanner?id=" + num)
break; break;
case 4: case 4:
$.modal.open('魔方位', prefix2 + "/RubikArea?id=" + num,560,800, cancel) $.modal.open('魔方位', prefix2 + "/RubikArea?id=" + num,900,560, cancel)
// $.modal.openTab('魔方位', prefix2 + "/RubikArea?id=" + num) // $.modal.openTab('魔方位', prefix2 + "/RubikArea?id=" + num)
break; break;
case 7: case 7:
$.modal.open('精选商品', prefix2 + "/carefullyGoods?id=" + num,560,800, cancel) $.modal.open('精选商品', prefix2 + "/carefullyGoods?id=" + num,900,560, cancel)
// $.modal.openTab('精选商品', prefix2 + "/carefullyGoods?id=" + num) // $.modal.openTab('精选商品', prefix2 + "/carefullyGoods?id=" + num)
break; break;
case 8: case 8:
$.modal.open('新品推荐', prefix2 + "/newRecommended?id=" + num,560,800, cancel) $.modal.open('新品推荐', prefix2 + "/newRecommended?id=" + num,900,560, cancel)
} }
} }
function delSp (num) { function delSp (num) {
......
...@@ -193,6 +193,7 @@ ...@@ -193,6 +193,7 @@
$("#tall").html(''); $("#tall").html('');
$("#tags").hide(); $("#tags").hide();
$("#activeTags").show(); $("#activeTags").show();
$("#showMiddleBanner").show();
} else { } else {
type = 1 type = 1
$("#tags").show(); $("#tags").show();
...@@ -408,7 +409,7 @@ ...@@ -408,7 +409,7 @@
data.push({...obj}) data.push({...obj})
});//foreach js6章封装的方法 });//foreach js6章封装的方法
promiseMethods('/frontBanner/updateOrCreate', 'post', JSON.stringify(data), 'application/json').then(res => { promiseMethods('/frontBanner/updateOrCreate', 'post', JSON.stringify(data), 'application/json').then(res => {
// if (type == 2) { if (type == 2) {
let data = { let data = {
"mid": 1, "mid": 1,
"moudleIndexId": "708753099180072962244503", "moudleIndexId": "708753099180072962244503",
...@@ -420,7 +421,9 @@ ...@@ -420,7 +421,9 @@
"status": 0 "status": 0
}; };
return promiseMethods('/front-index/update', 'post', JSON.stringify(data), 'application/json') return promiseMethods('/front-index/update', 'post', JSON.stringify(data), 'application/json')
// } } else {
$.operate.successCallback(res);
}
}).then(res => { }).then(res => {
layer.msg("保存成功!") layer.msg("保存成功!")
$.operate.successCallback(res); $.operate.successCallback(res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment