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
aa151b37
Commit
aa151b37
authored
Nov 18, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单地址页面增加订单统计信息
parent
46ff6ca1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
1 deletions
+79
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
+36
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/requirejs-config.js
+6
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/web/js/view/shipping-mixin.js
+16
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/js/view/summary/abstract-total-mixin.js
+20
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
View file @
aa151b37
...
@@ -10,8 +10,44 @@
...
@@ -10,8 +10,44 @@
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<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=
"checkout.root"
>
<arguments>
<argument
name=
"jsLayout"
xsi:type=
"array"
>
<item
name=
"components"
xsi:type=
"array"
>
<item
name=
"checkout"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"steps"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"shipping-step"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"shippingAddress"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"before-shipping-method-form"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"shipping_policy"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Shipping/js/view/checkout/shipping/shipping-policy
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
<referenceContainer
name=
"content"
>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.footer"
template=
"Magento_Checkout::footer.phtml"
/>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.footer"
template=
"Magento_Checkout::footer.phtml"
/>
</referenceContainer>
</referenceContainer>
</body>
</body>
</page>
</page>
app/design/frontend/Joshine/breeze/Magento_Checkout/requirejs-config.js
View file @
aa151b37
...
@@ -8,6 +8,12 @@ var config = {
...
@@ -8,6 +8,12 @@ var config = {
mixins
:
{
mixins
:
{
'Magento_Theme/js/view/messages'
:
{
'Magento_Theme/js/view/messages'
:
{
'Magento_Checkout/js/view/messages-mixin'
:
true
'Magento_Checkout/js/view/messages-mixin'
:
true
},
'Magento_Checkout/js/view/summary/abstract-total'
:
{
'Magento_Checkout/js/view/summary/abstract-total-mixin'
:
true
},
'Magento_Checkout/js/view/shipping'
:
{
'Magento_Checkout/js/view/shipping-mixin'
:
true
}
}
}
}
}
}
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
View file @
aa151b37
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
.cart-class
{
.cart-class
{
margin-top
:
3%
;
margin-top
:
3%
;
margin-left
:
0px
!important
;
margin-left
:
0px
!important
;
margin-bottom
:
-2
%
!important
;
margin-bottom
:
1
%
!important
;
}
}
.activation
{
.activation
{
font-size
:
20px
;
font-size
:
20px
;
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/js/view/shipping-mixin.js
0 → 100644
View file @
aa151b37
define
([
'Magento_Checkout/js/model/cart/estimate-service'
],
function
(
estimateService
)
{
'use strict'
;
var
mixin
=
{
initialize
:
function
()
{
this
.
_super
();
}
};
return
function
(
target
)
{
return
target
.
extend
(
mixin
);
};
});
\ No newline at end of file
app/design/frontend/Joshine/breeze/Magento_Checkout/web/js/view/summary/abstract-total-mixin.js
0 → 100644
View file @
aa151b37
define
([
],
function
()
{
'use strict'
;
return
function
(
Component
)
{
return
Component
.
extend
({
isFullMode
:
function
()
{
var
result
=
this
.
_super
();
if
(
!
this
.
getTotals
())
{
return
false
;
}
return
true
;
}
});
};
});
\ No newline at end of file
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