Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
579bcbd2
Commit
579bcbd2
authored
May 18, 2023
by
dhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化购物流程
parent
fd35d684
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
25 deletions
+23
-25
app/code/Magento/Checkout/view/frontend/layout/checkout_onepage_success.xml
+0
-20
app/code/Magento/Checkout/view/frontend/web/js/view/part.js
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+21
-3
app/design/frontend/Joshine/breeze/web/css/_custom.less
+1
-1
No files found.
app/code/Magento/Checkout/view/frontend/layout/checkout_onepage_success.xml
View file @
579bcbd2
...
@@ -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"
>
...
...
app/code/Magento/Checkout/view/frontend/web/js/view/part.js
View file @
579bcbd2
...
@@ -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
()
{
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
View file @
579bcbd2
...
@@ -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****************************************************/
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
579bcbd2
...
@@ -929,7 +929,7 @@ p.shopbycate-title {
...
@@ -929,7 +929,7 @@ p.shopbycate-title {
}
}
div#cart-totals{
div#cart-totals{
margin
-bottom: 2
0px;
margin
: 20px
0px;
}
}
.discount-area{
.discount-area{
color:#fa320f;
color:#fa320f;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment