Commit d9bb6eaebde472cd0da323156eabcc13e3d948d3

Authored by wangfan
1 parent 038c571e

预约安排

Showing 1 changed file with 5 additions and 2 deletions
@@ -216,7 +216,10 @@ Page({ @@ -216,7 +216,10 @@ Page({
216 this.setData({ 216 this.setData({
217 toView: 'inToView' + _id, 217 toView: 'inToView' + _id,
218 }); 218 });
219 - 219 + this.getClassNameFlag=false;
  220 + setTimeout(res=>{
  221 + this.getClassNameFlag=true;
  222 + },800)
220 }, 223 },
221 foodCardCallback(e){ 224 foodCardCallback(e){
222 let opt = e.detail; 225 let opt = e.detail;
@@ -272,7 +275,7 @@ Page({ @@ -272,7 +275,7 @@ Page({
272 let activeId=''; 275 let activeId='';
273 Object.keys(this.scrollHeightList).forEach(tid=>{ 276 Object.keys(this.scrollHeightList).forEach(tid=>{
274 let mx=parseInt(e.detail.scrollTop)-parseInt(this.scrollHeightList[tid].top) 277 let mx=parseInt(e.detail.scrollTop)-parseInt(this.scrollHeightList[tid].top)
275 - if(mx>-120){ 278 + if(mx>-100){
276 if(mx<maxMX) { 279 if(mx<maxMX) {
277 maxMX=mx; 280 maxMX=mx;
278 activeId=tid; 281 activeId=tid;