From ccc05b7b0d7fba2b2bdabb257e5e8888a5d67122 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Tue, 20 Jun 2023 18:33:51 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E6=96=87=E9=A6=96=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/libs/util.js | 2 +-
src/pages/article/activity.vue | 17 -
src/pages/article/index.vue | 16 +-
src/pages/iasf/index.vue | 791 +++++++++++++++++++++++++++++++
src/pages/industrial/index.vue | 1 -
src/pages/researchTeam/index.vue | 18 +-
src/pages/team/index.vue | 24 +-
src/router/modules/iasf.js | 14 +
8 files changed, 839 insertions(+), 44 deletions(-)
create mode 100644 src/pages/iasf/index.vue
create mode 100644 src/router/modules/iasf.js
diff --git a/src/libs/util.js b/src/libs/util.js
index 2228782..b55a3e6 100644
--- a/src/libs/util.js
+++ b/src/libs/util.js
@@ -10,7 +10,7 @@ const exts = {
doc: 'doc,docx,txt,xls,xlsx,csv,xml,ppt,pptx'
}
// 各个站点首页的路径
-const indexPath = ['/home', '/sfel', '/estate/index']
+const indexPath = ['/home', '/sfel', '/estate/index', '/iasf']
const util = {
local: _local,
//返回格式化时间,传参例如:"yyyy-MM-dd hh:mm:ss"
diff --git a/src/pages/article/activity.vue b/src/pages/article/activity.vue
index 8979602..1007953 100644
--- a/src/pages/article/activity.vue
+++ b/src/pages/article/activity.vue
@@ -62,8 +62,6 @@ export default {
value: 'id',
label: 'columnName'
},
- news: [],
- hots: []
}
},
components: {
@@ -78,7 +76,6 @@ export default {
},
mounted () {
this.getColumn()
- this.getArticle()
},
methods: {
// 获取文章详情
@@ -131,20 +128,6 @@ export default {
this.columns = data
this.getInfo()
}).catch(err => { })
-
- this.$post(`${this.api.hotContent}?siteId=${this.site}`).then(({ data }) => {
- this.hots = Util.removeTag(data)
- }).catch(err => { })
- },
- // 最新资讯
- getArticle () {
- this.$post(this.api.newlyPublishedArticles, {
- pageNum: 1,
- pageSize: 5,
- siteId: this.site
- }).then(({ data }) => {
- this.news = Util.removeTag(data.records)
- }).catch(res => { })
},
// 下载附件
download (e) {
diff --git a/src/pages/article/index.vue b/src/pages/article/index.vue
index 4e5378f..4082bb1 100644
--- a/src/pages/article/index.vue
+++ b/src/pages/article/index.vue
@@ -11,10 +11,12 @@
:data.sync="routes" />
-
{{ form.title }}
-
{{ form.source && form.source + ' | ' }} {{ form.author && form.author + ' | ' }} {{ form.totalBrowsing }} {{$t('column.views')}} | {{ form.releaseTime }}
-
{{ form.edit && $t('column.edit') + ':' + form.edit }} {{ form.audit && ' | ' + $t('column.auditor') + ':' + form.audit }} {{ form.label && ' | ' + $t('column.label') + ':' + form.label }}
-
{{ form.summary }}
+
+ {{ form.title }}
+ {{ form.source && form.source + ' | ' }} {{ form.author && form.author + ' | ' }} {{ form.totalBrowsing }} {{$t('column.views')}} | {{ form.releaseTime }}
+ {{ form.edit && $t('column.edit') + ':' + form.edit }} {{ form.audit && ' | ' + $t('column.auditor') + ':' + form.audit }} {{ form.label && ' | ' + $t('column.label') + ':' + form.label }}
+ {{ form.summary }}
+
+
+
+
+
+
{{ modules[0].form.title }}
+
{{ modules[0].form.des }}
+
+
+
+
+
+
+ -
+
+
+
{{ modules[1].form.title }}
+
{{ modules[1].form.des }}
+
+
+
+ -
+
+
+
{{ modules[2].form.title }}
+
{{ modules[2].form.des }}
+
+
+
+
+
+
+
+
+
+
{{ modules[3].form.title }}
+
+
+
+
+
+
+
{{ articles[0].title }}
+
+
{{ articles[0].releaseTime }} {{ articles[0].classificationName && ' | ' + articles[0].classificationName }}
+
+
+
+
+
+ -
+
+
+
{{ item.releaseTime }} {{ item.classificationName && ' | ' + item.classificationName }}
+
{{ item.title }}
+
+
+
+
+
+
+
+ -
+
+
+
{{ curArticle1.title }}
+
{{ curArticle1.source }}
+
+
{{ curArticle1.releaseTime }}
+
+
+
+ -
+
+
+
{{ curArticle2.title }}
+
{{ curArticle2.source }}
+
+
{{ curArticle2.releaseTime }}
+
+
+
+ -
+
+
+
{{ curArticle3.title }}
+
{{ curArticle3.source }}
+
+
{{ curArticle3.releaseTime }}
+
+
+
+
+
+
+
+
+
+
{{ modules[8].form.title }}
+
{{ modules[8 ].form.des }}
+
+ -
+
+
+
{{ item.title }}
+
岗位:{{ item.post }}
+
爱好:{{ item.post }}
+
+
+
+
+
+
{{$t('column.all')}}
+
+
+
+
+
+
+
{{ modules[10].form.title }}
+
{{ modules[10].form.des }}
+
+
+
{{ modules[11].form.title }}
+
+
这里跳转 >
+
+
+
+
+
+
+
+
+
+
{{ modules[12].form.title }}
+
+
+
+
+
+
+
+
+
+
+ -
+
+
{{ modules[13].form.title }}
+
+ -
+
+
{{ modules[14].form.title }}
+
+ -
+
+
{{ modules[15].form.title }}
+
+ -
+
+
{{ modules[16].form.title }}
+
+ -
+
+
{{ modules[17].form.title }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/industrial/index.vue b/src/pages/industrial/index.vue
index cbb2ade..8a6e02c 100644
--- a/src/pages/industrial/index.vue
+++ b/src/pages/industrial/index.vue
@@ -167,7 +167,6 @@ export default {
this.modules = json;
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json);
-
// 获取文章列表
const { column, articleNum } = json[9].form
if (column.length) {
diff --git a/src/pages/researchTeam/index.vue b/src/pages/researchTeam/index.vue
index 35ad25f..9188af6 100644
--- a/src/pages/researchTeam/index.vue
+++ b/src/pages/researchTeam/index.vue
@@ -26,14 +26,15 @@
- -
-
+
-
{{ item.name }}
-
/ {{ item.job }}
+
{{ item.title }}
+
/ {{ item.post }}
{
+ this.articles = Util.removeTag(data)
+ }).catch(err => { })
+ }
}
}).catch(err => { })
},
diff --git a/src/pages/team/index.vue b/src/pages/team/index.vue
index a650cde..afc4134 100644
--- a/src/pages/team/index.vue
+++ b/src/pages/team/index.vue
@@ -12,24 +12,18 @@
- -
-
+
-
孙冬柏
-
院长/深圳产业光源项目总经理
-
孙冬柏作为院领导,负责组织制定研究院的战略规划与实施监督,分管人才队伍建设、财务管理等方面工作,同时作为总指挥、总负责人,主持建设深圳产业光源项目。孙冬柏曾任中山大学常务副校长,层主持建设了“十一五”国家重大科技基础设施“重大工程材料服役安全研究评价设施”暨国家材料服役安全科学中心;担任分总体负责人,负责研制建设了“十二五”国家重大科技基础设施“高能同步辐射光源验证装置”—工程材料线站。
-
-
- -
-
-
-
孙冬柏
-
院长/深圳产业光源项目总经理
-
孙冬柏作为院领导,负责组织制定研究院的战略规划与实施监督,分管人才队伍建设、财务管理等方面工作,同时作为总指挥、总负责人,主持建设深圳产业光源项目。孙冬柏曾任中山大学常务副校长,层主持建设了“十一五”国家重大科技基础设施“重大工程材料服役安全研究评价设施”暨国家材料服役安全科学中心;担任分总体负责人,负责研制建设了“十二五”国家重大科技基础设施“高能同步辐射光源验证装置”—工程材料线站。
+
{{ item.title }}
+
{{ item.subTitle }}
+
diff --git a/src/router/modules/iasf.js b/src/router/modules/iasf.js
new file mode 100644
index 0000000..9fdd001
--- /dev/null
+++ b/src/router/modules/iasf.js
@@ -0,0 +1,14 @@
+import BasicLayout from '@/layouts/home'
+const name = 'iasf'
+export default {
+ path: `/${name}`,
+ component: BasicLayout,
+ children: [
+ {
+ name,
+ path: `/${name}`,
+ component: () => import(`@/pages/${name}`),
+ meta: { title: '' }
+ }
+ ]
+};