Commit 77f299d6 by lmf

优化上一步样式

parent 0f5021f2
...@@ -55,9 +55,6 @@ ...@@ -55,9 +55,6 @@
<each args="getRegion('subtotalContainer')" render=""></each> <each args="getRegion('subtotalContainer')" render=""></each>
</div> </div>
</if> </if>
<ifnot args="getCartParam('summary_count')"> <ifnot args="getCartParam('summary_count')">
<strong class="subtitle empty" <strong class="subtitle empty"
translate="'You have no items in your shopping cart.'"></strong> translate="'You have no items in your shopping cart.'"></strong>
...@@ -72,22 +69,9 @@ ...@@ -72,22 +69,9 @@
</div> </div>
</if> </if>
</ifnot> </ifnot>
<div class="actions" if="getCartParam('summary_count')">
<div class="secondary">
<button
id="top-cart-btn-viewcart"
type="button"
class="action viewcart"
data-action="close"
data-bind="attr: {href: shoppingCartUrl}"
translate="'View and Edit Cart'" style="background: #ffa800;">
</button>
</div>
</div>
<div class="actions" if="getCartParam('summary_count')"> <div class="actions" if="getCartParam('summary_count')">
<div class="secondary"> <div class="secondary" style="background: #ffa800;width: 100%;color: #fff;font-size: 18px;height: 35px;">
<a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}"> <a class="action viewcart" data-bind="attr: {href: shoppingCartUrl}" style="vertical-align: sub;color: #ffff;">
<span translate="'View and Edit Cart'"></span> <span translate="'View and Edit Cart'"></span>
</a> </a>
</div> </div>
......
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