Commit d7786ae2 by doszhang

dos

parent e321066b
...@@ -134,7 +134,7 @@ function showRead(event) { ...@@ -134,7 +134,7 @@ function showRead(event) {
function pageOnScroll(event) { function pageOnScroll(event) {
const top = $('.wrap').scrollTop(); const top = $('.wrap').scrollTop();
console.log(top); console.log(top);
if (top > 600) { if (top > 600 && top < 2800) {
$('.block2').show().addClass('animate'); $('.block2').show().addClass('animate');
} else if (top > 2800) { } else if (top > 2800) {
$('.block3').show().addClass('animate'); $('.block3').show().addClass('animate');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment