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