Showing
3 changed files
with
6 additions
and
15 deletions
@@ -2,7 +2,11 @@ | @@ -2,7 +2,11 @@ | ||
2 | {{#if isSoldOut}} | 2 | {{#if isSoldOut}} |
3 | <span class="few-tag-expire">失效</span> | 3 | <span class="few-tag-expire">失效</span> |
4 | {{^}} | 4 | {{^}} |
5 | - <span class="checkbox icon-cb-checked iconfont"></span> | 5 | + {{#if isSelected}} |
6 | + <span class="checkbox icon-cb-checked iconfont"></span> | ||
7 | + {{^}} | ||
8 | + <span class="checkbox icon-checkbox iconfont"></span> | ||
9 | + {{/if}} | ||
6 | {{/if}} | 10 | {{/if}} |
7 | 11 | ||
8 | <div class="info"> | 12 | <div class="info"> |
@@ -76,16 +80,4 @@ | @@ -76,16 +80,4 @@ | ||
76 | </span> | 80 | </span> |
77 | </div> | 81 | </div> |
78 | </div> | 82 | </div> |
79 | - <!--<div class="opt-panel hide"> | ||
80 | - <div class="put-in-favorite"> | ||
81 | - <span class="iconfont"></span> | ||
82 | - <span>移入</span> | ||
83 | - 收藏夹 | ||
84 | - </div> | ||
85 | - <div class="del"> | ||
86 | - <span class="iconfont"></span> | ||
87 | - 删除 | ||
88 | - </div> | ||
89 | - </div>--> | ||
90 | - | ||
91 | </div> | 83 | </div> |
@@ -718,7 +718,7 @@ class CartModel | @@ -718,7 +718,7 @@ class CartModel | ||
718 | // 结算数据 | 718 | // 结算数据 |
719 | $result['price'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']); | 719 | $result['price'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']); |
720 | $result['activityPrice'] = Helpers::transPrice($data['shopping_cart_data']['discount_amount']); | 720 | $result['activityPrice'] = Helpers::transPrice($data['shopping_cart_data']['discount_amount']); |
721 | - $result['count'] = $data['shopping_cart_data']['goods_count']; | 721 | + $result['count'] = $data['shopping_cart_data']['selected_goods_count']; |
722 | $result['sumPrice'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']); | 722 | $result['sumPrice'] = Helpers::transPrice($data['shopping_cart_data']['order_amount']); |
723 | }while(0); | 723 | }while(0); |
724 | 724 |
@@ -45,7 +45,6 @@ class IndexController extends AbstractAction | @@ -45,7 +45,6 @@ class IndexController extends AbstractAction | ||
45 | 'shoppingCartPage' => true, | 45 | 'shoppingCartPage' => true, |
46 | 'shoppingCart' => CartModel::getCartData($uid, $shoppingKey) | 46 | 'shoppingCart' => CartModel::getCartData($uid, $shoppingKey) |
47 | ); | 47 | ); |
48 | - | ||
49 | // 渲染模板 | 48 | // 渲染模板 |
50 | $this->_view->display('index', $data); | 49 | $this->_view->display('index', $data); |
51 | } | 50 | } |
-
Please register or login to post a comment