Commit f29cdf9d by dhn

添加购物车按钮及结算页底部样式

parent df9b15ff
...@@ -128,6 +128,15 @@ class Onepage extends \Magento\Framework\View\Element\Template ...@@ -128,6 +128,15 @@ class Onepage extends \Magento\Framework\View\Element\Template
{ {
return $this->_scopeConfigInterface->getValue('carriers/freeshipping/free_shipping_subtotal'); return $this->_scopeConfigInterface->getValue('carriers/freeshipping/free_shipping_subtotal');
} }
public function getCopyright()
{
$copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
);
return $copyright;
}
/** /**
* Get base url for block. * Get base url for block.
* *
......
...@@ -14,7 +14,7 @@ $full_free = $block->getFullFreeShip(); ...@@ -14,7 +14,7 @@ $full_free = $block->getFullFreeShip();
$_helper = $objectManager->get('Magento\Framework\Pricing\Helper\Data'); $_helper = $objectManager->get('Magento\Framework\Pricing\Helper\Data');
$full_free_ship = $_helper->currency($full_free, true, false); $full_free_ship = $_helper->currency($full_free, true, false);
$free_price = $_helper->currency(0, true, false); $free_price = $_helper->currency(0, true, false);
$copyright = $block->getCopyright();
$logoUrl = $block->getLogoUrl(); $logoUrl = $block->getLogoUrl();
$mobileDetect = $objectManager->get(\Joshine\Common\Lib\MobileDetect\MobileDetect::class); $mobileDetect = $objectManager->get(\Joshine\Common\Lib\MobileDetect\MobileDetect::class);
$isMobile = $mobileDetect->isMobile(); $isMobile = $mobileDetect->isMobile();
...@@ -1673,7 +1673,7 @@ $isMobile = $mobileDetect->isMobile(); ...@@ -1673,7 +1673,7 @@ $isMobile = $mobileDetect->isMobile();
} }
#policy-description li a{ #policy-description li a{
font-size: 12px; font-size: 12px;
color: #276EAF; color: #666666;
} }
.jkl{ .jkl{
width:17px; width:17px;
...@@ -1718,6 +1718,7 @@ $isMobile = $mobileDetect->isMobile(); ...@@ -1718,6 +1718,7 @@ $isMobile = $mobileDetect->isMobile();
window.checkoutConfig.flatrate_price = '{$flatraPrice}'; window.checkoutConfig.flatrate_price = '{$flatraPrice}';
window.checkoutConfig.full_free_ship = '{$full_free_ship}'; window.checkoutConfig.full_free_ship = '{$full_free_ship}';
window.checkoutConfig.free_price = '{$free_price}'; window.checkoutConfig.free_price = '{$free_price}';
window.checkoutConfig.copyright = '{$copyright}';
window.checkoutConfig.addressVisible = true; window.checkoutConfig.addressVisible = true;
window.checkoutConfig.shippingVisible = false; window.checkoutConfig.shippingVisible = false;
window.checkoutConfig.paymentVisible = false; window.checkoutConfig.paymentVisible = false;
......
...@@ -502,7 +502,7 @@ ul { ...@@ -502,7 +502,7 @@ ul {
position: fixed; position: fixed;
font-size: larger; font-size: larger;
bottom: 0; bottom: 0;
z-index: 1; z-index: 2;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
left: 0; left: 0;
...@@ -2661,7 +2661,7 @@ button.action.submit.primary { ...@@ -2661,7 +2661,7 @@ button.action.submit.primary {
display: block !important; display: block !important;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
z-index: 1; z-index: 2;
} }
.breeze-gallery .stage .main-image-wrapper > picture{ .breeze-gallery .stage .main-image-wrapper > picture{
display: none; display: none;
......
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