|
@ -187,7 +187,7 @@ |
|
|
|
|
|
|
|
|
<view class="guess-section"> |
|
|
<view class="guess-section"> |
|
|
<view v-for="(item, index) in homeNewProductList" :key="index" class="guess-item" |
|
|
<view v-for="(item, index) in homeNewProductList" :key="index" class="guess-item" |
|
|
@click="navToDetailPage1(item)"> |
|
|
@click="navToDetailPage(item)"> |
|
|
<view class="image-wrapper"> |
|
|
<view class="image-wrapper"> |
|
|
<image :src="item.pic" mode="aspectFill"></image> |
|
|
<image :src="item.pic" mode="aspectFill"></image> |
|
|
</view> |
|
|
</view> |
|
@ -213,7 +213,7 @@ |
|
|
|
|
|
|
|
|
<view class="guess-section"> |
|
|
<view class="guess-section"> |
|
|
<view v-for="(item, index) in homeRecommendProductList" :key="index" class="guess-item" |
|
|
<view v-for="(item, index) in homeRecommendProductList" :key="index" class="guess-item" |
|
|
@click="navToDetailPage1(item)"> |
|
|
@click="navToDetailPage(item)"> |
|
|
<view class="image-wrapper"> |
|
|
<view class="image-wrapper"> |
|
|
<image :src="item.pic" mode="aspectFill"></image> |
|
|
<image :src="item.pic" mode="aspectFill"></image> |
|
|
</view> |
|
|
</view> |
|
@ -502,13 +502,12 @@ |
|
|
type: 1, |
|
|
type: 1, |
|
|
newStatus:1, |
|
|
newStatus:1, |
|
|
productAttributeCategoryId: "" |
|
|
productAttributeCategoryId: "" |
|
|
};; |
|
|
}; |
|
|
let groupHotGoodsList = await Api.apiCall('get', Api.goods.goodsList, params); |
|
|
let groupHotGoodsList = await Api.apiCall('get', Api.goods.goodsList, params); |
|
|
if (groupHotGoodsList) { |
|
|
if (groupHotGoodsList) { |
|
|
console.log("新品推荐》》》》》", groupHotGoodsList.records) |
|
|
|
|
|
this.homeNewProductList = groupHotGoodsList.records; |
|
|
this.homeNewProductList = groupHotGoodsList.records; |
|
|
} |
|
|
} |
|
|
|
|
|
console.log("新品推荐》》》》》", this.homeNewProductList) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|