Showing
1 changed file
with
0 additions
and
8 deletions
@@ -295,9 +295,6 @@ myScroll.on('scroll', function() { | @@ -295,9 +295,6 @@ myScroll.on('scroll', function() { | ||
295 | } | 295 | } |
296 | 296 | ||
297 | if (sTop < scH) { | 297 | if (sTop < scH) { |
298 | - // console.log(sTop); | ||
299 | - // console.log(scH); | ||
300 | - | ||
301 | if (!$nav2.hasClass('fixed-top')) { | 298 | if (!$nav2.hasClass('fixed-top')) { |
302 | $nav2.addClass('fixed-top') | 299 | $nav2.addClass('fixed-top') |
303 | .removeClass('absolute') | 300 | .removeClass('absolute') |
@@ -416,7 +413,6 @@ function search(opt) { | @@ -416,7 +413,6 @@ function search(opt) { | ||
416 | nav = navInfo[navType]; | 413 | nav = navInfo[navType]; |
417 | 414 | ||
418 | page = nav.page + 1; | 415 | page = nav.page + 1; |
419 | - console.log(page) | ||
420 | if (nav.reload) { | 416 | if (nav.reload) { |
421 | page = 1; | 417 | page = 1; |
422 | } else if (nav.end) { | 418 | } else if (nav.end) { |
@@ -431,8 +427,6 @@ function search(opt) { | @@ -431,8 +427,6 @@ function search(opt) { | ||
431 | page: page | 427 | page: page |
432 | }); | 428 | }); |
433 | 429 | ||
434 | - console.log(page) | ||
435 | - | ||
436 | searching = true; | 430 | searching = true; |
437 | loading.showLoadingMask(); | 431 | loading.showLoadingMask(); |
438 | 432 | ||
@@ -745,10 +739,8 @@ function postCollect(info) { | @@ -745,10 +739,8 @@ function postCollect(info) { | ||
745 | 739 | ||
746 | if (data.code === 200){ | 740 | if (data.code === 200){ |
747 | if ($('#collect').hasClass('alreadyCollect')) { | 741 | if ($('#collect').hasClass('alreadyCollect')) { |
748 | - console.log(1) | ||
749 | $('#collect').attr('class', 'notCollect'); | 742 | $('#collect').attr('class', 'notCollect'); |
750 | }else{ | 743 | }else{ |
751 | - console.log(0) | ||
752 | $('#collect').attr('class', 'alreadyCollect'); | 744 | $('#collect').attr('class', 'alreadyCollect'); |
753 | } | 745 | } |
754 | } | 746 | } |
-
Please register or login to post a comment