修复不能添加到购物车
This commit is contained in:
parent
17ade15332
commit
ed7e3505ee
@ -48,7 +48,7 @@
|
|||||||
<!-- <span>逛商都</span> -->
|
<!-- <span>逛商都</span> -->
|
||||||
</a>
|
</a>
|
||||||
<a class="mui-tab-item" href="templete/zhugouba.html" data-num='2'>
|
<a class="mui-tab-item" href="templete/zhugouba.html" data-num='2'>
|
||||||
<span class="mui-icon"><img class="nav_out img" src="" /><img class="nav_in" src="" /></span>
|
<span class="mui-icon"><img class="img" src="" /></span>
|
||||||
<!-- <span>助购吧</span> -->
|
<!-- <span>助购吧</span> -->
|
||||||
</a>
|
</a>
|
||||||
<a class="mui-tab-item" href="templete/zhuweiba.html" data-num='3'>
|
<a class="mui-tab-item" href="templete/zhuweiba.html" data-num='3'>
|
||||||
|
@ -662,10 +662,6 @@ mui.plusReady(function() {
|
|||||||
} else {
|
} else {
|
||||||
alert('请选择商品分类!');
|
alert('请选择商品分类!');
|
||||||
return
|
return
|
||||||
}
|
|
||||||
if(goodsType==2 & from_id!=3 & $(this).hasClass('engwc')) {
|
|
||||||
mui.alert ("助微吧商品不能加入购物车")
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
// //console.log(arry_str)
|
// //console.log(arry_str)
|
||||||
// //console.log(goodsSpecId)
|
// //console.log(goodsSpecId)
|
||||||
@ -812,7 +808,7 @@ mui.plusReady(function() {
|
|||||||
})
|
})
|
||||||
$('.footer').on('tap', '#storebtn', function() {
|
$('.footer').on('tap', '#storebtn', function() {
|
||||||
var shopId = this.attributes["data-shopId"].nodeValue;
|
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() {
|
$('.con').on('tap', '.shop_title p', function() {
|
||||||
var shopId = this.attributes["data-shopId"].nodeValue;
|
var shopId = this.attributes["data-shopId"].nodeValue;
|
||||||
|
@ -241,6 +241,7 @@ mui.plusReady(function() {
|
|||||||
|
|
||||||
function getRecommend(nowpage, pagesize) {
|
function getRecommend(nowpage, pagesize) {
|
||||||
var recommenddata = {
|
var recommenddata = {
|
||||||
|
from_id: from_id,
|
||||||
page: nowpage ? nowpage : 1,
|
page: nowpage ? nowpage : 1,
|
||||||
PerPage: pagesize ? pagesize : 10
|
PerPage: pagesize ? pagesize : 10
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ mui.plusReady(function() {
|
|||||||
if (true == isLoading) return;
|
if (true == isLoading) return;
|
||||||
isLoading = true;
|
isLoading = true;
|
||||||
//console.log(lat);
|
//console.log(lat);
|
||||||
JZL.ajax(hyhUrl('app/shopping/getHelpShops'), recommenddata, function(data) {
|
JZL.ajax(hyhUrl('app/shopping/getHelpSaleShops'), recommenddata, function(data) {
|
||||||
var html = '';
|
var html = '';
|
||||||
var shopLevel
|
var shopLevel
|
||||||
if (1 == data.status) {
|
if (1 == data.status) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user