From 056ea576d820729878ffd62cd54cd7598e72d07e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 29 七月 2025 16:07:31 +0800 Subject: [PATCH] 新增图片超出限制,无法选中功能 --- src/views/HomePage.vue | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/HomePage.vue b/src/views/HomePage.vue index 8445b25..03c7e04 100644 --- a/src/views/HomePage.vue +++ b/src/views/HomePage.vue @@ -1,16 +1,24 @@ <template> <BaseMap></BaseMap> <div class="overlay-container"> + <CoreHeader @on-change="(e) => (menuIndex = e)"></CoreHeader> <!-- <router-view> --> - <!-- <GridLayout></GridLayout> --> - <ClueLayout></ClueLayout> + <ClueLayout v-show="menuIndex == 0"></ClueLayout> + <GridLayout v-show="menuIndex == 1"></GridLayout> + <InternalClueLayout v-show="menuIndex == 2"></InternalClueLayout> <!-- </router-view> --> </div> </template> <script setup> +import { ref } from 'vue'; + import GridLayout from '@/views/overlay-grid/GridLayout.vue'; import ClueLayout from '@/views/overlay-clue/ClueLayout.vue'; +import InternalClueLayout from '@/views/internal-clue/InternalClueLayout.vue'; + +// 椁愬崟绱㈠紩 +const menuIndex = ref(0); </script> <style scoped> @@ -23,7 +31,7 @@ height: 100vh; top: 0; left: 0; - padding: 4px; + /* padding: 4px; */ pointer-events: none; } </style> -- Gitblit v1.9.3