Commit d9bb6eaebde472cd0da323156eabcc13e3d948d3

Authored by wangfan
1 parent 038c571e

预约安排

Showing 1 changed file with 5 additions and 2 deletions
... ... @@ -216,7 +216,10 @@ Page({
this.setData({
toView: 'inToView' + _id,
});
this.getClassNameFlag=false;
setTimeout(res=>{
this.getClassNameFlag=true;
},800)
},
foodCardCallback(e){
let opt = e.detail;
... ... @@ -272,7 +275,7 @@ Page({
let activeId='';
Object.keys(this.scrollHeightList).forEach(tid=>{
let mx=parseInt(e.detail.scrollTop)-parseInt(this.scrollHeightList[tid].top)
if(mx>-120){
if(mx>-100){
if(mx<maxMX) {
maxMX=mx;
activeId=tid;
... ...