Commit 310d80b7dd9117078e2e355b79c92f4b60bb0ee2
Merge remote-tracking branch 'origin/master' into online-reserve
Showing
4 changed files
with
7 additions
and
9 deletions
| @@ -118,12 +118,6 @@ | @@ -118,12 +118,6 @@ | ||
| 118 | background: #fff; | 118 | background: #fff; |
| 119 | padding-bottom:62rpx; | 119 | padding-bottom:62rpx; |
| 120 | border-radius: 10rpx; | 120 | border-radius: 10rpx; |
| 121 | - position: fixed; | ||
| 122 | - top: 0; | ||
| 123 | - left:0; | ||
| 124 | - right:0; | ||
| 125 | - margin:50% auto; | ||
| 126 | - z-index: 9999; | ||
| 127 | /* overflow: hidden; */ | 121 | /* overflow: hidden; */ |
| 128 | } | 122 | } |
| 129 | .reduce-content-title{ | 123 | .reduce-content-title{ |
| @@ -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; |
-
Please register or login to post a comment