Commit a4d666a8 by dhn

minicart修改

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