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
89435338
Commit
89435338
authored
Nov 07, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加购物车摘要文件
parent
8f49f45d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
156 additions
and
0 deletions
+156
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/grand-total.html
+19
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details.html
+52
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/message.html
+9
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/subtotal.html
+7
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/thumbnail.html
+13
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/shipping.html
+24
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/subtotal.html
+16
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/totals.html
+16
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/grand-total.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko if: isDisplayed() -->
<tr
class=
"grand totals"
style=
"font-size: 22px;"
>
<td
class=
"mark"
scope=
"row"
>
<strong
data-bind=
"i18n: title"
></strong>
</td>
<td
class=
"amount"
data-bind=
"attr: {'data-th': $t(title)}"
>
<strong><span
class=
"price"
data-bind=
"text: getValue()"
></span></strong>
<!-- ko foreach: elems() -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</td>
</tr>
<!-- /ko -->
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko foreach: getRegion('before_details') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div
class=
"product-item-details"
>
<div
class=
"product-item-inner"
>
<div
class=
"product-item-name-block"
>
<strong
class=
"product-item-name"
data-bind=
"html: getNameUnsanitizedHtml($parent)"
></strong>
<div
class=
"details-qty"
>
<span
class=
"label"
>
<!-- ko i18n: 'Qty' --><!-- /ko -->
</span>
<span
class=
"value"
data-bind=
"text: $parent.qty"
></span>
</div>
</div>
<!-- ko foreach: getRegion('after_details') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<!-- ko if: (JSON.parse($parent.options).length > 0)-->
<div
class=
"product options"
data-bind=
"mageInit: {'collapsible':{'openedState': 'active'}}"
>
<span
data-role=
"title"
class=
"toggle"
>
<!-- ko i18n: 'View Details' --><!-- /ko -->
</span>
<div
data-role=
"content"
class=
"content"
>
<strong
class=
"subtitle"
>
<!-- ko i18n: 'Options Details' --><!-- /ko -->
</strong>
<dl
class=
"item-options"
>
<!--ko foreach: JSON.parse($parent.options)-->
<dt
class=
"label"
data-bind=
"text: label"
></dt>
<!-- ko if: ($data.full_view)-->
<!-- ko with: {full_viewUnsanitizedHtml: $data.full_view}-->
<dd
class=
"values"
data-bind=
"html: full_viewUnsanitizedHtml"
></dd>
<!-- /ko -->
<!-- /ko -->
<!-- ko ifnot: ($data.full_view)-->
<!-- ko with: {valueUnsanitizedHtml: $data.value}-->
<dd
class=
"values"
data-bind=
"html: valueUnsanitizedHtml"
></dd>
<!-- /ko -->
<!-- /ko -->
<!-- /ko -->
</dl>
</div>
</div>
<!-- /ko -->
</div>
<!-- ko foreach: getRegion('item_message') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/message.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div
class=
"cart item message notice"
if=
"getMessage($parents[1])"
>
<div
data-bind=
"text: getMessage($parents[1])"
></div>
</div>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/subtotal.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<span
class=
"subtotal"
data-bind=
"text: getValue($parents[1])"
></span>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/item/details/thumbnail.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<span
class=
"product-image-container"
data-bind=
"attr: {'style': 'height: ' + getHeight($parents[1])/2 + 'px; width: ' + getWidth($parents[1])/2 + 'px;' }"
>
<span
class=
"product-image-wrapper"
>
<img
data-bind=
"attr: {'src': getSrc($parents[1]), 'width': getWidth($parents[1]), 'height': getHeight($parents[1]), 'alt': getAlt($parents[1]), 'title': getAlt($parents[1]) }"
/>
</span>
</span>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/shipping.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko if: quoteIsVirtual == 0 -->
<tr
class=
"totals shipping excl"
>
<th
class=
"mark"
scope=
"row"
>
<span
class=
"label"
data-bind=
"i18n: title"
></span>
<span
class=
"value"
data-bind=
"text: getShippingMethodTitle()"
></span>
</th>
<td
class=
"amount"
>
<!-- ko if: isCalculated() -->
<span
class=
"price"
data-bind=
"text: getValue(), attr: {'data-th': title}"
></span>
<!-- /ko -->
<!-- ko ifnot: isCalculated() -->
<span
class=
"not-calculated"
data-bind=
"text: getValue(), attr: {'data-th': title}"
></span>
<!-- /ko -->
</td>
</tr>
<!-- /ko -->
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/subtotal.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<tr
class=
"totals"
>
<th
class=
"mark"
scope=
"row"
data-bind=
"text: title"
></th>
<td
class=
"amount"
>
<span
class=
"price"
data-bind =
"text: getValue(), attr:{'data-label': title}"
></span>
<!-- ko foreach: elems() -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</td>
</tr>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/totals.html
0 → 100644
View file @
89435338
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko if: isDisplayed() -->
<table
class=
"data table table-totals"
>
<caption
class=
"table-caption"
data-bind=
"i18n: 'Order Summary'"
></caption>
<tbody>
<!-- ko foreach: elems() -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</tbody>
</table>
<!-- /ko -->
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