1) { lightboxIndex = (lightboxIndex - 1 + lightboxItems.length) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
@keydown.arrow-right.window="if (imgModal && lightboxItems.length > 1) { lightboxIndex = (lightboxIndex + 1) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
x-effect="document.body.classList.toggle('product-lightbox-open', imgModal)"
>
Item Details
Product name: iPhone XS Max Waterproof Case
Material: TPU, PC, PET,
Function: Waterproof, dustproof, sandproof and drop proof.
Daily use: kitchen, hot spring, bathroom, rainy day, etc .; outdoor use: travel, mountaineering, cross-country, skiing, etc .;
Suitable for water: rafting, surfing, swimming, diving, etc .; suitable for operations: field survey, drilling workers, etc.