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
5eb030f3
Commit
5eb030f3
authored
Mar 10, 2023
by
dhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化结算流程
parent
e10f8d0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
5 deletions
+21
-5
app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
+2
-1
app/code/Magento/Checkout/view/frontend/web/template/payment.html
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_cart_index.xml
+4
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
+4
-1
app/design/frontend/Joshine/breeze/web/css/_custom.less
+10
-2
No files found.
app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
View file @
5eb030f3
...
...
@@ -197,7 +197,8 @@ class LayoutProcessor implements LayoutProcessorInterface
$fields
);
}
$jsLayout
[
'components'
][
'checkout'
][
'children'
][
'steps'
][
'children'
][
'shipping-step'
][
'children'
]
[
'shippingAddress'
][
'children'
][
'shipping-address-fieldset'
][
'children'
][
'company'
][
'sortOrder'
]
=
140
;
return
$jsLayout
;
}
...
...
app/code/Magento/Checkout/view/frontend/web/template/payment.html
View file @
5eb030f3
...
...
@@ -4,7 +4,7 @@
* See COPYING.txt for license details.
*/
-->
<li
id=
"payment"
role=
"presentation"
class=
"checkout-payment-method"
data-bind=
"fadeVisible: isVisible"
>
<li
id=
"payment"
role=
"presentation"
class=
"checkout-payment-method"
>
<div
id=
"checkout-step-payment"
class=
"step-content"
data-role=
"content"
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_cart_index.xml
View file @
5eb030f3
...
...
@@ -8,9 +8,11 @@
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"1column"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<update
handle=
"checkout_cart_item_renderers"
/>
<body>
<referenceContainer
name=
"page.bottom.container"
remove=
"true"
/>
<referenceBlock
name=
"checkout.cart.addtocart"
remove=
"true"
/>
<referenceContainer
name=
"footer-container"
remove=
"true"
/>
<referenceContainer
name=
"nav.main.box"
remove=
"true"
/>
<referenceBlock
name=
"catalog.topnav"
remove=
"true"
/>
<referenceBlock
name=
"top.search"
remove=
"true"
/>
<referenceBlock
name=
"header.search.bar"
remove=
"true"
/>
...
...
@@ -35,6 +37,7 @@
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.footer"
template=
"Magento_Checkout::footer.phtml"
/>
</referenceContainer>
<!--
<referenceBlock name="checkout.cart.totals">
<arguments>
<argument name="jsLayout" xsi:type="array">
...
...
@@ -50,5 +53,6 @@
</argument>
</arguments>
</referenceBlock>
-->
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
View file @
5eb030f3
...
...
@@ -12,13 +12,16 @@
<referenceBlock
name=
"catalog.topnav"
remove=
"true"
/>
<referenceBlock
name=
"top.search"
remove=
"true"
/>
<referenceBlock
name=
"sparsh.free-shipping.bar.top"
remove=
"true"
/>
<referenceContainer
name=
"header.container"
>
<referenceContainer
name=
"checkout.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>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
5eb030f3
...
...
@@ -953,14 +953,22 @@ p.shopbycate-title {
.checkout-index-index .page-footer,.checkout-cart-index .page-footer{
background-color: #FFFFFF;
}
.checkout-onepage-success #maincontent{
padding-bottom:0px;
}
@media (min-width: 768px){
.checkout-index-index .page-footer{
padding-top:0px;
margin-top:20px;
}
.checkout-onepage-success #maincontent{
padding-bottom:0px;
.checkout-index-index .page-header,.checkout-cart-index .page-header,.checkout-onepage-success .page-header{
background-color: #ffffff;
}
.checkout-cart-index .page-header{
padding-top:5px;
}
}
.checkout-index-index #next-shipping,.checkout-index-index #next-payment {
text-align: center;
...
...
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