Commit 72498f75 by liumengfei

Merge branch 'developer' into production

parents ee81fdb7 9ebecc73
......@@ -59,6 +59,17 @@ $_helper = $block->getData('outputHelper');
$imageHelper = $_objectManager->get('\Magento\Catalog\Helper\Image');
?>
<style>
.product-item-photo{
animation: fadeIn 2s linear;
}
@keyframes fadeIn{
0% {
opacity: 0.1;
}
100% {
opacity: 1;
}
}
.mode-list{
display: none;
}
......@@ -229,5 +240,8 @@ $_helper = $block->getData('outputHelper');
'value' : <?= $price ?>,
'item' : <?= json_encode($items, true) ?>
})
require(['jquery'],function ($){
$(".product-image-photo").fadeIn("slow");
});
</script>
<?php endif; ?>
......@@ -35,7 +35,7 @@ $mainImageData = $mainImage ?
<img
alt="main product photo"
class="gallery-placeholder__image"
src=="<?= /* @noEscape */ $mainImageData ?>"
src="<?= /* @noEscape */ $mainImageData ?>"
/>
</div>
......
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