diff --git a/js/shoppingcart.js b/js/shoppingcart.js index 8a82562..34ead0f 100644 --- a/js/shoppingcart.js +++ b/js/shoppingcart.js @@ -573,7 +573,7 @@ mui.plusReady(function() { }, extras: { // data_id: data_id - + from: from_id, type: 0 // ..... //自定义扩展参数,可以用来处理页面间传值 diff --git a/js/zhugouba.js b/js/zhugouba.js index 21e7641..77f6f67 100644 --- a/js/zhugouba.js +++ b/js/zhugouba.js @@ -155,7 +155,7 @@ mui.plusReady(function() { $.each(this.goods, function(idx, ele) { html += '
¥' + this.shopPrice + '
' }) } @@ -218,7 +218,7 @@ function getRecommend(page, pagesize) { $.each(data.Rows, function() { html += '
' + this.goodsName + '
¥' + this.shopPrice + ' 满减
' + this.saleNum + @@ -320,7 +320,7 @@ $('.header').on('blur', '#keyword', function() { $(".header").on('tap', '.search button', function(e) { var searchName = $('#keyword').val(); // JZL.openWindow('shopsList.html', 'shopsList.html', {data_keyword: searchName,goodsType:2}); - JZL.openWindow('goodslist.html', 'goodslist.html', {data_keyword: searchName,goodsType :2, from_id:3}); + JZL.openWindow('goodslist.html', 'goodslist.html', {data_keyword: searchName,goodsType :3, from_id:3}); $('#keyword').val("") }); //跳转商品详情页