Commit aad7c273 by 李嘉林

查看更多跳转分类

parent c21e0acf
...@@ -350,12 +350,8 @@ const componentOptions = { ...@@ -350,12 +350,8 @@ const componentOptions = {
} = this.data.datas.componentData; } = this.data.datas.componentData;
let linkVal = ""; let linkVal = "";
if (goodsType != 1) { if (goodsType != 1) {
if (style == "list") {
linkVal = `/goods/commodityMenu?categoryName=${categoryName}&categoryId=${categoryId}`; linkVal = `/goods/commodityMenu?categoryName=${categoryName}&categoryId=${categoryId}`;
} else { } else {
linkVal = `/goods/commodityMenu`;
}
} else {
linkVal = `/pointShop/productList?categoryName=${categoryName}&categoryId=${categoryId}`; linkVal = `/pointShop/productList?categoryName=${categoryName}&categoryId=${categoryId}`;
} }
app.trackCpn(e, this.data.datas.componentName, 'ViewMore查看更多') app.trackCpn(e, this.data.datas.componentName, 'ViewMore查看更多')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment