app/assets/javascripts/rightnow_oms/app/templates/carts/show.hjs in rightnow_oms-0.0.4 vs app/assets/javascripts/rightnow_oms/app/templates/carts/show.hjs in rightnow_oms-0.1.1
- old
+ new
@@ -1,14 +1,14 @@
-<div class="cart-bar">
- <span>购物车 {{ cart.cartableCount }} 件</span>
- <span><a href='/rightnow_oms/cart'>去结算 >></a></span>
+<div class="r-cart-bar">
+ {{ view RightnowOms.ShowCartableCountView cartableCountBinding="cart.cartableCount" }}
</div>
-
-<div class="cart-items">
+<div class="r-cart-items">
<table>
{{#each cart.cartItems}}
{{ view RightnowOms.ShowCartItemView cartItemBinding="this" }}
{{/each}}
- <tr><td colspan="3">总计:¥{{ cart.total }}</td></tr>
</table>
+ <div class="r-bottom-bar">
+ <span>总计:<span class="r-money">¥{{ cart.total }}</span></span>
+ <span><a href="/rightnow_oms/cart">查看我的购物车</a></span>
+ </div>
</div>
-