BLAVOR Solar Power Bank PN-W39(20,000mAh, 20W, Camping Light, Wireless Charger for Watch)

BLAVOR Solar Power Bank PN-W39(20,000mAh, 20W, Camping Light, Wireless Charger for Watch)

$59.99

samueldiv { background: #f4f4f4; font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 14px; color: #333; margin: 0; padding: 0; } .swiper { width: 100%; height: auto; margin: 10px auto; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; } .append-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; } .append-buttons a { flex: 1 1 120px; max-width: 160px; height: 40px; display: flex; justify-content: center; align-items: center; text-align: center; border: 2px solid #ff6500; border-radius: 5px; color: #ff6500; font-size: 16px; } .append-buttons a:hover { background-color: #ff6500; color: #fff; } .append-buttons a.active { background-color: #ff6500; color: #fff; } /**************video********************/ .product-Description-samuel-video{ position: relative; width: 100%; margin: 0px 0 10px 0; } .product-Description-samuel-video video { display: block; width: 100%; cursor: pointer; } /**************************************/ /**************双图********************/ .image-grid-two-description { display: grid; grid-template-columns: repeat(2, 1fr); /* 电脑端每行2个图片 */ gap: 10px; /* 图片间距 */ max-width: 100%; margin: 0px 0 10px 0; } /* 响应式布局,手机端自适应 */ @media screen and (max-width: 600px) { .image-grid-two-description { grid-template-columns: 1fr; /* 手机端一行一个图片 */ gap: 5px; /* 图片间距 */ } } /* 图片容器样式 */ .image-container-two-description { position: relative; } /* 图片样式 */ .image-container-two-description img { width: 100%; display: block; } /* 文本样式 */ .image-container-two-description p { text-align: center; color: #000000; /* 字体颜色:黑色 */ font-size: 18px; /* 字体大小 */ font-weight: bold; /* 加粗 */ margin: 8px 0 0px 0; /* 控制文本与图片的间距 */ } /**************************************/ /**************单长图********************/ /* 图片容器的基本布局 */ .single-image-container-description { max-width: 100%; /* 最大宽度,调整以适应你的需求 */ margin: auto; /* 居中对齐 */ margin: 0px 0 10px 0; } /* 响应式布局 */ @media screen and (max-width: 600px) { .single-image-container-description img { height: 180px; /* 手机端图片固定高度 */ object-fit: cover; /* 图片覆盖,保持比例 */ } } /* 图片样式 */ .single-image-container-description img { width: 100%; height:100%; display: block; } /**************************************/ Solar Charger 20000mAh Built-in Cables, 20W Fast Charging Portable Power Bank with USB C, Camping Light, Flashlight, Battery Pack for iPhone 16 15 14 13 12 11, iPad, Samsung, Apple Watch Carabiner Compass Fast Charging Power for Days Charging 6 Devices IPX5 Camping Light Flashlight Safety Protection Recharge // Swiper 1 const swiper1 = new Swiper('.swiper-1', { slidesPerView: 1, centeredSlides: true, spaceBetween: 0, mousewheel: false // Disable mousewheel scroll }); // Swiper 2 const swiper2 = new Swiper('.swiper-2', { slidesPerView: 1, centeredSlides: true, spaceBetween: 0, mousewheel: false // Disable mousewheel scroll }); const buttons1 = document.querySelectorAll('.buttons-1 a'); const buttons2 = document.querySelectorAll('.buttons-2 a'); function setActiveButton(buttons, clickedButton) { buttons.forEach(button => button.classList.remove('active')); clickedButton.classList.add('active'); } // Event listeners for Swiper 1 buttons1.forEach((button, index) => { button.addEventListener('click', function (e) { e.preventDefault(); swiper1.slideTo(index, 0); setActiveButton(buttons1, this); }); }); // Event listeners for Swiper 2 buttons2.forEach((button, index) => { button.addEventListener('click', function (e) { e.preventDefault(); swiper2.slideTo(index, 0); setActiveButton(buttons2, this); }); }); // Update active button when Swiper 1 slide changes swiper1.on('slideChange', function () { const activeIndex = swiper1.activeIndex; setActiveButton(buttons1, buttons1[activeIndex]); }); // Update active button when Swiper 2 slide changes swiper2.on('slideChange', function () { const activeIndex = swiper2.activeIndex; setActiveButton(buttons2, buttons2[activeIndex]); }); // Function to update images for mainimg function mainimg() { const imgSrcs = [ "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/1_c4f5ed67-3917-48cb-800c-1d01d2b81600.jpg"//首图移动 ]; imgSrcs.forEach((src, index) => { document.getElementById(`firstimg`).src = src; }); } // Function to update images for Swiper 1 function updateImages01() { const imgSrcs = [ "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/2_abbbd50e-3974-42bd-9543-48e6a12252cb.jpg",//滑块01_img01 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/3_dd4ac550-d96a-47d5-b8b7-9b461c94cd58.jpg",//滑块01_img02 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/4_ce2dcf1a-6f51-4635-8c48-579f53f08d4b.jpg",//滑块01_img03 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/5_bdd3b7dd-e48a-4ab8-bb75-f10c1733724d.jpg"//滑块01_img04 ]; imgSrcs.forEach((src, index) => { document.getElementById(`img-slide-01-${index}`).src = src; }); } // Function to update images for Swiper 2 function updateImages02() { const imgSrcs = [ "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/7_221a922a-6060-46f2-bd8a-bef610601b16.jpg",//滑块02_img01 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/8_5f20c5cc-3616-4e40-98af-2dcaabe77c63.jpg",//滑块02_img02 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/21_eecc33ef-db39-46c6-9325-cf76205a8c7e.jpg",//滑块03_img02 "https://cdn.shopify.com/s/files/1/0515/3937/8330/files/20_f47def34-2628-4d8d-931a-1a5adc2af02a.jpg" ]; imgSrcs.forEach((src, index) => { document.getElementById(`img-slide-02-${index}`).src = src; }); } // Update images for mobile view if (window.innerWidth

Show More Show Less