Commit ddc4d0c8 by lmf

修改手机版弹窗无效

parent 0a9dccef
......@@ -44,12 +44,12 @@ $thumbSizes = $responsiveImageHelper->getSizes('product_page_image_small');
</div>
<?php if (count($images) > 1) : ?>
<a href="javasrcpit:void(0);" class="prev" tabindex="-1">
<a href="#" class="prev" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
</svg>
</a>
<a href="javasrcpit:void(0);" class="next" tabindex="-1">
<a href="#" class="next" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
</svg>
......@@ -89,7 +89,7 @@ $thumbSizes = $responsiveImageHelper->getSizes('product_page_image_small');
$srcset = $responsiveImageHelper->getSrcset($image, 'product_page_image_small');
?>
<a class="<?= implode(' ', $classes) ?>" href="javasrcpit:void(0);" name="<?= $image->getLargeImageUrl() ?>" title="<?= $image->getLabel() ?: __('View Image') ?>">
<a class="<?= implode(' ', $classes) ?>" href="#" name="<?= $image->getLargeImageUrl() ?>" title="<?= $image->getLabel() ?: __('View Image') ?>">
<img loading="lazy" alt="<?= $image->getLabel() ?>"
src="<?= $image->getSmallImageUrl() ?>"
<?php if ($srcset) : ?>
......@@ -106,7 +106,7 @@ $thumbSizes = $responsiveImageHelper->getSizes('product_page_image_small');
<div class="thumbnails-2" style="display: none">
<?php
foreach ($images as $key => $image) : ?>
<a href="javasrcpit:void(0);" name="<?= $image->getLargeImageUrl() ?>" title="<?= $image->getLabel() ?: __('View Image') ?>">
<a href="#" name="<?= $image->getLargeImageUrl() ?>" title="<?= $image->getLabel() ?: __('View Image') ?>">
<?= $key + 1 ;?></a>
<?php endforeach ?>
</div>
......@@ -143,6 +143,14 @@ $thumbSizes = $responsiveImageHelper->getSizes('product_page_image_small');
background-color: #fff;
}
@media (max-width: 768px){
.breeze-gallery {
display: flex;
flex-direction: column;
margin-top: -20px;
}
}
</style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment