Commit ad80515e31db384392490c81456e340da1bec0f6

Authored by wangfan
1 parent 2f702978

快速预定

Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -267,7 +267,7 @@ Page({
bindscroll(e){
if(!this.getClassNameFlag) return;
this.getClassNameFlag=false;
console.log('this.scrollHeightList',this.scrollHeightList)
//console.log('this.scrollHeightList',this.scrollHeightList)
let maxMX=9999999;
let activeId='';
Object.keys(this.scrollHeightList).forEach(tid=>{
... ... @@ -279,7 +279,7 @@ Page({
}
}
})
if(activeId){
if(activeId && this.data.activeId!=activeId){
console.log(activeId, this.scrollHeightList[activeId].dataset.name)
this.setData({
activeId:activeId,
... ...