From 02243a0b88b81683e8063fe8eb66d921e6805719 Mon Sep 17 00:00:00 2001 From: ISFP_T <68358856@qq.com> Date: Wed, 15 Apr 2026 09:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 4 ++-- src/pages-store/pages/store/dishes.vue | 2 +- src/pages/home/components/tabbar-home/tabbar-home.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 31db2de..860c259 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,8 +2,8 @@ "name" : "CHEFLINK delivery", "appid" : "__UNI__06509BE", "description" : "", - "versionName" : "3.1.0", - "versionCode" : 310, + "versionName" : "3.1.2", + "versionCode" : 312, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/src/pages-store/pages/store/dishes.vue b/src/pages-store/pages/store/dishes.vue index 7d94621..c4ce1e2 100644 --- a/src/pages-store/pages/store/dishes.vue +++ b/src/pages-store/pages/store/dishes.vue @@ -388,7 +388,7 @@ const specPopupDisplayPrice = computed(() => { const detailDisplayPrice = computed(() => { const dish = dishDetailData.value as any; - const firstSpecPrice = dish?.merchantSideDishVoList?.[0]?.merchantSideDishItemVoList?.[0]?.price; + const firstSpecPrice = dish?.merchantSideDishVoList?.[0]?.merchantSideDishItemVoList?.[0]?.actualSalePrice; if (firstSpecPrice != null && String(firstSpecPrice) !== "") { return firstSpecPrice; } diff --git a/src/pages/home/components/tabbar-home/tabbar-home.vue b/src/pages/home/components/tabbar-home/tabbar-home.vue index 0dd4454..6c11f8d 100644 --- a/src/pages/home/components/tabbar-home/tabbar-home.vue +++ b/src/pages/home/components/tabbar-home/tabbar-home.vue @@ -49,7 +49,7 @@ function getDishPromoLabel(item: Record): string { } function getFeaturedDishDisplayPrice(item: Record) { - const firstSpecPrice = item?.merchantSideDishVoList?.[0]?.merchantSideDishItemVoList?.[0]?.price + const firstSpecPrice = item?.merchantSideDishVoList?.[0]?.merchantSideDishItemVoList?.[0]?.actualSalePrice if (firstSpecPrice != null && String(firstSpecPrice) !== '') return firstSpecPrice if (item?.actualSalePrice != null && String(item.actualSalePrice) !== '') return item.actualSalePrice return item?.discountPrice ?? 0