From 9d075bda9c80f9bbe44ac7a9d4a0ead305e15cd1 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Fri, 19 Aug 2022 14:50:41 +0800 Subject: [PATCH] =?UTF-8?q?cim=E5=89=8D=E4=B8=A4=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cimSpecialArea/components/platform.vue | 53 +++++++++---------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/front/src/views/cimSpecialArea/components/platform.vue b/front/src/views/cimSpecialArea/components/platform.vue index 90386228..5c1f6ddf 100644 --- a/front/src/views/cimSpecialArea/components/platform.vue +++ b/front/src/views/cimSpecialArea/components/platform.vue @@ -13,10 +13,13 @@ @slideChange="onSlideChange" > -
+

{{ item.name }}

-

{{ item.description }}

+ + +

{{ item.description }}

+
@@ -30,33 +33,10 @@ import { Swiper, SwiperSlide } from 'swiper/vue/swiper-vue.js' import 'swiper/swiper-bundle.min.css' import { getCIMApplyApplicationList } from '@/api/cimSpecialArea' + import { useRouter } from 'vue-router' + const router = useRouter() const modules = ref([Pagination]) - const platformList = ref([ - // { - // name: 'CIM+青岛市更新项目申报系统', - // img: require('@/assets/capacitySquare/yyzy.jpg'), - // content: - // 'CIM+城市更新应用从八个纬度开展青岛城市“体检”活动,融合城市体检数据、优化城市规划方案', - // }, - // { - // name: 'CIM+青岛市更新项目申报系统', - // img: require('@/assets/capacitySquare/yyzy.jpg'), - // content: - // 'CIM+城市更新应用从八个纬度开展青岛城市“体检”活动,融合城市体检数据、优化城市规划方案', - // }, - // { - // name: 'CIM+青岛市更新项目申报系统', - // img: require('@/assets/capacitySquare/yyzy.jpg'), - // content: - // 'CIM+城市更新应用从八个纬度开展青岛城市“体检”活动,融合城市体检数据、优化城市规划方案', - // }, - // { - // name: 'CIM+青岛市更新项目申报系统', - // img: require('@/assets/capacitySquare/yyzy.jpg'), - // content: - // 'CIM+城市更新应用从八个纬度开展青岛城市“体检”活动,融合城市体检数据、优化城市规划方案', - // }, - ]) + const platformList = ref([]) getCIMApplyApplicationList().then((res) => { if (res.status === 200) { res.data.data.map((val) => { @@ -69,6 +49,16 @@ platformList.value.push(...res.data.data) } }) + const toView = (data) => { + console.log('111111111111111111===========>', data) + const newpage = router.resolve({ + path: '/details', + query: { + id: data.id, + }, + }) + window.open(newpage.href, '_blank') + }