From 5bd5dbdda91d830e00e684a7ea9ccc5e63cce5b1 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Tue, 16 Jan 2024 19:17:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E4=B8=8D=E9=80=89=E6=97=B6=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF?= =?UTF-8?q?=202024.1.16=20sws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/cart/cart.vue | 8 ++++++++ lang/zh.json | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) 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": "暂不",