Commit a4d666a8 by dhn

minicart修改

parent 2d66575a
......@@ -44,14 +44,6 @@
<div class="items-total" style="display: block;font-size: inherit;font-family: 'Outfit-Regular';">
<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>
<!--/ko-->
<!-- ko if: (getCartParam('summary_count') === 1) -->
<span translate="'Item in Cart'"></span>
<!--/ko-->
<each args="getRegion('subtotalContainer')" render=""></each>
</div>
</if>
......@@ -61,20 +53,20 @@
<if args="getCartParam('cart_empty_message')">
<p class="minicart empty text" text="getCartParam('cart_empty_message')"></p>
<div class="actions">
<a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}">
<div class="secondary">
<a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}">
<span translate="'View and Edit Cart'"></span>
</a>
</div>
</a>
</div>
</if>
</ifnot>
<div class="actions" if="getCartParam('summary_count')">
<div class="secondary" style="background: #ffa800;width: 100%;color: #fff;font-size: 18px;height: 35px;">
<a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}" style="vertical-align: sub;color: #ffff;">
<span translate="'View and Edit Cart'"></span>
</a>
</div>
<a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}" style="vertical-align: sub;color: #ffff;">
<div class="secondary" style="background: #ffa800;width: 100%;color: #fff;font-size: 18px;height: 35px;line-height: 35px;">
<span translate="'View and Edit Cart'"></span>
</div>
</a>
</div>
<div id="minicart-widgets" class="minicart-widgets" if="regionHasElements('promotion')">
......
......@@ -4,9 +4,9 @@
* See COPYING.txt for license details.
*/
-->
<div class="subtotal" style="width: 47%;float: right;">
<div class="subtotal">
<span class="label">
<!-- ko i18n: 'Cart Subtotal' --><!-- /ko -->
<!-- ko i18n: 'Total' --><!-- /ko -->
</span>
:
<!-- ko foreach: elems -->
......
......@@ -2752,11 +2752,14 @@ strong.subtitle.empty{
.block-minicart .subtotal{
display: flex;
justify-content: space-between;
font-weight: 500;
font-size: 18px;
justify-content: right;
font-weight: normal;
font-size: 16px;
margin:0px;
}
.block-minicart .amount.price-container{
margin-right: 1rem;
}
.minicart-items .price-container{
font-size: 12px;
}
......
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