From 668f251a5c8099d7edec59f40d1311a6785ef10c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 21 五月 2024 14:40:58 +0800
Subject: [PATCH] 新增线索结论修改功能

---
 src/views/HomePage.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/views/HomePage.vue b/src/views/HomePage.vue
index 35799d3..4ede8f0 100644
--- a/src/views/HomePage.vue
+++ b/src/views/HomePage.vue
@@ -1,27 +1,35 @@
 <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>
     <!-- </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';
+
+// 椁愬崟绱㈠紩
+const menuIndex = ref(0);
 </script>
 
 <style scoped>
 .overlay-container {
   background: transparent;
   position: absolute;
-  width: 100%;
+  min-height: var(--screen-min-height);
+  min-width: var(--screen-min-width);
+  width: 100vw;
   height: 100vh;
   top: 0;
   left: 0;
-  padding: 4px;
+  /* padding: 4px; */
   pointer-events: none;
 }
 </style>

--
Gitblit v1.9.3