diff --git a/src/components/Index/IndexNewList.vue b/src/components/Index/IndexNewList.vue index 38312e2..dcc3e82 100644 --- a/src/components/Index/IndexNewList.vue +++ b/src/components/Index/IndexNewList.vue @@ -80,7 +80,7 @@ export default { // 跳转到详情界面 jumpDetails(item) { this.setActDetail(item); - this.$router.push('/ActDetails'); + this.$router.push('/ItDetails'); }, }, }; diff --git a/src/router/index.js b/src/router/index.js index 06068f2..49f1f3a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,6 +93,12 @@ const routes = [ name: 'ItInformation', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ItInformation/ItInformation.vue'), }, + // 行业资讯详情界面 + { + path: '/ItDetails', + name: 'ItDetails', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ItInformation/ItDetails.vue'), + }, // 活动公告界面 { path: '/Activity', diff --git a/src/views/Activity/ActDetails.vue b/src/views/Activity/ActDetails.vue index 63d1ec8..cd0e304 100644 --- a/src/views/Activity/ActDetails.vue +++ b/src/views/Activity/ActDetails.vue @@ -15,7 +15,10 @@
-{{ item.publishTime.split('-')[2] }}
-{{ item.title }}
-{{ item.intro }}
+{{ item.title }}
+{{ item.intro }}