首页面新品、推荐跳转问题
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
|
||||
<view class="guess-section">
|
||||
<view v-for="(item, index) in homeNewProductList" :key="index" class="guess-item"
|
||||
@click="navToDetailPage1(item)">
|
||||
@click="navToDetailPage(item)">
|
||||
<view class="image-wrapper">
|
||||
<image :src="item.pic" mode="aspectFill"></image>
|
||||
</view>
|
||||
@@ -213,7 +213,7 @@
|
||||
|
||||
<view class="guess-section">
|
||||
<view v-for="(item, index) in homeRecommendProductList" :key="index" class="guess-item"
|
||||
@click="navToDetailPage1(item)">
|
||||
@click="navToDetailPage(item)">
|
||||
<view class="image-wrapper">
|
||||
<image :src="item.pic" mode="aspectFill"></image>
|
||||
</view>
|
||||
@@ -502,13 +502,12 @@
|
||||
type: 1,
|
||||
newStatus:1,
|
||||
productAttributeCategoryId: ""
|
||||
};;
|
||||
};
|
||||
let groupHotGoodsList = await Api.apiCall('get', Api.goods.goodsList, params);
|
||||
if (groupHotGoodsList) {
|
||||
console.log("新品推荐》》》》》", groupHotGoodsList.records)
|
||||
this.homeNewProductList = groupHotGoodsList.records;
|
||||
}
|
||||
|
||||
console.log("新品推荐》》》》》", this.homeNewProductList)
|
||||
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user