From bdc375c177dfff0d940560d83d5e3741a23fcda8 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 09 Oct 2023 10:19:45 +0800
Subject: [PATCH] Merge branch 'feature_1.0'

---
 src/views/UVA/index.vue |   45 +++++++++++++++++++++++++++++++--------------
 1 files changed, 31 insertions(+), 14 deletions(-)

diff --git a/src/views/UVA/index.vue b/src/views/UVA/index.vue
index dc2c246..d064739 100644
--- a/src/views/UVA/index.vue
+++ b/src/views/UVA/index.vue
@@ -45,8 +45,6 @@
           <el-collapse
             v-show="shou1 === true"
             v-loading="loading"
-            accordion
-            style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)"
           >
             <el-collapse-item
               style="text-indent: 2em; position: relative; padding-botton: 10px"
@@ -146,8 +144,6 @@
                 <span>���������������������������(���): </span>
                 <el-input
                   ref="uvas"
-                  v-model="tallone"
-                  class="inputtu"
                 />
                 --
                 <el-input
@@ -887,7 +883,10 @@
   },
 
   mounted() {
-    this.initStart()
+    this.$nextTick(() => {
+      this.initStart()
+    })
+
     // this.$refs.datePick.focus()
     // this.getDate()
     // this.flyData()
@@ -1223,7 +1222,10 @@
       this.abc += 1
       const that = this
       if (!res) {
-        that.map = new window.window.BMapGL.Map('map_container')
+        that.map = new BMap.Map('map_container')
+        console.log('BMap', BMap)
+        console.log('BMapGL', BMapGL)
+        console.log('window', window.BMapGL)
         that.map.enableScrollWheelZoom(true) // ������������������������������������������������������s
         that.map.setMapType(BMAP_EARTH_MAP) // ���������������������������������
         that.map.setDisplayOptions({
@@ -1415,10 +1417,10 @@
           var color = getColorAndLevel(sensor, data).color
           var polygon = new window.BMapGL.Polygon(
             [
-              new window.BMapGL.Point(sw.lng, sw.lat), // ���������
-              new window.BMapGL.Point(ne.lng, sw.lat), // ���������
-              new window.BMapGL.Point(ne.lng, ne.lat), // ���������
-              new window.BMapGL.Point(sw.lng, ne.lat) // ���������
+              new BMapGL.Point(sw.lng, sw.lat), // ���������
+              new BMapGL.Point(ne.lng, sw.lat), // ���������
+              new BMapGL.Point(ne.lng, ne.lat), // ���������
+              new BMapGL.Point(sw.lng, ne.lat) // ���������
             ],
             {
               strokeWeight: 0.1, // ������������������,������������������
@@ -1443,7 +1445,7 @@
         )
         var startMark = new window.BMapGL.Marker(that.showPoints[0], {
           icon: startIcon,
-          offset: new window.BMapGL.Size(0, -20)
+          offset: new BMapGL.Size(0, -20)
         })
         that.map.addOverlay(startMark)
         var endIcon = new window.BMapGL.Icon(
@@ -1454,7 +1456,7 @@
           that.showPoints[that.showPoints.length - 1],
           {
             icon: endIcon,
-            offset: new window.BMapGL.Size(0, -20)
+            offset: new BMapGL.Size(0, -20)
           }
         )
         that.map.addOverlay(endMark)
@@ -1888,7 +1890,7 @@
         var label = new window.BMapGL.Label(
           "<span class='my-maptip'>" + content + '<br /><span>', // ���lable������������
           {
-            offset: new window.BMapGL.Size(-8, -10), // label������������������������label������������������������
+            offset: new BMapGL.Size(-8, -10), // label������������������������label������������������������
             position: point
           } // label���������
         )
@@ -2002,7 +2004,22 @@
 }
 </script>
 
-<style  lang="scss" >
+<style  lang="scss" scoped>
+.main-container {
+    display: -webkit-box;
+    display: -ms-flexbox;
+    display: flex;
+    -webkit-box-orient: vertical;
+    -webkit-box-direction: normal;
+    -ms-flex-flow: column;
+    flex-flow: column;
+    min-height: 100%;
+    -webkit-transition: margin-left .28s;
+    transition: margin-left .28s;
+    margin-left: 210px;
+    position: relative;
+    height: 100%;
+}
 /deep/.BMap_cpyCtrl {
   display: none;
 }

--
Gitblit v1.8.0