From 6e018a7200675f9d3af4f3beeffa9d5442e9e505 Mon Sep 17 00:00:00 2001 From: wangchenguang <728837162@qq.com> Date: Tue, 18 Apr 2023 15:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/index.js | 4 +++ src/mixins/estate/index.js | 21 ++++++++--- src/pages/article/activity.vue | 1 + src/pages/column/index.vue | 66 +++++++++++++++++++++++++++++----- 4 files changed, 79 insertions(+), 13 deletions(-) diff --git a/src/i18n/index.js b/src/i18n/index.js index fe931a3..7adbe1f 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -22,6 +22,8 @@ export const messages = { speaker: '主讲人', series: '演讲系列', all: '全部', + readDetail: '阅读详情', + offline:'线下' } }, 'en': { @@ -47,6 +49,8 @@ export const messages = { speaker: 'Speaker', series: 'Series', all: 'All', + readDetail: 'Read Detail', + offline: 'Offline' } } }; \ No newline at end of file diff --git a/src/mixins/estate/index.js b/src/mixins/estate/index.js index 7a64643..86de08c 100644 --- a/src/mixins/estate/index.js +++ b/src/mixins/estate/index.js @@ -30,13 +30,24 @@ export default { this.$router.push(path + '&siteId=3') }, tabChangeNewPage(i) { + console.log("process.env.NODE_ENV === 'development'",) + const devServer = process.env.NODE_ENV === 'development' + let path + if (devServer) { + path = '/estate/survey?id=258' + if (i == 1) path = '/estate/event?id=259' + if (i == 2) path = '/estate/orgSetup?id=270' + if (i == 3) path = '/estate/location?id=261' + }else { + path = '/estate/survey?id=233' + if (i == 1) path = '/estate/event?id=234' + if (i == 2) path = '/estate/orgSetup?id=235' + if (i == 3) path = '/estate/location?id=236' + } this.active = i // 跳转到固定的长页,这里的id不能变 - let path = '/estate/survey?id=258' - if (i == 1) path = '/estate/event?id=259' - if (i == 2) path = '/estate/orgSetup?id=270' - if (i == 3) path = '/estate/location?id=261' - this.$router.push(path + '&siteId=3') + console.log('path=>',path) + this.$router.push(path + '&siteId=5') } } }; \ No newline at end of file diff --git a/src/pages/article/activity.vue b/src/pages/article/activity.vue index 27e65b1..454a843 100644 --- a/src/pages/article/activity.vue +++ b/src/pages/article/activity.vue @@ -8,6 +8,7 @@
+ diff --git a/src/pages/column/index.vue b/src/pages/column/index.vue index 29847de..2f43908 100644 --- a/src/pages/column/index.vue +++ b/src/pages/column/index.vue @@ -34,6 +34,29 @@ +{{ item.date }}
@@ -72,17 +99,18 @@{{ item.classificationName }}
-