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
02b6203e
Commit
02b6203e
authored
Apr 28, 2023
by
liumengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化迷你购物车样式
parent
5caabf02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
+6
-6
app/design/frontend/Joshine/breeze/web/css/_custom.less
+8
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
View file @
02b6203e
...
@@ -9,14 +9,14 @@
...
@@ -9,14 +9,14 @@
<!-- ko if: product_has_url -->
<!-- ko if: product_has_url -->
<a
data-bind=
"attr: {href: product_url, title: product_name}"
tabindex=
"-1"
class=
"product-item-photo"
>
<a
data-bind=
"attr: {href: product_url, title: product_name}"
tabindex=
"-1"
class=
"product-item-photo"
>
<!-- ko foreach: $parent.getRegion('itemImage') -->
<!-- ko foreach: $parent.getRegion('itemImage') -->
<!-- ko template: {name: getTemplate(), data: item.product_image} --><!-- /ko -->
<!-- ko template: {name: getTemplate(), data: item.product_image} --><!-- /ko -->
<!-- /ko -->
<!-- /ko -->
</a>
</a>
<!-- /ko -->
<!-- /ko -->
<!-- ko ifnot: product_has_url -->
<!-- ko ifnot: product_has_url -->
<span
class=
"product-item-photo"
>
<span
class=
"product-item-photo"
>
<!-- ko foreach: $parent.getRegion('itemImage') -->
<!-- ko foreach: $parent.getRegion('itemImage') -->
<!-- ko template: {name: getTemplate(), data: item.product_image} --><!-- /ko -->
<!-- ko template: {name: getTemplate(), data: item.product_image} --><!-- /ko -->
<!-- /ko -->
<!-- /ko -->
</span>
</span>
<!-- /ko -->
<!-- /ko -->
...
@@ -27,25 +27,25 @@
...
@@ -27,25 +27,25 @@
<a
data-bind=
"attr: {href: product_url}, html: $parent.getProductNameUnsanitizedHtml(product_name)"
></a>
<a
data-bind=
"attr: {href: product_url}, html: $parent.getProductNameUnsanitizedHtml(product_name)"
></a>
<!-- /ko -->
<!-- /ko -->
<!-- ko ifnot: product_has_url -->
<!-- ko ifnot: product_has_url -->
<span
data-bind=
"html: $parent.getProductNameUnsanitizedHtml(product_name)"
></span>
<span
data-bind=
"html: $parent.getProductNameUnsanitizedHtml(product_name)"
></span>
<!-- /ko -->
<!-- /ko -->
</strong>
</strong>
<div
class=
"product-item-pricing"
style=
"font-size:
20
px;"
>
<div
class=
"product-item-pricing"
style=
"font-size:
18
px;"
>
<div
class=
"details-qty qty"
>
<div
class=
"details-qty qty"
>
<span
class=
"qty-wrapper"
data-bind=
"html: qty"
></span>
*
<!-- ko if: canApplyMsrp -->
<!-- ko if: canApplyMsrp -->
<div
class=
"details-map"
>
<div
class=
"details-map"
>
<span
class=
"label"
data-bind=
"i18n: 'Price'"
></span>
<span
class=
"label"
data-bind=
"i18n: 'Price'"
></span>
<span
class=
"value"
data-bind=
"i18n: 'See price before order confirmation.'"
></span>
<span
class=
"value"
data-bind=
"i18n: 'See price before order confirmation.'"
></span>
</div>
</div>
<!-- /ko -->
<!-- /ko -->
x
<span
class=
"qty-wrapper"
data-bind=
"html: qty"
></span>
</div>
</div>
<!-- ko ifnot: canApplyMsrp -->
<!-- ko ifnot: canApplyMsrp -->
<!-- ko foreach: $parent.getRegion('priceSidebar') -->
<!-- ko foreach: $parent.getRegion('priceSidebar') -->
<!-- ko template: {name: getTemplate(), data: item.product_price, as: 'price'} --><!-- /ko -->
<!-- ko template: {name: getTemplate(), data: item.product_price, as: 'price'} --><!-- /ko -->
<!-- /ko -->
<!-- /ko -->
<!-- /ko -->
<!-- /ko -->
</div>
</div>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
02b6203e
...
@@ -904,6 +904,14 @@ p.shopbycate-title {
...
@@ -904,6 +904,14 @@ p.shopbycate-title {
width: 100%;
width: 100%;
padding: 2px 0px;
padding: 2px 0px;
font-size: 20px;
font-size: 20px;
}
.amount.price-container {
font-size: 20px;
margin-left: 10px;
}
div#cart-totals{
margin-bottom: 20px;
margin-bottom: 20px;
}
}
.discount-area{
.discount-area{
...
...
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