diff --git a/src/pages-sub/detail/index.vue b/src/pages-sub/detail/index.vue index 8ec886e..2a6b37b 100644 --- a/src/pages-sub/detail/index.vue +++ b/src/pages-sub/detail/index.vue @@ -39,7 +39,11 @@ const images = computed(() => { ); }); const badge = computed(() => merchant.value?.type_label || ""); -const introTitle = computed(() => String(merchant.value?.intro_label || "").trim() || "介绍"); +/** 介绍卡标题:接口 intro_label + 「介绍」 */ +const introTitle = computed(() => { + const label = String(merchant.value?.intro_label || "").trim(); + return label ? `${label}介绍` : "介绍"; +}); const addressText = computed(() => merchant.value?.address || ""); const phone = computed(() => merchant.value?.contact_phone || ""); const businessHours = computed(() => merchant.value?.business_hours || ""); @@ -190,7 +194,7 @@ onShareAppMessage(() => ({ - + {{ introTitle }}