修复bug
This commit is contained in:
parent
5e2af7e198
commit
56c4611fb4
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user