|
@@ -26,7 +26,8 @@ Page({
|
|
|
size: 10,
|
|
|
total: 0,
|
|
|
changeMeet(e) {
|
|
|
- console.log(e.detail)
|
|
|
+ this.page = 1;
|
|
|
+ this.getPhone(e.detail.name);
|
|
|
},
|
|
|
imageLoad(e) {
|
|
|
const {
|
|
@@ -63,7 +64,6 @@ Page({
|
|
|
size,
|
|
|
id
|
|
|
}).then(res => {
|
|
|
- console.log(res)
|
|
|
this.page += 1;
|
|
|
this.total = res.total;
|
|
|
this.setData({
|
|
@@ -79,7 +79,7 @@ Page({
|
|
|
api.getStroke().then(strokeList => {
|
|
|
const item = strokeList[0] || {}
|
|
|
this.setData({
|
|
|
- actMeet: item.id,
|
|
|
+ actMeet: item.id + "",
|
|
|
tabs: strokeList
|
|
|
})
|
|
|
this.getPhone(item.id);
|
|
@@ -125,7 +125,7 @@ Page({
|
|
|
* 页面上拉触底事件的处理函数
|
|
|
*/
|
|
|
onReachBottom() {
|
|
|
- if( this.total <= this.data.images.length) return
|
|
|
+ if (this.total <= this.data.images.length) return
|
|
|
this.getPhone(this.data.actMeet);
|
|
|
},
|
|
|
|