From a607b625cd57f05808bc98fc77c0c4d00172cb18 Mon Sep 17 00:00:00 2001 From: cheng.xu Date: Thu, 10 Oct 2019 14:02:18 +0800 Subject: [PATCH] 商品分类修改 --- pages/goods/categoryList/categoryList.js | 4 ++-- pages/goods/categoryList/categoryList.wxml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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}} -- libgit2 0.21.4