|
|
|
@ -194,15 +194,15 @@ Page({ |
|
|
|
/** |
|
|
|
* 页面上拉触底事件的处理函数 |
|
|
|
*/ |
|
|
|
onReachBottom: function () { |
|
|
|
var that = this; |
|
|
|
if (this.data.currentTab === 0) { |
|
|
|
UnCheckPageIndex = UnCheckPageIndex + 1; |
|
|
|
getUnCheckOrderList(that, UnCheckPageIndex, UnCheckPageSize); |
|
|
|
} else { |
|
|
|
CheckedPageIndex = CheckedPageIndex + 1; |
|
|
|
getCheckedOrderList(that, CheckedPageIndex, CheckedPageSize); |
|
|
|
} |
|
|
|
// onReachBottom: function () {
|
|
|
|
// var that = this;
|
|
|
|
// if (this.data.currentTab === 0) {
|
|
|
|
// UnCheckPageIndex = UnCheckPageIndex + 1;
|
|
|
|
// getUnCheckOrderList(that, UnCheckPageIndex, UnCheckPageSize);
|
|
|
|
// } else {
|
|
|
|
// CheckedPageIndex = CheckedPageIndex + 1;
|
|
|
|
// getCheckedOrderList(that, CheckedPageIndex, CheckedPageSize);
|
|
|
|
// }
|
|
|
|
|
|
|
|
}, |
|
|
|
// },
|
|
|
|
}) |