chengjie 3 months ago
parent
commit
00a63619fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/main/mainlist.js

+ 1 - 1
pages/main/mainlist.js

@@ -1707,7 +1707,7 @@ Page({
1707
       // 找出当前在视口中可见的项
1707
       // 找出当前在视口中可见的项
1708
       for(var i = 0; i < list.length; i++) {
1708
       for(var i = 0; i < list.length; i++) {
1709
         var item = res[i];
1709
         var item = res[i];
1710
-        if(item && item.top < screenHeight && item.bottom > 0) {
1710
+        if(item && item.top < screenHeight-120 && item.bottom > 120) {
1711
           visibleItems.push({
1711
           visibleItems.push({
1712
             index: i,
1712
             index: i,
1713
             top: item.top,
1713
             top: item.top,