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') + }