チニー・インフレータブルズ

新製品

フィルタリング 10827 製品紹介

1 ... 323 324 325 ... 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); // 延迟执行确保页面渲染完成 }); });

お探しのものは見つかりませんでしたか?お願い お問い合わせまたは sale01@Chinee-Inflatable.comもしあなたがそれを想像できるなら、私たちはそれを作ることができます。

お問い合わせ
クイックサポート
ケリー
チニー・インフレータブル・ロゴ

お問い合わせを送信

新製品

お問い合わせ
お見積もりのご依頼、またはこの製品に関する詳細情報をご希望の方は、以下のフォームにご記入ください。
チニー・インフレータブル
キーワード検索

お問い合わせを送信

インフレータブルをカスタマイズする

[my_popular_theme_menus menus="人気スタイルタグ,特集,映画テーマ,再生" title="人気テーマ" subtitle="スタイルを選択して商品を絞り込む"].