diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index a1c4626..a587e52 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -295,8 +295,8 @@ Page({ go_cate:function(t){ var cid= t.currentTarget.dataset.cid; var pid = t.currentTarget.dataset.pid; - console.log("是这个吗", pid); - var lurl = "/pages/goods/goodsList/goodsList?cat_id=" + cid + "&parent_id="+pid; + console.log("是这个吗", pid); + var lurl = "/pages/goods/goodsList/goodsList?cat_id=" + cid +"&pid="+pid; wx.navigateTo({ url: lurl}); }, diff --git a/pages/goods/categoryList/categoryList.wxml b/pages/goods/categoryList/categoryList.wxml index a87ee39..fc7bfbc 100644 --- a/pages/goods/categoryList/categoryList.wxml +++ b/pages/goods/categoryList/categoryList.wxml @@ -218,7 +218,7 @@ - + {{goods.items.name}} @@ -245,7 +245,7 @@ - + {{item.name}}