修复bug

This commit is contained in:
weipengfei 2024-04-12 10:11:44 +08:00
parent 5e2af7e198
commit 56c4611fb4
2 changed files with 360 additions and 360 deletions

View File

@ -95,7 +95,7 @@
<image :src="`${domain}/static/images/noCart.png`"></image>
<view>未搜索到对应商品</view>
</view>
<recommend v-if="recommend_switch == 1 && mer_id != 259" :hostProduct="hostProduct"></recommend>
<!-- <recommend v-if="recommend_switch == 1 && mer_id != 259" :hostProduct="hostProduct"></recommend> -->
</view>
</block>
<rightSlider v-if="rightBox" :status="rightBox" :price_on="price_on" :price_off="price_off" :brandList="brandList" @confirm="confirm" @close="close"></rightSlider>
@ -385,14 +385,14 @@
get_host_product: function() {
let that = this;
if (that.hotScroll) return
getProductHot(
that.hotPage,
that.hotLimit,
).then(res => {
that.hotPage++
that.hotScroll = res.data.length < that.hotLimit
that.hostProduct = that.hostProduct.concat(res.data.list)
});
// getProductHot(
// that.hotPage,
// that.hotLimit,
// ).then(res => {
// that.hotPage++
// that.hotScroll = res.data.length < that.hotLimit
// that.hostProduct = that.hostProduct.concat(res.data.list)
// });
},
//
set_where: function(e) {