From 1127b34cd54331ed679b34e51d278edca14f66ba Mon Sep 17 00:00:00 2001 From: JiXinHui <985276981@qq.com> Date: Mon, 18 Aug 2025 15:47:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor(views):=20=E9=87=8D=E6=9E=84=E4=B8=AD?= =?UTF-8?q?=E9=97=B4=E5=8C=BA=E5=9F=9F=E7=BB=84=E4=BB=B6=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/CenterBottom.vue | 176 +++++++++++++----- src/views/index/center-map.vue | 4 +- src/views/index/components/CenterBottom.vue | 119 ------------ src/views/index/components/CenterTop.vue | 100 ---------- .../index/components/ConsultationCard.vue | 1 - src/views/index/index.vue | 15 +- 6 files changed, 137 insertions(+), 278 deletions(-) delete mode 100644 src/views/index/components/CenterBottom.vue delete mode 100644 src/views/index/components/CenterTop.vue delete mode 100644 src/views/index/components/ConsultationCard.vue diff --git a/src/views/index/CenterBottom.vue b/src/views/index/CenterBottom.vue index e771694..4c14332 100644 --- a/src/views/index/CenterBottom.vue +++ b/src/views/index/CenterBottom.vue @@ -1,5 +1,5 @@ - - - - \ No newline at end of file diff --git a/src/views/index/components/CenterTop.vue b/src/views/index/components/CenterTop.vue deleted file mode 100644 index 59a28ec..0000000 --- a/src/views/index/components/CenterTop.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/index/components/ConsultationCard.vue b/src/views/index/components/ConsultationCard.vue deleted file mode 100644 index 0519ecb..0000000 --- a/src/views/index/components/ConsultationCard.vue +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/views/index/index.vue b/src/views/index/index.vue index 1efc8df..dbdf5b6 100644 --- a/src/views/index/index.vue +++ b/src/views/index/index.vue @@ -10,8 +10,7 @@ const LeftBottom = defineAsyncComponent(() => import("./LeftBottom.vue")); // 导入中间组件 -const CenterTop = defineAsyncComponent(() => import("./components/CenterTop.vue")); -const CenterBottom = defineAsyncComponent(() => import("./components/CenterBottom.vue")); +const CenterBottom = defineAsyncComponent(() => import("./CenterBottom.vue")); const CenterMap = defineAsyncComponent(() => import("./center-map.vue")); // 导入右侧组件 @@ -44,10 +43,9 @@ const mapRef: any = ref(null);
- - +
@@ -88,11 +86,14 @@ const mapRef: any = ref(null); flex: 1; display: flex; flex-direction: column; - gap: 20px; + // gap: 20px; } .center_content_top { - + height: 410px; +} +.center_content_bottom { + height: 300px; } .left-contetn-top {