Commit 01c12085 by 王东红

Merge branch 'master' of http://47.99.244.21:9999/root/joshine

parents eaa35497 7acd637c
...@@ -6,11 +6,9 @@ ...@@ -6,11 +6,9 @@
/** @var $block \Magento\Catalog\Block\Product\View\Addto\Compare */ /** @var $block \Magento\Catalog\Block\Product\View\Addto\Compare */
?> ?>
<?php $viewModel = $block->getData('addToCompareViewModel'); ?> <?php $viewModel = $block->getData('addToCompareViewModel'); ?>
<?php if ($viewModel->isAvailableForCompare($block->getProduct())) :?> <?php if ($viewModel->isAvailableForCompare($block->getProduct())) :?>
<a href="#" data-post='<?= /* @noEscape */ $block->getPostDataParams() ?>' <a href="#" data-post='<?= /* @noEscape */ $block->getPostDataParams() ?>'
data-role="add-to-links" data-role="add-to-links"
class="action tocompare"><span><?= $block->escapeHtml(__('Add to Compare')) ?></span></a> class="action tocompare"><span><?= $block->escapeHtml(__('Add to Compare')) ?></span></a>
<?php endif; ?> <?php endif; ?>
\ No newline at end of file
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
<div id="box"> <div id="box">
<ul class="list"> <ul class="list">
<li class="current"> <li class="current">
<a href="https://www.joshine.com/on-sale"> <a href="/on-sale">
<img src="/media/wysiwyg/2_1_.jpg" alt="Joshine Flash Sale" class="box-pc"> <img src="/media/wysiwyg/2_1_.jpg" alt="Joshine Flash Sale" class="box-pc">
<img src="/media/wysiwyg/2_M_1_.jpg" alt="Joshine Flash Sale" class="box-moblie"> <img src="/media/wysiwyg/2_M_1_.jpg" alt="Joshine Flash Sale" class="box-moblie">
</a> </a>
</li> </li>
<li> <li>
<a href="https://www.joshine.com/on-sale"> <a href="/on-sale">
<img src="/media/wysiwyg/1_1_.jpg" alt="" class="box-pc"> <img src="/media/wysiwyg/1_1_.jpg" alt="" class="box-pc">
<img src="/media/wysiwyg/1_M_1_.jpg" alt="" class="box-moblie"> <img src="/media/wysiwyg/1_M_1_.jpg" alt="" class="box-moblie">
</a></li> </a></li>
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
<a href="/shapewear/thongs-bodysuits-shapewear/thongs-bodysuits-shapewear"><img src="/media/wysiwyg/shopbycategory/6-thongs.png" alt="" /></a> <a href="/shapewear/thongs-bodysuits-shapewear/thongs-bodysuits-shapewear"><img src="/media/wysiwyg/shopbycategory/6-thongs.png" alt="" /></a>
</div> </div>
<div class="shop-by-cata" > <div class="shop-by-cata" >
<a href="/shapewear/pamaleta-luggage"><img src="/media/wysiwyg/shopbycategory/7-buttlifter.png" alt="" /></a> <a href="/shapewear/pamaleta-luggage"><img src="/media/wysiwyg/shopbycategory/7-buttlifter.png" alt="" /></a>
</div> </div>
...@@ -57,23 +56,10 @@ ...@@ -57,23 +56,10 @@
</div> </div>
<?php <?php
/**
* Template for displaying new products widget
*
* @var $block \Magento\Catalog\Block\Product\Widget\NewWidget
*/
// phpcs:disable Magento2.Files.LineLength.MaxExceeded
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
$type = 'widget-new-grid'; $type = 'widget-new-grid';
$mode = 'grid'; $mode = 'grid';
$image = 'new_products_content_widget_grid'; $image = 'new_products_content_widget_grid';
?> ?>
<div class="block widget block-new-products <?= /* @noEscape */ $mode ?>"> <div class="block widget block-new-products <?= /* @noEscape */ $mode ?>">
<div class="block-title"> <div class="block-title">
<strong role="heading" aria-level="2" >NEW ARRIVALS</strong> <strong role="heading" aria-level="2" >NEW ARRIVALS</strong>
...@@ -82,8 +68,6 @@ $image = 'new_products_content_widget_grid'; ...@@ -82,8 +68,6 @@ $image = 'new_products_content_widget_grid';
<?= /* @noEscape */ '<!-- ' . $image . '-->' ?> <?= /* @noEscape */ '<!-- ' . $image . '-->' ?>
<div class="products-<?= /* @noEscape */ $mode ?> <?= /* @noEscape */ $mode ?>"> <div class="products-<?= /* @noEscape */ $mode ?> <?= /* @noEscape */ $mode ?>">
<ol class="product-items <?= /* @noEscape */ $type ?>"> <ol class="product-items <?= /* @noEscape */ $type ?>">
<?php <?php
$templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
$news_ids = explode(',',"366,244,188,193"); $news_ids = explode(',',"366,244,188,193");
...@@ -255,7 +239,7 @@ $image = 'new_products_content_widget_grid'; ...@@ -255,7 +239,7 @@ $image = 'new_products_content_widget_grid';
endforeach; endforeach;
?> ?>
</div> </div>
<div class="view-more-flashsale"><a href="https://www.joshine.com/flashsale-0422?product_list_order=price_low">View More</a></div> <div class="view-more-flashsale"><a href="/flashsale-0422?product_list_order=price_low">View More</a></div>
</div> </div>
</div> </div>
......
...@@ -1538,6 +1538,9 @@ margin-top: 0px; ...@@ -1538,6 +1538,9 @@ margin-top: 0px;
} }
.product-info-wrapper .page-title span.base{ .product-info-wrapper .page-title span.base{
color: #999999; color: #999999;
font-size: initial;
float: left;
margin-left: -10px;
} }
.product-info-wrapper .price-final_price .price { .product-info-wrapper .price-final_price .price {
...@@ -1545,12 +1548,9 @@ margin-top: 0px; ...@@ -1545,12 +1548,9 @@ margin-top: 0px;
} }
.product-info-price .price-box{ .product-info-price .price-box{
margin-top: -35px; margin-top: -30px;
} }
.product-add-form .box-tocart {
display: none;
}
.price-final_price .old-price .price{ .price-final_price .old-price .price{
color: #999999; color: #999999;
} }
...@@ -1570,7 +1570,19 @@ margin-top: 0px; ...@@ -1570,7 +1570,19 @@ margin-top: 0px;
.product-info-wrapper .page-title-wrapper{ .product-info-wrapper .page-title-wrapper{
margin-top: -20px; margin-top: -20px;
} }
.swatch-option-tooltip{
display: none;
}
.product-info-wrapper .page-title-wrapper h1{
margin-left: 10px;
margin-top:10px;
}
}
//关闭选中颜色和尺码提示
.breeze .swatch-option-tooltip {
display: none !important;
} }
......
...@@ -43,4 +43,24 @@ ...@@ -43,4 +43,24 @@
},function(){ },function(){
timer = setInterval(autoPlay,3000); timer = setInterval(autoPlay,3000);
}) })
//产品详情调取block
$('#product-intro__freeshipping-more').click(function () {
$('.mask').removeClass('hide');
$('.prompt_cont.f1').css('display','block');
});
$('#product-intro__freeshipping-more-2').click(function () {
$('.mask').removeClass('hide');
$('.prompt_cont.f2').css('display','block');
});
$('#product-intro__freeshipping-more-3').click(function () {
$('.mask').removeClass('hide');
$('.prompt_cont.f3').css('display','block');
});
$('.product-intro-prompt_cancel').click(function () {
$('.mask').addClass('hide');
$('.prompt_cont.f1').css('display','none');
$('.prompt_cont.f2').css('display','none');
$('.prompt_cont.f3').css('display','none');
})
})(); })();
\ No newline at end of file
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