�
            setTimeout(() => {
                preloadAdjacentSlides(index);
                // 管理缓存大小
                manageCacheSize();
            }, 300);

            const stats = getCacheStats();
            console.log(`切换到幻灯片 ${index + 1}，缓存统计:`, stats);
        }

        // 预加载相邻幻灯片
        function preloadAdjacentSlides(currentIndex) {
            const preloadIndices = [];

            // 预加载策略：当前页前后各2页
            fo