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