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 b98d9ca..d7dfc62 100644
--- a/src/views/Activity/ActDetails.vue
+++ b/src/views/Activity/ActDetails.vue
@@ -19,10 +19,16 @@
+ 报名已结束
@@ -35,10 +41,27 @@ export default {
name: 'ActDetails',
components: { Enroll },
data() {
- return {};
+ return { nowData: '' };
},
computed: mapState('home', ['actDetail']),
- created() {},
+ created() {
+ // 获取当前时间
+ var aData = new Date();
+ console.log(aData); //Wed Aug 21 2019 10:00:58 GMT+0800 (中国标准时间)
+ this.nowData =
+ aData.getFullYear() +
+ '-' +
+ (aData.getMonth() + 1) +
+ '-' +
+ aData.getDate() +
+ ' ' +
+ aData.getHours() +
+ ':' +
+ aData.getMinutes() +
+ ':' +
+ aData.getSeconds();
+ console.log(this.nowData); //2019-8-20
+ },
methods: {},
};
diff --git a/src/views/ItInformation/ItDetails.vue b/src/views/ItInformation/ItDetails.vue
new file mode 100644
index 0000000..45c8087
--- /dev/null
+++ b/src/views/ItInformation/ItDetails.vue
@@ -0,0 +1,133 @@
+
+
+
+
+ {{ actDetail.title }}
+
+
+
+
+ {{ $moment(+actDetail.time * 1000).format('YYYY-MM-DD HH:mm:ss') }}
+
+
+
+ {{ actDetail.site }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ItInformation/ItInformation.vue b/src/views/ItInformation/ItInformation.vue
index 2abb836..4e51463 100644
--- a/src/views/ItInformation/ItInformation.vue
+++ b/src/views/ItInformation/ItInformation.vue
@@ -86,7 +86,7 @@ export default {
// 跳转到详情界面
jumpDetails(item) {
this.setActDetail(item);
- this.$router.push('/ActDetails');
+ this.$router.push('/ItDetails');
},
},
};
diff --git a/src/views/Policy/components/PolicyList.vue b/src/views/Policy/components/PolicyList.vue
index 14dd928..20c6818 100644
--- a/src/views/Policy/components/PolicyList.vue
+++ b/src/views/Policy/components/PolicyList.vue
@@ -39,8 +39,8 @@
{{ monthEnglish[item.publishTime.split('-')[1] - 1] }}.
{{ item.publishTime.split('-')[2] }}
- {{ item.title }}
- {{ item.intro }}
+ {{ item.title }}
+ {{ item.intro }}