Commit c31bd9b9 by lmf

测试购物车列表支付按钮

parent 751fa6c1
......@@ -15,7 +15,7 @@ use Magento\Framework\Escaper;
<?php if ($block->isPossibleOnepageCheckout()): ?>
<button type="button"
data-role="proceed-to-checkout"
title="<?= $escaper->escapeHtmlAttr(__('Proceed to Checkout')) ?>"
title="<?= $escaper->escapeHtmlAttr(__('Checkout Now')) ?>"
data-mage-init='{
"Magento_Checkout/js/proceed-to-checkout":{
"checkoutUrl":"<?= $escaper->escapeJs($block->getCheckoutUrl()) ?>"
......@@ -25,6 +25,6 @@ use Magento\Framework\Escaper;
<?php if ($block->isDisabled()): ?>
disabled="disabled"
<?php endif; ?>>
<span><?= $escaper->escapeHtml(__('Proceed to Checkout')) ?></span>
<span><?= $escaper->escapeHtml(__('Checkout Now')) ?></span>
</button>
<?php endif?>
......@@ -42,6 +42,8 @@
<if args="getCartParam('summary_count')">
<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>
<!-- ko if: (getCartParam('summary_count') > 1) -->
<span translate="'Items in Cart'"></span>
......
......@@ -34,27 +34,7 @@
<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>
<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>
<span class="qty-wrapper" data-bind="html: qty"></span> *
<!-- ko if: canApplyMsrp -->
<div class="details-map">
<span class="label" data-bind="i18n: 'Price'"></span>
......
......@@ -1635,7 +1635,8 @@ footer{
width: 100%;
display: inline-block;
color: #333333;
font-size: 12px;
font-size: 10px;
line-height: 15px;
}
......@@ -2299,11 +2300,19 @@ tr.grand.totals {
.cart.table .actions-toolbar{
margin-top: -10%;
}
.cart.item .item-info td.col.item {
width: 60%;
}
}
tr.totals.discount{
color: #FF0000;
}
.cart-container .checkout-methods-items li:first-child{
background-color: #ffa800 ;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment