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
c31bd9b9
Commit
c31bd9b9
authored
Nov 08, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试购物车列表支付按钮
parent
751fa6c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
30 deletions
+21
-30
app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml
+2
-2
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
+8
-6
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
+1
-21
app/design/frontend/Joshine/breeze/web/css/_custom.less
+10
-1
No files found.
app/code/Magento/Checkout/view/frontend/templates/onepage/link.phtml
View file @
c31bd9b9
...
@@ -15,7 +15,7 @@ use Magento\Framework\Escaper;
...
@@ -15,7 +15,7 @@ use Magento\Framework\Escaper;
<?php
if
(
$block
->
isPossibleOnepageCheckout
())
:
?>
<?php
if
(
$block
->
isPossibleOnepageCheckout
())
:
?>
<button
type=
"button"
<button
type=
"button"
data-role=
"proceed-to-checkout"
data-role=
"proceed-to-checkout"
title=
"
<?=
$escaper
->
escapeHtmlAttr
(
__
(
'
Proceed to Checkout
'
))
?>
"
title=
"
<?=
$escaper
->
escapeHtmlAttr
(
__
(
'
Checkout Now
'
))
?>
"
data-mage-init=
'{
data-mage-init=
'{
"Magento_Checkout/js/proceed-to-checkout":{
"Magento_Checkout/js/proceed-to-checkout":{
"checkoutUrl":"
<?=
$escaper
->
escapeJs
(
$block
->
getCheckoutUrl
())
?>
"
"checkoutUrl":"
<?=
$escaper
->
escapeJs
(
$block
->
getCheckoutUrl
())
?>
"
...
@@ -25,6 +25,6 @@ use Magento\Framework\Escaper;
...
@@ -25,6 +25,6 @@ use Magento\Framework\Escaper;
<?php
if
(
$block
->
isDisabled
())
:
?>
<?php
if
(
$block
->
isDisabled
())
:
?>
disabled=
"disabled"
disabled=
"disabled"
<?php
endif
;
?>
>
<?php
endif
;
?>
>
<span>
<?=
$escaper
->
escapeHtml
(
__
(
'
Proceed to Checkout
'
))
?>
</span>
<span>
<?=
$escaper
->
escapeHtml
(
__
(
'
Checkout Now
'
))
?>
</span>
</button>
</button>
<?php
endif
?>
<?php
endif
?>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
View file @
c31bd9b9
...
@@ -42,13 +42,15 @@
...
@@ -42,13 +42,15 @@
<if
args=
"getCartParam('summary_count')"
>
<if
args=
"getCartParam('summary_count')"
>
<div
class=
"items-total"
>
<div
class=
"items-total"
>
<span
class=
"count"
if=
"maxItemsToDisplay < getCartLineItemsCount()"
text=
"maxItemsToDisplay"
></span>
<translate
args=
"'of'"
if=
"maxItemsToDisplay < getCartLineItemsCount()"
></translate>
<span
class=
"count"
text=
"getCartParam('summary_count')"
></span>
<span
class=
"count"
text=
"getCartParam('summary_count')"
></span>
<!-- ko if: (getCartParam('summary_count') > 1) -->
<!-- ko if: (getCartParam('summary_count') > 1) -->
<span
translate=
"'Items in Cart'"
></span>
<span
translate=
"'Items in Cart'"
></span>
<!--/ko-->
<!--/ko-->
<!-- ko if: (getCartParam('summary_count') === 1) -->
<!-- ko if: (getCartParam('summary_count') === 1) -->
<span
translate=
"'Item in Cart'"
></span>
<span
translate=
"'Item in Cart'"
></span>
<!--/ko-->
<!--/ko-->
</div>
</div>
<each
args=
"getRegion('subtotalContainer')"
render=
""
></each>
<each
args=
"getRegion('subtotalContainer')"
render=
""
></each>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/item/default.html
View file @
c31bd9b9
...
@@ -34,27 +34,7 @@
...
@@ -34,27 +34,7 @@
<div
class=
"product-item-pricing"
>
<div
class=
"product-item-pricing"
>
<div
class=
"details-qty qty"
>
<div
class=
"details-qty qty"
>
<label
class=
"label"
data-bind=
"i18n: 'Qty', attr: {
<span
class=
"qty-wrapper"
data-bind=
"html: qty"
></span>
*
for: 'cart-item-'+item_id+'-qty'}"
></label>
<span
class=
"qty-wrapper"
data-bind=
"html: qty"
></span>
<input
data-bind=
"attr: {
id: 'cart-item-'+item_id+'-qty',
'data-cart-item': item_id,
'data-item-qty': qty,
'data-cart-item-id': product_sku
}, value: qty"
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 -->
<!-- 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>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
c31bd9b9
...
@@ -1635,7 +1635,8 @@ footer{
...
@@ -1635,7 +1635,8 @@ footer{
width: 100%;
width: 100%;
display: inline-block;
display: inline-block;
color: #333333;
color: #333333;
font-size: 12px;
font-size: 10px;
line-height: 15px;
}
}
...
@@ -2299,11 +2300,19 @@ tr.grand.totals {
...
@@ -2299,11 +2300,19 @@ tr.grand.totals {
.cart.table .actions-toolbar{
.cart.table .actions-toolbar{
margin-top: -10%;
margin-top: -10%;
}
}
.cart.item .item-info td.col.item {
width: 60%;
}
}
}
tr.totals.discount{
tr.totals.discount{
color: #FF0000;
color: #FF0000;
}
}
.cart-container .checkout-methods-items li:first-child{
background-color: #ffa800 ;
}
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