From d2c1ffdaf7cd4755431253a1f8af47e042493cb9 Mon Sep 17 00:00:00 2001 From: binbin0314 Date: Thu, 21 Jan 2021 09:41:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FooterPage/FriendShip.vue | 61 ++++++++++++++++++- .../Children/place/EntitySpace.vue | 3 +- .../Children/place/VirtualSpace.vue | 3 +- 3 files changed, 63 insertions(+), 4 deletions(-) diff --git a/src/components/FooterPage/FriendShip.vue b/src/components/FooterPage/FriendShip.vue index d092ca7..3c6643f 100644 --- a/src/components/FooterPage/FriendShip.vue +++ b/src/components/FooterPage/FriendShip.vue @@ -1,8 +1,15 @@ + @@ -12,9 +19,51 @@ export default { data() { return { str: '友情链接:', - lists: ['科技部', '发改委', '工信部', '太原市综改区', '山西省科技厅', '山西省工信厅', '山西省发改委', '太原市科技厅', '太原市发改委'], + lists: [ + { + name: '科技部', + url: 'http://www.most.gov.cn/', + }, + { + name: '发改委', + url: 'https://www.ndrc.gov.cn/', + }, + { + name: '工信部', + url: 'https://www.miit.gov.cn/', + }, + { + name: '太原市综改区', + url: 'http://zgq.shanxi.gov.cn/', + }, + { + name: '山西省科技厅', + url: 'http://kjt.shanxi.gov.cn/', + }, + { + name: '山西省工信厅', + url: 'http://gxt.shanxi.gov.cn/', + }, + { + name: '山西省发改委', + url: 'http://fgw.shanxi.gov.cn/', + }, + { + name: '太原市科技厅', + url: 'http://kjj.taiyuan.gov.cn/', + }, + { + name: '太原市发改委', + url: 'http://fgw.taiyuan.gov.cn/', + }, + ], }; }, + methods: { + jump(url) { + window.open(url); + }, + }, }; @@ -25,4 +74,12 @@ export default { font-size: 12px; color: rgba(0, 0, 0, 0.65); } + +.item-friend { + cursor: pointer; +} + +.item-friend:hover { + color: #13ACC4; +} diff --git a/src/views/IncubationPlatform/Children/place/EntitySpace.vue b/src/views/IncubationPlatform/Children/place/EntitySpace.vue index 17b71f8..6351b40 100644 --- a/src/views/IncubationPlatform/Children/place/EntitySpace.vue +++ b/src/views/IncubationPlatform/Children/place/EntitySpace.vue @@ -153,7 +153,8 @@ export default { }, async searchEnt() { try { - const res = await searchEnt(); + const params = { param: { placeType: 1 } }; + const res = await searchEnt(params); const { code, msg, data } = res.data; if (code === 200) { this.lists = data; diff --git a/src/views/IncubationPlatform/Children/place/VirtualSpace.vue b/src/views/IncubationPlatform/Children/place/VirtualSpace.vue index d47b896..2de021a 100644 --- a/src/views/IncubationPlatform/Children/place/VirtualSpace.vue +++ b/src/views/IncubationPlatform/Children/place/VirtualSpace.vue @@ -91,7 +91,8 @@ export default { }, async searchEnt() { try { - const res = await searchEnt(); + const params = { param: { placeType: 0 } }; + const res = await searchEnt(params); const { code, msg, data } = res.data; if (code === 200) { this.lists = data;