Chinee Inflatables

New Products

Filtered Down To 10827 Products

1 324 325 326 339
'); $.get(nextUrl, function(html){ let $html = $(html); // 自动适配你的产品列表容器 let $newItems = $html.find('.product-listing-section .row .product-item'); if ($newItems.length > 0) { $('.product-listing-section .row').first().append($newItems); // 替换分页链接为下一页 let newNextUrl = $html.find('.pagecurrentper .next').attr('href'); if (newNextUrl) { $('.pagecurrentper .next').attr('href', newNextUrl); } else { $('.pagecurrentper').hide(); $('.pagecurrentper .next').attr('href', ''); } } $('#ias-spinner').remove(); loading = false; // 加载完后检查是否需要继续加载(针对大屏幕) setTimeout(checkLastItem, 500); }).fail(function() { $('#ias-spinner').remove(); loading = false; }); } // 3. 视口检查(优化:只要看到最后一个产品就触发) function checkLastItem() { if (!isMobileOrTablet() || loading) return; let $last = $('.product-listing-section .row .product-item').last(); if ($last.length) { let rect = $last[0].getBoundingClientRect(); // 只要最后一个元素的顶部进入视口就开始加载 if (rect.top < window.innerHeight) { loadNextPage(); } } } // 4. 事件监听 $(window).on('scroll resize', function() { // 使用简单的节流 clearTimeout(window.scrollTimer); window.scrollTimer = setTimeout(checkLastItem, 100); }); $(document).ready(function() { setTimeout(checkLastItem, 1000); // 延迟执行确保页面渲染完成 }); });

Didn’t find what you’re looking for? Please Contact Us.or sale01@Chinee-Inflatable.com,If You Can Imagine It,We Can Make It.

CONTACT US
Quick Support
Kelly
CHINEE INFLATABLE LOGO

Send Enquiry

New Products

Contact Us
Please fill out the form below to request a quote or to request more information about this product and we will contact you as soon as possible.
chinee inflatable
keyword search

Send Enquiry

customize Inflatables

[my_popular_theme_menus menus="Popular Style tags,Features,Movie Themes,Play" title="Popular Themes" subtitle="Select a style to filter products"]