From fb212223fdc2f692896da5483ba2b1a8aec22d5f Mon Sep 17 00:00:00 2001
From: TreeWish <1131093754@qq.com>
Date: 星期一, 27 二月 2023 19:15:20 +0800
Subject: [PATCH] 修改基础数据

---
 src/views/Thematic/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/Thematic/index.vue b/src/views/Thematic/index.vue
index 9c1473c..175b16d 100644
--- a/src/views/Thematic/index.vue
+++ b/src/views/Thematic/index.vue
@@ -4,7 +4,7 @@
     <top class="title" ref="title"></top>
     <left
       class="mapleft"
-      :style="{ width: leftWidth, left: leftTree && leftWidth == '20%' ? '-14px' : '0' }"
+      :style="{ width: leftWidth, left: leftWidth == '22%' ? '-19px' : '0' }"
       ref="mapleft"
     ></left>
     <right
@@ -28,7 +28,7 @@
   components: { mapsdk, top, left, right, bottom },
   data() {
     return {
-      leftWidth: "20%",
+      leftWidth: "22%",
       rightWidth: "22%",
       leftTree: false,
       currTree: false
@@ -40,17 +40,17 @@
     //淇敼宸︿晶瀹藉害
     ChangeWidth(parm) {
       if (parm == "left") {
-        if (this.leftWidth == "20%") {
+        if (this.leftWidth == "22%") {
           this.leftWidth = "8px"
         } else {
-          this.leftWidth = "20%"
+          this.leftWidth = "22%"
         }
       }
 
-      // if (parm == "leftView" || parm == "leftTree") {
-      //   this.leftWidth = "20%"
-      //   this.rightWidth = "22%"
-      // }
+      if (parm == "leftView" || parm == "leftTree") {
+        this.leftWidth = "22%"
+        this.rightWidth = "22%"
+      }
       // if (parm == "leftView") {
       //   this.leftTree = false
       // }

--
Gitblit v1.9.3