From 964017841eeb2b2efee827f91b7180a1970b04e4 Mon Sep 17 00:00:00 2001 From: chenghuan Date: Tue, 21 Apr 2026 13:19:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DVIP=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E5=9C=A8=E4=BB=B7=E6=A0=BC=E4=B8=8D=E4=B8=BAnull=E6=97=B6?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E8=AE=A1=E7=AE=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将manifest.json中的版本号更新至1.2.88,移除ACCESS_COARSE_LOCATION和ACCESS_FINE_LOCATION权限。同时,在购物页面中修复VIP价格计算逻辑,确保在价格不为null时进行计算。 --- manifest.json | 8 ++------ pages/peanut/shopping.vue | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 5073785..6b0b10b 100644 --- a/manifest.json +++ b/manifest.json @@ -13,8 +13,8 @@ } ], "sassImplementationName" : "node-sass", - "versionName" : "1.2.87", - "versionCode" : 1287, + "versionName" : "1.2.88", + "versionCode" : 1288, "app-plus" : { "compatible" : { "ignoreVersion" : true @@ -52,8 +52,6 @@ "permissions" : [ "", "", - "", - "", "", "", "", @@ -61,14 +59,12 @@ "", "", "", - "", "", "", "", "", "", "", - "", "", "", "", diff --git a/pages/peanut/shopping.vue b/pages/peanut/shopping.vue index f64d21e..e4e780e 100644 --- a/pages/peanut/shopping.vue +++ b/pages/peanut/shopping.vue @@ -165,7 +165,7 @@ this.cartList.forEach((item, index) => { let price = 0; if (item.checked) { - if (item.isVipPrice == 1 && item.vipPrice != 0) { + if (item.isVipPrice == 1 && item.vipPrice != 0 && item.vipPrice != null) { price = (item.productAmount * item.vipPrice).toFixed(2); } else { if (item.activityPrice && item.activityPrice > 0) {