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)) } })