修复不能添加到购物车

This commit is contained in:
2019-10-29 23:16:38 +08:00
parent 17ade15332
commit ed7e3505ee
4 changed files with 4 additions and 7 deletions

View File

@ -662,10 +662,6 @@ mui.plusReady(function() {
} else {
alert('请选择商品分类!');
return
}
if(goodsType==2 & from_id!=3 & $(this).hasClass('engwc')) {
mui.alert ("助微吧商品不能加入购物车")
return;
}
// //console.log(arry_str)
// //console.log(goodsSpecId)
@ -812,7 +808,7 @@ mui.plusReady(function() {
})
$('.footer').on('tap', '#storebtn', function() {
var shopId = this.attributes["data-shopId"].nodeValue;
JZL.openWindow('storeout.html','storeout.html'+ shopId,{shopId: shopId,shopName:shopName});
JZL.openWindow('storeout.html','storeout.html'+ shopId,{shopId: shopId,shopName:shopName, from_id: from_id});
})
$('.con').on('tap', '.shop_title p', function() {
var shopId = this.attributes["data-shopId"].nodeValue;

View File

@ -241,6 +241,7 @@ mui.plusReady(function() {
function getRecommend(nowpage, pagesize) {
var recommenddata = {
from_id: from_id,
page: nowpage ? nowpage : 1,
PerPage: pagesize ? pagesize : 10
}

View File

@ -128,7 +128,7 @@ mui.plusReady(function() {
if (true == isLoading) return;
isLoading = true;
//console.log(lat);
JZL.ajax(hyhUrl('app/shopping/getHelpShops'), recommenddata, function(data) {
JZL.ajax(hyhUrl('app/shopping/getHelpSaleShops'), recommenddata, function(data) {
var html = '';
var shopLevel
if (1 == data.status) {