From c765c26eee1249b0a8d72d2b203b2ed124c2bbf6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 26 八月 2022 17:16:47 +0800
Subject: [PATCH] 2022.8.26(2)
---
pages/module_consult/consultresultmore/consultresultmore.js | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/pages/module_consult/consultresultmore/consultresultmore.js b/pages/module_consult/consultresultmore/consultresultmore.js
index 43ba971..bd1699b 100644
--- a/pages/module_consult/consultresultmore/consultresultmore.js
+++ b/pages/module_consult/consultresultmore/consultresultmore.js
@@ -18,6 +18,8 @@
onLoad(options) {
var that = this
this.getOpenerEventChannel().on('acceptDataFromOpenerPage', function (data) {
+ console.log('getOpenerEventChannel:');
+ console.log(data);
that.setData({
keyword: data.keyword,
typeId: data.typeId,
@@ -27,14 +29,14 @@
})
},
- // onReachBottom () {
- // console.log('onReachBottom');
- // if (this.cPage && this.tPage) {
- // if (this.cPage < this.tPage) {
- // this.search(this.cPage + 1)
- // }
- // }
- // },
+ onReachBottom () {
+ console.log('onReachBottom');
+ if (this.cPage && this.tPage) {
+ if (this.cPage < this.tPage) {
+ this.search(this.cPage + 1)
+ }
+ }
+ },
search (cPage = 1) {
var that = this
--
Gitblit v1.9.3