Commit 579bcbd2 by dhn

优化购物流程

parent fd35d684
...@@ -12,28 +12,8 @@ ...@@ -12,28 +12,8 @@
<body> <body>
<referenceContainer name="page.bottom.container" remove="true"/> <referenceContainer name="page.bottom.container" remove="true"/>
<referenceContainer name="footer-container" remove="true"/> <referenceContainer name="footer-container" remove="true"/>
<referenceBlock name="catalog.topnav" remove="true" />
<referenceBlock name="top.search" remove="true" /> <referenceBlock name="top.search" remove="true" />
<referenceBlock name="sparsh.free-shipping.bar.top" remove="true" /> <referenceBlock name="sparsh.free-shipping.bar.top" remove="true" />
<referenceBlock name="header.search.bar" remove="true" />
<referenceBlock name="header.account" remove="true" />
<referenceBlock name="header.wishlist" remove="true" />
<referenceBlock name="minicart" remove="true" />
<referenceContainer name="header.container">
<block class="Magento\Cms\Block\Block" name="cart.payment.top">
<arguments>
<argument name="block_id" xsi:type="string">cart_payment_top</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="columns.top">
<block class="Magento\Cms\Block\Block" name="progress.bar" before="-">
<arguments>
<argument name="block_id" xsi:type="string">progress_bar</argument>
</arguments>
</block>
</referenceContainer>
<referenceBlock name="page.main.title"> <referenceBlock name="page.main.title">
<block class="Magento\Checkout\Block\Onepage\Success" name="checkout.success.print.button" template="Magento_Checkout::button.phtml"/> <block class="Magento\Checkout\Block\Onepage\Success" name="checkout.success.print.button" template="Magento_Checkout::button.phtml"/>
<action method="setPageTitle"> <action method="setPageTitle">
......
...@@ -111,6 +111,7 @@ define([ ...@@ -111,6 +111,7 @@ define([
$('#breadcrumb-logistics').removeClass('trade_checkout_step_waiting'); $('#breadcrumb-logistics').removeClass('trade_checkout_step_waiting');
addressOneVisible(false); addressOneVisible(false);
shippingTwoVisible(true); shippingTwoVisible(true);
checkoutDataResolver.resolveEstimationAddress();
//quote.billAddressMent(true); //quote.billAddressMent(true);
}); });
...@@ -202,7 +203,6 @@ define([ ...@@ -202,7 +203,6 @@ define([
return false; return false;
} }
} }
checkoutDataResolver.resolveEstimationAddress();
$('.checkout-index-index .payment-method._active').find('.actions-toolbar').find('button').trigger('click'); $('.checkout-index-index .payment-method._active').find('.actions-toolbar').find('button').trigger('click');
}); });
$(document).on('click','.back-to-information,.trade_checkout_step_doing.custom-link-color,.right-email,.right-address',function() { $(document).on('click','.back-to-information,.trade_checkout_step_doing.custom-link-color,.right-email,.right-address',function() {
......
...@@ -1662,18 +1662,36 @@ $isMobile = $mobileDetect->isMobile(); ...@@ -1662,18 +1662,36 @@ $isMobile = $mobileDetect->isMobile();
height: 40px; height: 40px;
} }
.group-item-body{ .group-item-body {
padding: 16px; padding: 16px;
/*border-top: 1px solid rgba(44, 44, 44, 0.08);*/
font-size: 14px; font-size: 14px;
padding-top: 30px;
text-align: center; text-align: center;
color: #969696; color: #969696;
background: #f2f2f2;
margin-top: 15px;
} }
#policy-description li a{ #policy-description li a{
font-size: 12px; font-size: 12px;
color: #276EAF; color: #276EAF;
} }
.jkl {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: red;
animation-name: rotate;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
/********************************************address from end****************************************************/ /********************************************address from end****************************************************/
......
...@@ -929,7 +929,7 @@ p.shopbycate-title { ...@@ -929,7 +929,7 @@ p.shopbycate-title {
} }
div#cart-totals{ div#cart-totals{
margin-bottom: 20px; margin: 20px 0px;
} }
.discount-area{ .discount-area{
color:#fa320f; color:#fa320f;
......
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