diff --git a/components/cart/cart.vue b/components/cart/cart.vue index 74dbfcaa..4759c1ff 100644 --- a/components/cart/cart.vue +++ b/components/cart/cart.vue @@ -1001,6 +1001,14 @@ } } if (selected_count <= 0) { + this.setData({ + preferential_price: 0, + increase_price: 0, + total_price: 0, + all_total_price: 0, + total_num: 0, + discount_detail_list: [], + }); return false; } diff --git a/lang/zh.json b/lang/zh.json index e299de1f..bf78a733 100644 --- a/lang/zh.json +++ b/lang/zh.json @@ -6,10 +6,10 @@ "es": "西班牙语" }, "common": { - "home":"首页", - "category":"分类", - "cart":"购物车", - "my":"我的", + "home": "首页", + "category": "分类", + "cart": "购物车", + "my": "我的", "confirm": "确认", "cancel": "取消", "not_yet": "暂不",