Commit d4e34f51 by 李嘉林

小程序原生问题修改

parent 2cb5e97e
......@@ -386,6 +386,9 @@ export default {
link:linkVal,
});
}
if(res &&
res.id
){
app.fenxiaoModel.getDistributorHomepage(res).then(ele=>{
if(ele.id) {
this.getDistributorHomepageName = '我的小店';
......@@ -393,6 +396,7 @@ export default {
this.getDistributorHomepageName = '一键开店';
}
});
}
if(
res&&
res.parentSpokesmanDistributionModel == '1'&&
......
......@@ -351,9 +351,9 @@ const componentOptions = {
let linkVal = "";
if (goodsType != 1) {
if (style == "list") {
linkVal = `/goodsSearch/goodsSearch?categoryName=${categoryName}&categoryId=${categoryId}`;
linkVal = `/goods/commodityMenu?categoryName=${categoryName}&categoryId=${categoryId}`;
} else {
linkVal = `/goodsSearch/goodsSearch`;
linkVal = `/goods/commodityMenu`;
}
} else {
linkVal = `/pointShop/productList?categoryName=${categoryName}&categoryId=${categoryId}`;
......
......@@ -86,7 +86,7 @@
>
<goods-item
datas="{{datas}}"
items="{{datas.componentData.goodsList[index]}}"
items="{{goodsList[index]}}"
indexs="{{index}}"
></goods-item>
</view>
......
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