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
8f49f45d
Commit
8f49f45d
authored
Nov 07, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化购物车列表字体颜色
parent
09e569bf
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
138 additions
and
1 deletions
+138
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/shipping-estimation.html
+17
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/shipping-rates.html
+40
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals.html
+16
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/grand-total.html
+14
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/shipping.html
+14
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/subtotal.html
+12
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
+11
-0
app/design/frontend/Joshine/breeze/Magento_SalesRule/web/template/cart/totals/discount.html
+1
-1
app/design/frontend/Joshine/breeze/web/css/_custom.less
+13
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/shipping-estimation.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<form
method=
"post"
id=
"shipping-zip-form"
>
<fieldset
class=
"fieldset estimate"
>
<legend
class=
"legend"
>
<span
data-bind=
"text: isVirtual ? $t('Estimate Tax') : $t('Estimate Shipping and Tax') "
></span>
</legend><br>
<p
class=
"field note"
data-bind=
"text: isVirtual ? $t('Enter your billing address to get a tax estimate.') : $t('Enter your destination to get a shipping estimate.')"
></p>
<!-- ko foreach: getRegion('address-fieldsets') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</fieldset>
</form>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/shipping-rates.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<form
id=
"co-shipping-method-form"
data-bind=
"blockLoader: isLoading, visible: isVisible()"
>
<p
class=
"field note"
data-bind=
"visible: (!isLoading() && shippingRates().length <= 0)"
>
<!-- ko text: $t('Sorry, no quotes are available for this order at this time')--><!-- /ko -->
</p>
<fieldset
class=
"fieldset rate"
data-bind=
"visible: (shippingRates().length > 0)"
>
<dl
class=
"items methods"
data-bind=
"foreach: shippingRateGroups"
>
<dt
class=
"item-title"
><span
data-bind=
"text: $data"
></span></dt>
<dd
class=
"item-options"
data-bind=
"foreach: { data:$parent.getRatesForGroup($data), as: 'method' }"
>
<div
data-bind=
"css: {'field choice item': available, 'message error': !available} "
>
<!-- ko ifnot: (available) -->
<div
data-bind=
"text: error_message"
></div>
<!-- /ko -->
<!-- ko if: (available) -->
<input
type=
"radio"
class=
"radio"
data-bind=
"
click: $parents[1].selectShippingMethod,
checked: $parents[1].selectedShippingMethod,
attr: {
value: carrier_code + '_' + method_code,
id: 's_method_' + carrier_code + '_' + method_code,
disabled: false
}
"
/>
<label
class=
"label"
data-bind=
"attr: {for: 's_method_' + carrier_code + '_' + method_code}"
>
<!-- ko text: $data.method_title --><!-- /ko -->
<each
args=
"element.getRegion('price')"
render=
""
></each>
</label>
<!-- /ko -->
</div>
</dd>
</dl>
</fieldset>
</form>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div
class=
"table-wrapper"
data-bind=
"blockLoader: isLoading"
>
<table
class=
"data table totals"
>
<caption
class=
"table-caption"
data-bind=
"text: $t('Total')"
></caption>
<tbody>
<!-- ko foreach: elems() -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</tbody>
</table>
</div>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/grand-total.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<tr
class=
"grand totals"
style=
"font-size: 22px;"
>
<th
class=
"mark"
colspan=
"1"
scope=
"row"
>
<strong
data-bind=
"i18n: title"
></strong>
</th>
<td
class=
"amount"
data-th=
"Order Total"
>
<strong><span
class=
"price"
data-bind=
"text: getValue()"
></span></strong>
</td>
</tr>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/shipping.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko if: isCalculated() -->
<tr
class=
"totals shipping excl"
>
<th
class=
"mark"
colspan=
"1"
scope=
"row"
data-bind=
"text: title + ' (' + getShippingMethodTitle() + ')'"
></th>
<td
class=
"amount"
>
<span
class=
"price"
data-bind=
"text: getValue()"
></span>
</td>
</tr>
<!-- /ko -->
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/cart/totals/subtotal.html
0 → 100644
View file @
8f49f45d
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<tr
class=
"totals sub"
>
<th
class=
"mark"
colspan=
"1"
scope=
"row"
data-bind=
"i18n: title"
></th>
<td
class=
"amount"
data-th=
"Subtotal"
>
<span
class=
"price"
data-bind=
"text: getValue()"
></span>
</td>
</tr>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
View file @
8f49f45d
...
...
@@ -34,6 +34,8 @@
<div
class=
"product-item-pricing"
>
<div
class=
"details-qty qty"
>
<label
class=
"label"
data-bind=
"i18n: 'Qty', attr: {
for: 'cart-item-'+item_id+'-qty'}"
></label>
<input
data-bind=
"attr: {
id: 'cart-item-'+item_id+'-qty',
'data-cart-item': item_id,
...
...
@@ -43,6 +45,15 @@
type=
"number"
size=
"4"
class=
"item-qty cart-item-qty"
/>
<button
data-bind=
"attr: {
id: 'update-cart-item-'+item_id,
'data-cart-item': item_id,
title: $t('Update')
}"
class=
"update-cart-item"
style=
"display: none"
>
<span
data-bind=
"i18n: 'Update'"
></span>
</button>
<!-- ko if: canApplyMsrp -->
<div
class=
"details-map"
>
<span
class=
"label"
data-bind=
"i18n: 'Price'"
></span>
...
...
app/design/frontend/Joshine/breeze/Magento_SalesRule/web/template/cart/totals/discount.html
View file @
8f49f45d
...
...
@@ -5,7 +5,7 @@
*/
-->
<!-- ko if: isDisplayed() -->
<tr
class=
"totals"
>
<tr
class=
"totals"
style=
"color:#FF0000; "
>
<th
colspan=
"1"
style=
""
class=
"mark"
scope=
"row"
>
<span
class=
"title"
data-bind=
"text: getTitle()"
></span>
<span
class=
"discount coupon"
data-bind=
"text: getCouponLabel()"
></span>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
8f49f45d
...
...
@@ -2217,6 +2217,19 @@ strong.subtitle.empty{
font-weight: 600;
font-size: 18px;
}
.minicart-items .price-container{
margin: 0.25rem 0;
margin-left: 30%;
margin-top: -16%;
}
@media(min-width: 1024px) {
button.action.primary.checkout{
height: 50px;
}
}
...
...
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