From 405eeba2991a2cffd01611aaac76e10259314317 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sun, 22 Sep 2019 22:10:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=88=86=E7=B1=BB?= =?UTF-8?q?=EF=BC=8C=E8=81=94=E5=8A=A8=E6=B7=BB=E5=8A=A0=E5=88=B0=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/shoppingcart.js | 2 +- js/zhugouba.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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("") }); //跳转商品详情页