...
|
...
|
@@ -18,7 +18,6 @@ Page({ |
|
|
limit: 20,
|
|
|
totalPage: 1,
|
|
|
allLoaded: false,
|
|
|
showNoMore: false,
|
|
|
productList: [],
|
|
|
totalZero: false,
|
|
|
windowHeight
|
...
|
...
|
@@ -83,7 +82,7 @@ Page({ |
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
showLoading: true
|
|
|
loading: true
|
|
|
});
|
|
|
|
|
|
Object.assign(params, this.data.orgOps, {
|
...
|
...
|
@@ -121,7 +120,7 @@ Page({ |
|
|
this.data.totalPage = res.data && res.data.page_total || 1;
|
|
|
|
|
|
this.setData({
|
|
|
showLoading: false,
|
|
|
loading: false,
|
|
|
allLoaded: this.data.page > this.data.totalPage,
|
|
|
productList: this.data.productList.concat(list),
|
|
|
totalZero: this.data.productList.concat(list).length
|
...
|
...
|
|