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