Maxlead<div id="pdm-1" class="pdm"> <!-- 第一行:视频--> <div class="pdm-row pdm-video"> <div class="pdm-video-embed" style="position: relative; width: 100%; padding-top: 56.25%; overflow: hidden;"> <iframe src="https://www.youtube.com/embed/B59ul2Z_tjQ?si=lYethzhHhQmVMM5b" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen style="position:absolute; inset:0; width:100%; height:100%; object-fit:cover;"> </iframe> <button class="pdm-play-btn" aria-label="Play video"></button> </div> </div> <!-- 第二行:单张图片 --> <div class="pdm-row pdm-single-image"> <img loading="lazy" alt="TATAGO Bed Frame" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/bedframe3.webp?v=1763629821"> </div> <!-- 第三行:单张图片 --> <div class="pdm-row pdm-single-image"> <img loading="lazy" alt="TATAGO Bed Frame-Load Capacity1000 lbs" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Load_Capacity1000_Ibs.webp?v=1763522442"> </div> <!-- 第四行:单张图片 --> <div class="pdm-row pdm-single-image"> <img loading="lazy" alt="TATAGO Bed Frame-Underbed Storage Space" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Underbed_Storage_Space.webp?v=1763522442"> </div> <!-- 第五行:三图轮播 --> <div data-pdm-carousel="" class="pdm-row pdm-carousel"> <button aria-label="Previous" class="pdm-nav pdm-prev">❮</button> <div class="pdm-track"> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-Bed Backboard Storage Area" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Bed_Backboard_Storage_Area.webp?v=1763522442"> </div> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-Headboard Storage Area" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Headboard_Storage_Area.webp?v=1763522441"> </div> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-16inch Broad Wingback" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/16inch_Broad_Wingback.webp?v=1763522442"> </div> </div> <button aria-label="Next" class="pdm-nav pdm-next">❯</button> <div aria-label="Carousel pagination" class="pdm-dots"><br></div> </div> <!-- 第六行:单张图片 --> <div class="pdm-row pdm-single-image"> <img loading="lazy" alt="TATAGO Bed Frame-Built-In Charging Socket" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Built-In_Charging_Socket.webp?v=1763522442"> </div> <!-- 第七行:三图轮播 --> <div data-pdm-carousel="" class="pdm-row pdm-carousel"> <button aria-label="Previous" class="pdm-nav pdm-prev">❮</button> <div class="pdm-track"> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-2 Types of Materials" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/2_Types_of_Materials.webp?v=1763522442"> </div> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-Purchase Guide Confirme Your Mattress Size" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Purchase_Guide_Confirme_Your_Mattress_Size.webp?v=1763522441"> </div> <div class="pdm-slide"> <img loading="lazy" alt="TATAGO Bed Frame-Purchase Guide Measure Your Room - The Foundation of a Perfect Fit" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Purchase_Guide_Measure_Your_Room_-_The_Foundation_of_a_Perfect_Fit.webp?v=1763522442"> </div> </div> <button aria-label="Next" class="pdm-nav pdm-next">❯</button> <div aria-label="Carousel pagination" class="pdm-dots"><br></div> </div> <!-- 第八行:单张图片 --> <div class="pdm-row pdm-single-image"> <img loading="lazy" alt="TATAGO Bed Frame-Purchase Guide Confirm Your Bed Frame Size-Standard Sizes & Sleeper's Needs" src="https://cdn.shopify.com/s/files/1/0580/6817/2855/files/Purchase_Guide_Confirm_Your_Bed_Frame_Size-Standard_Sizes_Sleeper_s_Needs.webp?v=1763522441"> </div> </div> <style> table { width: 100%; border-collapse: collapse; margin-top: 20px; background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } th, td { border: 1px solid #ddd; padding: 10px; text-align: left; } th { background-color: #4CAF50; color: white; } /* h1 { text-align: center; } */ /* 容器与行 */ .pdm { max-width: 1200px; margin: 0 auto; font-size: 16px; } .pdm-row { margin: 16px 0; } /* 单图 */ .pdm-single-image img { display: block; width: 100%; height: auto; border-radius: 8px; } /* 文本行 */ .pdm-text p { margin: 0; text-align: center; line-height: 1.6; font-size: 20px; font-weight: 700; } /* 视频按钮样式 */ .pdm-play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0, 0, 0, .55); } .pdm-play-btn::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border: solid transparent; border-width: 14px 0 14px 22px; border-left-color: #fff; } .pdm-play-btn:hover { background: rgba(0, 0, 0, .7); } /* 轮播 */ .pdm-carousel { position: relative; overflow: hidden; } .pdm-track { display: flex; transition: transform 300ms ease; will-change: transform; } .pdm-slide { flex: 0 0 100%; min-width: 100%; display: flex; align-items: center; justify-content: center; } .pdm-slide img { width: 100%; height: auto; border-radius: 8px; display: block; } .pdm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(0, 0, 0, .4); color: #fff; z-index: 2; } .pdm-prev { left: 8px; } .pdm-next { right: 8px; } .pdm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; } .pdm-dot { width: 8px; height: 8px; border-radius: 50%; background: #c4c4c4; border: 0; cursor: pointer; } .pdm-dot.is-active { background: #333; } </style> <script> (function () { var container = document.getElementById('pdm-1'); if (!container) return; var carousels = container.querySelectorAll('[data-pdm-carousel]'); carousels.forEach(function (root) { var track = root.querySelector('.pdm-track'); if (!track) return; var slides = Array.prototype.slice.call(track.children); if (!slides.length) return; var prev = root.querySelector('.pdm-prev'); var next = root.querySelector('.pdm-next'); var dotsWrap = root.querySelector('.pdm-dots'); var index = 0; function renderDots() { if (!dotsWrap) return; dotsWrap.innerHTML = ''; slides.forEach(function (_, i) { var b = document.createElement('button'); b.type = 'button'; b.className = 'pdm-dot' + (i === 0 ? ' is-active' : ''); b.addEventListener('click', function () { go(i); }); dotsWrap.appendChild(b); }); } function update() { track.style.transform = 'translateX(' + (-index * 100) + '%)'; if (dotsWrap) { Array.prototype.forEach.call(dotsWrap.children, function (d, i) { d.classList.toggle('is-active', i === index); }); } } function go(i) { if (i < 0) i = slides.length - 1; if (i >= slides.length) i = 0; index = i; update(); } prev && prev.addEventListener('click', function () { go(index - 1); }); next && next.addEventListener('click', function () { go(index + 1); }); renderDots(); update(); }); })(); // 按钮交互 (function () { var container = document.getElementById('pdm-1'); if (!container) return; var playButton = container.querySelector('.pdm-play-btn'); var iframe = container.querySelector('iframe'); if (playButton && iframe) { playButton.addEventListener('click', function () { playButton.style.display = 'none'; // 隐藏播放按钮 iframe.src += '&autoplay=1'; // 添加自动播放参数 }); } })(); </script>
No card required. No card accepted. Pure imagination.