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 { // 增加浏览量