From eef540852c229edbf3d07d042acf9197d9034c57 Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 26 Apr 2024 14:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/intimate.vue | 2 +- pages/news/recycling/detail.vue | 1 + pages/news/recycling/index.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/activity/intimate.vue b/pages/activity/intimate.vue index 7176738..7d28b26 100644 --- a/pages/activity/intimate.vue +++ b/pages/activity/intimate.vue @@ -140,7 +140,7 @@ } else if (index == 2) { uni.setStorageSync("getInfo", a) uni.navigateTo({ - url: "/pages/news/recycling/detail?type=1" + url: "/pages/news/recycling/detail?type="+1 }) } }, diff --git a/pages/news/recycling/detail.vue b/pages/news/recycling/detail.vue index 4a9bc33..b01c559 100644 --- a/pages/news/recycling/detail.vue +++ b/pages/news/recycling/detail.vue @@ -194,6 +194,7 @@ } }, openPage(index) { + console.log(index) if (index == 2) { this.isShow = true; } else if (index == 3) { diff --git a/pages/news/recycling/index.vue b/pages/news/recycling/index.vue index 1417508..6c8cf38 100644 --- a/pages/news/recycling/index.vue +++ b/pages/news/recycling/index.vue @@ -76,7 +76,7 @@ type: 'serve_notice' }) .then(result => { - if (result.data.detail.content) { + if (result.data.detail) { app.list.push(this.formatRichText(result.data.detail.content)) } })