|
...
|
...
|
@@ -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,
|
...
|
...
|
|