Showing
3 changed files
with
5 additions
and
3 deletions
| @@ -278,7 +278,7 @@ Page({ | @@ -278,7 +278,7 @@ Page({ | ||
| 278 | } | 278 | } |
| 279 | } | 279 | } |
| 280 | console.log('class_name-activeId',activeId,activeTop); | 280 | console.log('class_name-activeId',activeId,activeTop); |
| 281 | - if(activeId==that.data.cookbooklist[0].id && activeTop<150){ | 281 | + if(activeTop>32){ |
| 282 | activeId=''; | 282 | activeId=''; |
| 283 | } | 283 | } |
| 284 | success(activeId) | 284 | success(activeId) |
| @@ -256,7 +256,9 @@ | @@ -256,7 +256,9 @@ | ||
| 256 | } | 256 | } |
| 257 | .class_name-active{ | 257 | .class_name-active{ |
| 258 | position: fixed; | 258 | position: fixed; |
| 259 | - top:120rpx; | 259 | + top:100rpx; |
| 260 | z-index: 999; | 260 | z-index: 999; |
| 261 | left:200rpx; | 261 | left:200rpx; |
| 262 | + height: 140rpx; | ||
| 263 | + line-height: 140rpx; | ||
| 262 | } | 264 | } |
-
Please register or login to post a comment