Commit e9e48468 by lmf

优化尺码规格显示

parent b613301c
......@@ -68,12 +68,6 @@
$(".swatch-attribute.size > span:last").after(size);
}
},3000);
setTimeout(function(){
var content = '<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('product-intro-size-chart')->toHtml();?>';
$("#product-intro-size-chart").html(content);
},5000);
});
</script>
......@@ -85,7 +79,7 @@
'responsive': true,
'buttons' : []
}}">
<div class="content" id="product-intro-size-chart" ></div>
<div class="content" id="product-intro-size-chart"><?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('product-intro-size-chart')->toHtml();?></div>
</div>
<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