ZUMIMALL No Drilling Wireless Security Camera -F5
/* Battery Powered Wire-Fee添加针对第五部分轮播的特殊样式 */ #carousel1.carousel-desktop .carousel-item { min-width: 25%; /* 一行显示4个 */ } /* 桌面端隐藏箭头 */ @media (min-width: 768px) { .carousel-contro l.mobile-only { display: none; } } /* 手机端显示箭头 */ @media (max-width: 767px) { .carousel-control.mobile-only { display: flex; } #carousel1.carousel-desktop .carousel-item { min-width: 100%; /* 手机端全宽 */ } } /* 全局样式 - 使用品牌色调 */ :root { --primary-dark-blue: #476C94; --primary-teal: #2D9EA1; --primary-light-blue: #97C5EC; --text-color: #333; --light-bg: #f9f9f9; --border-radius: 8px; --box-shadow: 0 4px 12px rgba(71, 108, 148, 0.1); } /* 基础样式 */ body { font-family: 'Arial', sans-serif; color: var(--text-color); line-height: 1.6; margin: 0; padding: 0; } .product-section { max-width: 90%; margin: 40px auto; padding: 0 5%; } /* 折叠面板样式 - 更新版 */ .collapsible { background-color: white; color: var(--primary-dark-blue); cursor: pointer; padding: 20px; width: 100%; border: 1px solid #e0e0e0; text-align: left; outline: none; font-size: 18px; font-weight: bold; border-radius: var(--border-radius); margin-bottom: 10px; position: relative; transition: all 0.3s ease; box-shadow: var(--box-shadow); display: flex; justify-content: space-between; align-items: center; } .collapsible:hover { background-color: var(--light-bg); border-color: var(--primary-light-blue); } .active, .collapsible.active:hover { background-color: var(--light-bg); border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: var(--primary-light-blue); } .collapsible .toggle-icon { transition: transform 0.3s ease; color: var(--primary-teal); font-weight: bold; margin-left: 10px; } .active .toggle-icon { transform: rotate(90deg); } .content { padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: white; border: 1px solid #e0e0e0; border-top: none; border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); box-shadow: var(--box-shadow); } .content-inner { padding: 20px; } /* What's in the Box 特殊样式 */ .whats-in-box { display: flex; flex-wrap: wrap; } .whats-in-box-img { flex: 0 0 70%; max-width: 70%; padding-right: 20px; } .whats-in-box-text { flex: 0 0 30%; max-width: 30%; padding-left: 10px; } .whats-in-box-img img { width: 100%; height: auto; border-radius: var(--border-radius); } /* 响应式图片容器 */ .responsive-image { width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); } .desktop-img { display: block; } .mobile-img { display: none; } /* 视频部分样式 */ .video-section { text-align: center; } .video-container { position: relative; padding-bottom: 56.25%; /* 16:9 比例 */ height: 0; overflow: hidden; max-width: 1800px; margin: 0 auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); } .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } /* 图片部分样式 */ .image-section { text-align: center; } .image-section img { max-width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); } .section-title { font-size: 28px; font-weight: bold; margin-bottom: 20px; color: var(--primary-dark-blue); text-align: center; font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif; position: relative; padding-bottom: 10px; } .section-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary-teal); } .section-subtitle { font-size: 18px; margin-bottom: 30px; text-align: center; color: var(--text-color); } /* 折叠内容带图片的样式 */ .feature-item { margin-bottom: 30px; } .feature-text { margin-bottom: 20px; color: var(--text-color); } /* 轮播图样式 */ .carousel { position: relative; max-width: 100%; margin: 50px auto; overflow: hidden; border-radius: var(--border-radius); } .carousel-inner { display: flex; transition: transform 0.5s ease; } .carousel-item { min-width: 100%; box-sizing: border-box; padding: 0 10px; } .carousel-desktop .carousel-item { min-width: 50%; } .carousel img { width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); } .carousel-caption { padding: 20px 15px; text-align: center; } .carousel-caption h3 { font-weight: bold; margin-bottom: 10px; color: var(--primary-dark-blue); font-size: 18px; } .carousel-caption p { color: var(--text-color); } .carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--primary-teal); color: white; border: none; padding: 12px; cursor: pointer; border-radius: 50%; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; opacity: 0.9; transition: all 0.3s; } .carousel-control:hover { opacity: 1; background-color: var(--primary-dark-blue); } .carousel-control.prev { left: 15px; } .carousel-control.next { right: 15px; } /* 轮播分页指示器 */ .carousel-indicators { display: flex; justify-content: center; margin-top: 15px; } .carousel-indicator { width: 10px; height: 10px; border-radius: 50%; background-color: #ccc; margin: 0 5px; cursor: pointer; transition: background-color 0.3s; } .carousel-indicator.active { background-color: var(--primary-teal); } /* 多图片带标题部分 */ .multi-image-section { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 50px 0; } .multi-image-item { width: 100%; margin-bottom: 40px; text-align: center; } .multi-image-item img { max-width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); transition: transform 0.3s; } .multi-image-item img:hover { transform: translateY(-5px); } .multi-image-title { font-size: 20px; font-weight: bold; margin-bottom: 15px; color: var(--primary-dark-blue); position: relative; padding-bottom: 10px; } .multi-image-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 2px; background: var(--primary-teal); } /* 按钮样式 */ .cta-button { display: block; width: 100%; max-width: 400px; margin: 50px auto; padding: 16px; background-color: var(--primary-teal); color: white; text-align: center; font-size: 18px; font-weight: bold; border: none; border-radius: var(--border-radius); cursor: pointer; text-decoration: none; transition: all 0.3s; box-shadow: 0 4px 8px rgba(45, 158, 161, 0.3); } .cta-button:hover { background-color: var(--primary-dark-blue); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(45, 158, 161, 0.4); } /* 响应式调整 - 修改手机端样式 */ @media (max-width: 767px) { body { padding: 0; } .product-section { max-width: 100%; padding: 0 2px; margin: 5px auto; } .section-title { font-size: 22px; margin-bottom: 10px; } .section-subtitle { font-size: 16px; margin-bottom: 15px; } .carousel-desktop .carousel-item { min-width: 100%; } .collapsible { padding: 12px 8px; font-size: 16px; margin-bottom: 5px; } .content-inner { padding: 10px 8px; } .feature-item { margin-bottom: 15px; } .carousel { margin: 15px auto; } .carousel-caption { padding: 10px 5px; } .carousel-caption h3 { font-size: 16px; margin-bottom: 5px; } .carousel-caption p { font-size: 14px; } .multi-image-section { margin: 15px 0; gap: 15px; } .multi-image-item { margin-bottom: 15px; } .whats-in-box-img, .whats-in-box-text { flex: 0 0 100%; max-width: 100%; padding: 0; } .whats-in-box-text { margin-top: 10px; } .cta-button { margin: 15px auto; padding: 12px; font-size: 16px; } /* 切换图片显示 */ .desktop-img { display: none; } .mobile-img { display: block; } } @media (min-width: 768px) { .multi-image-item { width: 32%; } /* 确保桌面端显示正确的图片 */ .desktop-img { display: block; } .mobile-img { display: none; } } About this item › 【Updated! No Drilling! Magnetic Mount】: The security cameras wireless outdoor now includes a magnetic mount for easy, no-drill installation—perfect for bedrooms, front doors, yards, or garages. The design blends with any decor, making it ideal for indoor use without damaging walls. (Magnetic stand included) 【130° Angle View & 2K Color Night Vision & Spotlight】: The outdoor camera wireless battery powered features a new 2K lens, offering 4x the clarity of 1080P cameras with wider coverage. Outdoor security camera with advanced infrared light and spotlight, enjoy sharp color night vision even in low light 【2.4G WiFi & Wireless & 2-Way Talk & Instant Siren】】: This battery-powered outdoor security camera is completely wireless, eliminating the need for cables and frequent charging. It offers long standby time with continuous recording capabilities. The built-in antenna ensures a stable 2.4G WiFi connection(Note: Does not support 5G Wi-Fi) 【7-Day Loop Cloud Storage & Live View & Multi-People Share】: Get a 7-day cloud loop recording with a 6-second video, Your privacy is safeguarded through encrypted cloud. You can also use a max 128GB Memory card (not included) for storage. Stay informed with live streaming, and share access with multiple devices so your entire family can monitor together 【AI Analysis/Smart Assistant Compatible/Custom Mode】: The 2.4G WiFi camera outdoor wireless uses AI analysis to identify people, pets, vehicles, and packages. support customize up to 6 detection areas for better accuracy and fewer false alarms. Quickly activate the siren to deter intruders within 1 second. Compatible with Alexa for a seamless smart home experience 【2 Install Ways & IP66 Waterproof】: Outdoor cameras for home security designed with IP66 waterproof materials, the standard operating temperature of -4°F to 120°F (-20°C to 50°C ) can show excellent performance. can be installed using either a magnetic mount or bracket, allowing you to place it anywhere without a power cord 【Two-Way Talk & Smart Instant Siren】: This wireless outdoor camera features a built-in microphone and speaker for real-time, two-way audio. Use the ZUMIMALL app to warn off intruders, screen visitors, or communicate with family and friends. The siren, flashing white light, and two-way talk provide effective ways to deter unwanted visitors (function() { var cover = document.getElementById('video-cover'); var iframe = document.getElementById('youtube-player'); if (cover && iframe) { cover.addEventListener('click', function() { // 隐藏封面 cover.style.display = 'none'; // 显示iframe iframe.style.display = 'block'; // 可选: 通过iframe API自动播放 (注意: 某些浏览器可能需要用户手势, 点击事件已满足) // 如果src尚未包含autoplay, 可以重新设置src追加autoplay (但点击后一般浏览器允许视频播放) // 直接播放最简单方法: 重新加载src加上autoplay参数 // 但为了避免重新加载, 可以尝试使用YouTube API, 为了简化, 我们直接重新设置src使其自动播放 // 注意: 如果用户点击封面时, iframe的src尚未包含autoplay, 我们可以快速更新src: var currentSrc = iframe.src; // 检查是否已有autoplay, 若无则添加 if (currentSrc.indexOf('autoplay=1') === -1) { // 保留原参数, 追加autoplay=1 if (currentSrc.indexOf('?') > -1) { iframe.src = currentSrc + '&autoplay=1'; } else { iframe.src = currentSrc + '?autoplay=1'; } } }); } })(); @media screen and (max-width: 768px) { div[style*="max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 10%;"] { padding: 0 !important; /* 移除左右留白 */ max-width: 100% !important; /* 允许宽度占满 */ } } ZUMIMALL 2.4G WiFi Security Camera-F5 Wireless Outdoor Battery&Solar Powered PIR Detection& Al Anlysis › Quickly identify detected objects and reduce false alerts Two-Way Talk › Two-way audio lets you talk to visitors or delivery drivers—safely from your phone. Spotlights and Sound Alarms › Deter Danger with a Flash and a Siren! Flexible Storage Options › Choose between basic cloud storage with 7-day recording loops or Local storage via memory card for more flexible storage. Customize Protection Areas › Customize zones to focus on your most vital areas and receive alerts you care about. Advanced Features Indoor & Outdoor Wire-free design makes it easily mountable with a quick setup process, taking just a few minutes. Manage Recordings You can easily view,download,and share everything that happened on any specific day IP66 Weatherproof Suitable for outdoor use under all weather conditions Your Privacy,Our Priority Protects your family's privacy with encrypted video. two-factor authenticatlon,and advanced data security. 2.4GHz WiFi The ZUMIMALL F5 is designed to use the 2.4GHz WiFi band for long-range connectivity and flexible mounting options Color Night Vision True 3MP with spotlight for full-color night vision. See details clearly,even in darkness. Multi-Camera Management Watch 4 cameras lives at the same time Multi-Users Sharing Easily grant unlimited camera access to family and friends with just one QR code,ensuring better monitoring and security. Voice Assistant Linkage Voice control via Alexa/Google,seamlessly connect to the smart home. ❮ ❯ Easy to install, Set up in Minutes. What's in the Box(F5) › Camera*1Camera Backet*1Tip Sticker*1Instruction Manual*1Data Cable*1Screw Package*1Magnetic Mount*13MP Tape*2 Resolution › Image sensor 300WColor Sensor 1/2.7CMOS Audio Input/output Built-in microphone and speaker Lens 3.1mm Angle of view 130 degree Day & night Electronic(IR-CUT filter with auto switch) Video compression H.264 Bit rate 16Kbps~2Mbps Dual stream Yes Image resolution 2K Frame rate 25fps Alarm trigger Intelligent motion detection, support PIR Design › Wireless Security WEP, WPA, WPA2 Remote wakeup Support Wireless 2.4G WIFI(IEEE802.11b/g/n) Supported mobile phone OS iOS 9 up,Adroid 4.0 up Security User authentication,software encryption Power › Battery 5200mA, 2pcs rechargeable 18650 batteries included Standby consumption 500µA Work consumption 220mA Standy time 6 months 6 months Working time 3 months(15 times wake up per day) Operating temperature −20 °C to 50 °C Power supply Support, optional, DC 5V/2A IR distance Night visibility up to 10m Item Weight 210g Item Dimension 58*54*107mm Package Weight 400g Package Dimension 138*128*70mm Brand ZUMIMALL APP ZUMIMALL /* Stacked Foldable Container Styles */ .stacked-foldable-container { width: 100%; max-width: 1200px; margin: 30px auto; font-family: 'Arial', sans-serif; } .stacked-foldable { border: 1px solid #e0e0e0; border-radius: var(--border-radius); margin-bottom: 10px; overflow: hidden; box-shadow: var(--box-shadow); background-color: white; } .stacked-foldable-summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; cursor: pointer; list-style: none; font-weight: bold; color: var(--primary-dark-blue); background-color: white; transition: all 0.3s; } .stacked-foldable-summary:hover { background-color: var(--light-bg); } .stacked-foldable-title { font-size: 16px; } .stacked-foldable-icon { transition: transform 0.3s; color: var(--primary-teal); font-weight: bold; font-size: 18px; } .stacked-foldable[open] .stacked-foldable-icon { transform: rotate(90deg); } .stacked-foldable-content { padding: 15px 20px; border-top: 1px solid #e0e0e0; } .stacked-foldable-row { display: flex; padding: 8px 0; border-bottom: 1px solid #f0f0f0; } .stacked-foldable-row:last-child { border-bottom: none; } .stacked-foldable-col { flex: 1; font-size: 14px; color: var(--text-color); } .stacked-foldable-col:first-child { font-weight: 500; color: #666; } @media (max-width: 767px) { .stacked-foldable-summary { padding: 12px 15px; } .stacked-foldable-title { font-size: 15px; } .stacked-foldable-content { padding: 10px 15px; } .stacked-foldable-row { flex-direction: column; } .stacked-foldable-col { padding: 3px 0; } } ZUMIMALL Cloud Storage › ZUMIMALL AI Services › Product Manual Download App Download APK iOS /* Accordion Container Styles */ .accordion-container { width: 100%; max-width: 1500px; margin: 30px auto; } .accordion { width: 100%; border: none; border-bottom: 1px solid #e0e0e0; outline: none; transition: 0.3s; background-color: white; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; text-align: left; border-radius: var(--border-radius); margin-bottom: 10px; box-shadow: var(--box-shadow); } .accordion:first-of-type { border-top: 1px solid #e0e0e0; } .accordion-title { font-weight: bold; font-size: 16px; color: var(--primary-dark-blue); margin: 0; } .accordion-icon { font-size: 18px; transition: transform 0.3s; color: var(--primary-teal); font-weight: bold; } .accordion.active .accordion-icon { transform: rotate(90deg); } .accordion-content { padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; margin-bottom: 15px; } /* Downloads Container Styles */ .downloads-container { width: 100%; max-width: 900px; margin: 30px auto; } .download-row { display: flex; gap: 15px; margin-bottom: 15px; } .download-column { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 15px; border-radius: var(--border-radius); background-color: white; box-shadow: var(--box-shadow); } .download-content { display: flex; align-items: center; gap: 10px; } .download-icon { width: 20px; height: 20px; color: var(--primary-teal); } .download-text h3 { font-size: 15px; margin: 0; color: var(--text-color); font-weight: 500; } .download-button { padding: 8px 15px; background-color: var(--primary-teal); color: white; border: none; border-radius: var(--border-radius); cursor: pointer; font-weight: bold; font-size: 13px; text-decoration: none; transition: all 0.3s; } .download-button:hover { background-color: var(--primary-dark-blue); } .download-button-group { display: flex; gap: 8px; } @media (max-width: 767px) { .download-row { flex-direction: column; gap: 10px; } .accordion { padding: 12px 15px; } .accordion-title { font-size: 15px; } .download-column { padding: 12px; } .download-icon { width: 18px; height: 18px; } .download-text h3 { font-size: 14px; } .download-button { padding: 6px 12px; font-size: 12px; } } // Accordion functionality document.querySelectorAll('.accordion').forEach(accordion => { accordion.addEventListener('click', function() { this.classList.toggle('active'); const content = this.nextElementSibling; if (content.style.maxHeight) { content.style.maxHeight = null; } else { content.style.maxHeight = content.scrollHeight + 'px'; } }); }); // Foldable functionality document.querySelectorAll('.stacked-foldable').forEach(foldable => { foldable.addEventListener('toggle', function() { if (this.open) { this.style.marginBottom = '15px'; } else { this.style.marginBottom = '10px'; } }); }); Videos for ZUMIMALL Battery Camera-F5 // 折叠面板功能修正 document.addEventListener('DOMContentLoaded', function() { var coll = document.getElementsByClassName("collapsible"); for (var i = 0; i < coll.length; i++) { var button = coll[i]; var content = button.nextElementSibling; // 默认展开 if (button.classList.contains("active")) { content.style.maxHeight = content.scrollHeight + "px"; } else { content.style.maxHeight = null; } button.addEventListener("click", function() { var content = this.nextElementSibling; this.classList.toggle("active"); // 收起或展开 if (this.classList.contains("active")) { content.style.maxHeight = content.scrollHeight + "px"; } else { content.style.maxHeight = null; } }); } // 初始化轮播 initCarousel('carousel1'); initCarousel('carousel2'); // 响应式重绘 window.addEventListener('resize', function() { redrawCarousel('carousel1'); redrawCarousel('carousel2'); }); // 轮播按钮事件绑定 document.querySelectorAll('.carousel').forEach(function(carousel) { const prevBtn = carousel.querySelector('.carousel-control.prev'); const nextBtn = carousel.querySelector('.carousel-control.next'); const id = carousel.id; if (prevBtn) prevBtn.onclick = function() { moveCarousel(id, -1); }; if (nextBtn) nextBtn.onclick = function() { moveCarousel(id, 1); }; // 绑定滑动和拖动事件 addCarouselSwipeListeners(carousel, id); }); }); // 轮播核心变量 const carouselStates = {}; // 轮播初始化 function initCarousel(carouselId) { const carousel = document.getElementById(carouselId); if (!carousel) return; const inner = carousel.querySelector('.carousel-inner'); const items = carousel.querySelectorAll('.carousel-item'); let visibleCount = carousel.classList.contains('carousel-desktop') && window.innerWidth >= 768 ? 2 : 1; carouselStates[carouselId] = { current: 0, visible: visibleCount, total: items.length }; updateCarousel(carouselId, 0); createIndicators(carouselId); } // 创建轮播指示器 function createIndicators(carouselId) { const state = carouselStates[carouselId]; if (!state) return; const indicatorsContainer = document.getElementById(carouselId + '-indicators'); if (!indicatorsContainer) return; indicatorsContainer.innerHTML = ''; const totalPages = Math.ceil(state.total / state.visible); for (let i = 0; i < totalPages; i++) { const indicator = document.createElement('div'); indicator.className = 'carousel-indicator'; if (i === 0) indicator.classList.add('active'); indicator.onclick = function() { updateCarousel(carouselId, i * state.visible); }; indicatorsContainer.appendChild(indicator); } } // 更新指示器状态 function updateIndicators(carouselId) { const state = carouselStates[carouselId]; if (!state) return; const indicatorsContainer = document.getElementById(carouselId + '-indicators'); if (!indicatorsContainer) return; const indicators = indicatorsContainer.querySelectorAll('.carousel-indicator'); const currentPage = Math.floor(state.current / state.visible); indicators.forEach((indicator, index) => { if (index === currentPage) { indicator.classList.add('active'); } else { indicator.classList.remove('active'); } }); } // 轮播移动(修正分页与循环) function moveCarousel(carouselId, direction) { const state = carouselStates[carouselId]; if (!state) return; let {visible, total, current} = state; const totalPages = Math.ceil(total / visible); let curPage = Math.floor(current / visible); curPage = (curPage + direction + totalPages) % totalPages; let newIndex = curPage * visible; if(newIndex >= total) newIndex = 0; updateCarousel(carouselId, newIndex); } // 轮播更新 function updateCarousel(carouselId, newIndex) { const carousel = document.getElementById(carouselId); const inner = carousel.querySelector('.carousel-inner'); const state = carouselStates[carouselId]; if (!carousel || !inner || !state) return; state.current = newIndex; state.visible = carousel.classList.contains('carousel-desktop') && window.innerWidth >= 768 ? 2 : 1; let items = inner.querySelectorAll('.carousel-item'); for (let item of items) { item.style.minWidth = (100 / state.visible) + '%'; } const totalPages = Math.ceil(state.total / state.visible); let curPage = Math.floor(newIndex / state.visible); const percent = -(100 * curPage); inner.style.transform = `translateX(${percent}%)`; inner.dataset.currentIndex = newIndex; // 更新指示器 updateIndicators(carouselId); } // 响应式重绘轮播 function redrawCarousel(carouselId) { const carousel = document.getElementById(carouselId); const state = carouselStates[carouselId]; if (!carousel || !state) return; let oldVisible = state.visible; state.visible = carousel.classList.contains('carousel-desktop') && window.innerWidth >= 768 ? 2 : 1; let curPage = Math.floor(state.current / oldVisible); let newIndex = curPage * state.visible; if (newIndex >= state.total) newIndex = 0; updateCarousel(carouselId, newIndex); createIndicators(carouselId); } // 轮播滑动与拖动支持 function addCarouselSwipeListeners(carousel, carouselId) { const inner = carousel.querySelector('.carousel-inner'); if (!inner) return; // Touch events let startX = 0, startY = 0, moved = false; inner.addEventListener('touchstart', function(e) { if (e.touches.length !== 1) return; startX = e.touches[0].clientX; startY = e.touches[0].clientY; moved = false; }, {passive: true}); inner.addEventListener('touchmove', function(e) { if (e.touches.length !== 1) return; const dx = e.touches[0].clientX - startX; const dy = e.touches[0].clientY - startY; moved = Math.abs(dx) > 30 && Math.abs(dx) > Math.abs(dy); // 可选:阻止页面滚动 if (moved) e.preventDefault(); }, {passive: false}); inner.addEventListener('touchend', function(e) { if (!moved) return; const dx = e.changedTouches[0].clientX - startX; if (dx > 30) moveCarousel(carouselId, -1); else if (dx < -30) moveCarousel(carouselId, 1); moved = false; }); // Mouse drag events let isDragging = false, dragStartX = 0, dragStartY = 0; inner.addEventListener('mousedown', function(e) { isDragging = true; dragStartX = e.clientX; dragStartY = e.clientY; inner.style.cursor = 'grabbing'; }); inner.addEventListener('mousemove', function(e) { if (!isDragging) return; const dx = e.clientX - dragStartX; const dy = e.clientY - dragStartY; if (Math.abs(dx) > 30 && Math.abs(dx) > Math.abs(dy)) { if (dx > 0) moveCarousel(carouselId, -1); else moveCarousel(carouselId, 1); isDragging = false; inner.style.cursor = ''; } }); inner.addEventListener('mouseup', function() { isDragging = false; inner.style.cursor = ''; }); inner.addEventListener('mouseleave', function() { isDragging = false; inner.style.cursor = ''; }); } // 暴露给HTML按钮 window.moveCarousel = moveCarousel; ZUMIMALL Security Camera Comparison .product-comparison-section { width: 100%; margin: 40px auto; padding: 0 5px; position: relative; font-family: 'Segoe UI', Arial, sans-serif; } .product-comparison-section h2 { text-align: center; margin-bottom: 20px; font-size: 24px; color: #2c3e50; padding: 0 10px; font-weight: 600; } .comparison-table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -5px; width: calc(100% + 10px); position: relative; border: 1px solid #e0e0e0; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } .product-comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; background: white; min-width: 600px; position: relative; } .product-comparison-table th, .product-comparison-table td { padding: 12px 10px; text-align: center; border: 1px solid #e0e0e0; font-size: 13px; line-height: 1.4; position: relative; } /* 固定第一列样式 */ .product-comparison-table thead tr th:first-child, .product-comparison-table tbody tr td:first-child { position: sticky; left: 0; z-index: 2; background-color: #f5f7fa; min-width: 120px; max-width: 120px; text-align: left; padding-left: 15px; font-weight: 600; color: #2c3e50; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05); } .product-comparison-table thead tr th:first-child { z-index: 3; /* 确保表头在内容之上 */ background-color: #e8ebf0; } .product-comparison-table th { background-color: #f8f9fa; font-weight: 600; color: #34495e; padding: 15px 10px; } .feature-header { background-color: #e8ebf0 !important; text-align: left !important; min-width: 120px; max-width: 120px; font-size: 13px; padding-left: 15px; } .product-image { max-width: 90px; height: auto; display: block; margin: 0 auto 8px; border-radius: 4px; transition: transform 0.2s; } .product-image:hover { transform: scale(1.03); } .product-link { color: #3498db; text-decoration: none; font-weight: 600; font-size: 13px; transition: color 0.2s; } .product-link:hover { color: #2980b9; text-decoration: underline; } .view-more-link { display: inline-block; margin-top: 8px; font-size: 12px; color: #e74c3c; text-decoration: none; font-weight: 600; padding: 4px 10px; border: 1px solid #e74c3c; border-radius: 4px; transition: all 0.2s; } .view-more-link:hover { background-color: #e74c3c; color: white; text-decoration: none; } .checkmark { color: #27ae60; font-weight: bold; font-size: 16px; } .crossmark { color: #c0392b; font-weight: bold; font-size: 16px; } .scroll-indicator { text-align: center; margin-top: 15px; color: #7f8c8d; font-size: 13px; display: none; font-style: italic; } .price-tag { font-weight: 600; color: #e74c3c; font-size: 14px; } /* 移动端样式 */ @media (max-width: 768px) { .product-comparison-section { padding: 0 3px; } .product-comparison-section h2 { font-size: 20px; } .comparison-table-container { margin: 0 -3px; width: calc(100% + 6px); } .product-comparison-table th, .product-comparison-table td { padding: 10px 6px; font-size: 12px; } .product-comparison-table thead tr th:first-child, .product-comparison-table tbody tr td:first-child { min-width: 100px; max-width: 100px; font-size: 12px; padding-left: 10px; } .feature-header { min-width: 100px; max-width: 100px; font-size: 12px; padding-left: 10px; } .product-image { max-width: 70px; } .scroll-indicator { display: block; } } /* 小屏手机样式 */ @media (max-width: 480px) { .product-comparison-table th, .product-comparison-table td { padding: 8px 4px; font-size: 11px; } .product-comparison-table thead tr th:first-child, .product-comparison-table tbody tr td:first-child { min-width: 90px; max-width: 90px; font-size: 11px; padding-left: 8px; } .feature-header { min-width: 90px; max-width: 90px; font-size: 11px; padding-left: 8px; } .product-image { max-width: 60px; } .view-more-link { font-size: 11px; padding: 3px 6px; } .price-tag { font-size: 12px; } } /* 超小屏手机样式 */ @media (max-width: 360px) { .product-comparison-table th, .product-comparison-table td { padding: 6px 3px; font-size: 10px; } .product-comparison-table thead tr th:first-child, .product-comparison-table tbody tr td:first-child { min-width: 80px; max-width: 80px; font-size: 10px; padding-left: 6px; } .feature-header { min-width: 80px; max-width: 80px; font-size: 10px; padding-left: 6px; } .product-image { max-width: 50px; } .view-more-link { font-size: 10px; padding: 2px 4px; } } Explore more security cameras from ZUMIMALL Features ← Scroll to see more → document.addEventListener('DOMContentLoaded', function() { // 产品数据 - 移除了Battery Camera F5 const products = [ { picture: "https://cdn.shopify.com/s/files/1/0262/6227/4147/files/A60_AOV.jpg?v=1752829362", link: "https://www.zumimall.com/products/zumimall-aov-solar-powered-wireless-security-camera-24-7-recording", price: "From $79.99", model: "AOV Camera A60", powerSource: "Solar/Battery", resolution: "3MP", wifi: "2.4GHz only", nightVision: "Color/Infrared", recording: "✔", sirenAlarm: "✔", rotatable: "✔", zoom: "4X digital zoom", interface: "Type C Port", detectionDistance: ">32FT", app: "ZUMIMALL" }, { picture: "https://cdn.shopify.com/s/files/1/0262/6227/4147/files/X2K_Wireless_security_outdoor_camera_13_0b64744c-e06b-4fff-be21-f92445319240.jpg?v=1754992364", link: "https://www.zumimall.com/products/2k-ptz-solar-wireless-security-camera-gx2k", price: "From $49.99", model: "Battery Camera X2", powerSource: "Solar/Battery", resolution: "3MP", wifi: "2.4GHz only", nightVision: "Color/Infrared", recording: "✘", sirenAlarm: "✔", rotatable: "✔", zoom: "4X digital zoom", interface: "Type C Port", detectionDistance: ">32FT", app: "ZUMIMALL" }, { picture: "https://www.zumimall.com/cdn/shop/files/BK05B-3MP-1.jpg?v=1753337495&width=493", link: "https://www.zumimall.com/products/5mp-5g-2-4g-wifi-360-ptz-auto-tracking-security-camera-plug-in-power-bk05b", price: "From $29.99", model: "Wired Camera BK05B", powerSource: "Plug-in", resolution: "3MP/5MP", wifi: "5GHz/2.4GHz", nightVision: "Color/Infrared", recording: "✔", sirenAlarm: "✔", rotatable: "✔", zoom: "4X digital zoom", interface: "Type C Port", detectionDistance: ">32FT", app: "ZUMIMALL" }, { picture: "https://cdn.shopify.com/s/files/1/0262/6227/4147/files/P10_0caf45c4-fa5a-4b40-9702-18bf40901eb8.jpg?v=1750930402", link: "https://www.zumimall.com/products/zumimall-dual-lens-video-doorbell-camera-with-chime-p10-worldwide-sales", price: "From $79.98", model: "Doorbell Camera P10", powerSource: "Battery", resolution: "3MP", wifi: "2.4GHz only", nightVision: "Color/Infrared", recording: "✘", sirenAlarm: "✔", rotatable: "✘", zoom: "4X digital zoom", interface: "Type C Port", detectionDistance: ">32FT", app: "ZUMIMALL" } ]; // 创建表格列(产品) const theadRow = document.querySelector('.product-comparison-table thead tr'); const tbody = document.querySelector('.product-comparison-table tbody'); // 添加产品列标题 products.forEach(product => { const th = document.createElement('th'); th.innerHTML = ` View Details `; theadRow.appendChild(th); }); // 创建价格行 const priceRow = document.createElement('tr'); const priceHeader = document.createElement('td'); priceHeader.textContent = 'Price'; priceHeader.className = 'feature-header'; priceRow.appendChild(priceHeader); // 添加价格单元格 products.forEach(product => { const priceCell = document.createElement('td'); priceCell.innerHTML = `${product.price}`; priceRow.appendChild(priceCell); }); tbody.appendChild(priceRow); // 创建型号行 const modelRow = document.createElement('tr'); const modelHeader = document.createElement('td'); modelHeader.textContent = 'Model'; modelHeader.className = 'feature-header'; modelRow.appendChild(modelHeader); products.forEach(product => { const modelCell = document.createElement('td'); modelCell.innerHTML = `${product.model}`; modelRow.appendChild(modelCell); }); tbody.appendChild(modelRow); // 添加其他特性行 const features = [ { key: 'powerSource', label: 'Power Source' }, { key: 'resolution', label: 'Resolution' }, { key: 'wifi', label: 'Wi-Fi' }, { key: 'nightVision', label: 'Night Vision' }, { key: 'recording', label: '24/7 Recording' }, { key: 'sirenAlarm', label: 'Siren Alarm' }, { key: 'rotatable', label: 'Rotatable' }, { key: 'zoom', label: 'Zoom' }, { key: 'interface', label: 'Interface' }, { key: 'detectionDistance', label: 'Detection Distance' }, { key: 'app', label: 'APP' } ]; features.forEach(feature => { const row = document.createElement('tr'); const header = document.createElement('td'); header.textContent = feature.label; header.className = 'feature-header'; row.appendChild(header); products.forEach(product => { const cell = document.createElement('td'); let value = product[feature.key]; // 特殊处理勾选和叉号标记 if (value === '✔') { cell.innerHTML = '✔'; } else if (value === '✘') { cell.innerHTML = '✘'; } else { cell.textContent = value; } row.appendChild(cell); }); tbody.appendChild(row); }); // 检测是否需要显示滚动提示 function checkScrollIndicator() { const container = document.querySelector('.comparison-table-container'); if (container.scrollWidth > container.clientWidth) { document.querySelector('.scroll-indicator').style.display = 'block'; } else { document.querySelector('.scroll-indicator').style.display = 'none'; } } // 初始检查和窗口调整时检查 checkScrollIndicator(); window.addEventListener('resize', checkScrollIndicator); });
More you might like
Related
ZUMIMALL Battery Powered Wireless Security Camera No Drillin
Related
ZUMIMALL Security Camera Wireless Outdoor 3MP HD Black, 2.4G
Related
ZUMIMALL 3MP Security Camera Outdoor - 360° PTZ Auto Trackin
Related