From cced54aaa43a25e27f873f63043ab78417efca0a Mon Sep 17 00:00:00 2001 From: weiwei Date: Sat, 20 Sep 2025 17:26:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=B8=B4=E6=97=B6=E5=95=86=E6=88=B7?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=9A=84=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/integrated/notice/detail.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/integrated/notice/detail.vue b/src/pages/integrated/notice/detail.vue index c83e0c3..e0d6efd 100644 --- a/src/pages/integrated/notice/detail.vue +++ b/src/pages/integrated/notice/detail.vue @@ -23,6 +23,7 @@ {{ formatFileSize(file.size) }} + 去 领 券 @@ -31,8 +32,14 @@ import { computed, ref } from "vue" import { onLoad } from "@dcloudio/uni-app" import { noticeApi } from "@/sheep/api" +const noticeId = ref("") const detail = ref({}) +// 临时商户活动的通知公告跳转链接 +const goGetCoupon = () => { + uni.navigateTo({ url: "/pages/merchant/merchant-activity" }) +} + const nodes = computed(() => { return detail.value.description?.replaceAll(` { const id = options.id if (!id) return - // 临时商户活动的通知公告跳转链接 - if (id == "1969326082705055746") return uni.navigateTo({ url: "/pages/merchant/merchant-activity" }) + noticeId.value = id try { // 增加浏览量