修复店铺商品加载错误的问题
This commit is contained in:
parent
b8245eb162
commit
d1050cc01d
@ -867,11 +867,12 @@
|
||||
const query = uni.createSelectorQuery().in(this);
|
||||
query.select('#goods').boundingClientRect(data => {
|
||||
if (data.bottom < 1500 && data.top < 0) {
|
||||
if (this.loadend == false) {
|
||||
this.getProductSpu()
|
||||
} else {
|
||||
this.getGoods();
|
||||
}
|
||||
this.getGoods();
|
||||
// if (this.loadend == false) {
|
||||
// this.getProductSpu()
|
||||
// } else {;
|
||||
// this.getGoods();
|
||||
// }
|
||||
}
|
||||
}).exec();
|
||||
// 模拟触底刷新
|
||||
@ -1008,6 +1009,7 @@
|
||||
|
||||
if (res.data.business_status == 2) {
|
||||
this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3
|
||||
this.type=7
|
||||
} else {
|
||||
this.tabs = this.tabs5
|
||||
this.type=7
|
||||
|
Loading…
x
Reference in New Issue
Block a user