diff --git a/front/src/assets/capacitySquare/backShop.png b/front/src/assets/capacitySquare/backShop.png new file mode 100644 index 00000000..66e7d34b Binary files /dev/null and b/front/src/assets/capacitySquare/backShop.png differ diff --git a/front/src/assets/home/abilitysquare.png b/front/src/assets/home/abilitysquare.png new file mode 100644 index 00000000..e7356f6c Binary files /dev/null and b/front/src/assets/home/abilitysquare.png differ diff --git a/front/src/views/capacitySquare/index.vue b/front/src/views/capacitySquare/index.vue index 29c7e1fb..42469bc4 100644 --- a/front/src/views/capacitySquare/index.vue +++ b/front/src/views/capacitySquare/index.vue @@ -9,7 +9,8 @@
城市云脑通用能力服务平台(UCS)
- 应用广场 + {{ squareType }} +
返回集市
@@ -28,15 +29,29 @@ const router = useRouter() const abilityToType = router.currentRoute.value.query.abilityToType const show = ref('algorithm') + const squareType = ref('应用广场') if (abilityToType === '应用资源') { show.value = 'application' + squareType.value = '应用广场' } else if (abilityToType === '图层服务') { show.value = 'layer' + squareType.value = '图层广场' } else if (abilityToType === '智能算法') { show.value = 'algorithm' + squareType.value = '算法广场' } else { console.log('no') } + // 返回集市 + const backClick = () => { + const newpage = router.resolve({ + path: '/DetailsPageconetent', + query: { + select: '组件服务', + }, + }) + window.location.href = newpage.href + }