zhaobao há 2 anos atrás
pai
commit
4bed01fc66
2 ficheiros alterados com 15 adições e 11 exclusões
  1. 2 1
      src/settings.js
  2. 13 10
      src/views/goaf/map/components/VisualEditor.vue

+ 2 - 1
src/settings.js

@@ -40,7 +40,8 @@ module.exports = {
   // devServerUrl: 'http://113.141.93.143:1688', // 开发环境
   devServerUrl: 'http://192.168.3.5:1688', // 开发环境 qu
   // devServerUrl: 'http://192.168.3.201:8080/', // 开发环境  test
-  mqttUrl: 'ws://1.15.92.205:8083/mqtt', // mqtt地址
+  // mqttUrl: 'ws://1.15.92.205:8083/mqtt', // mqtt地址
+  mqttUrl: 'ws://113.141.93.143:8894/mqtt', // mqtt地址
   /**
   * websocket 地址
   * dev 开发环境

+ 13 - 10
src/views/goaf/map/components/VisualEditor.vue

@@ -888,16 +888,19 @@ export default {
             }
         }
         .goaf-icon-tag{
-    width: 100%;
-    display: inline-block;
-    background: linear-gradient(90deg, #21649c 0.21%, #060F1E 100%);
-    background-color: rgba(33, 100, 156,0.6);
-    overflow:hidden;
-    text-overflow:ellipsis;
-    white-space:nowrap;
-    color: #fff;
-    text-align: center;
-  }
+            width: 100%;
+            display: inline-block;
+            background: linear-gradient(90deg, #21649c 0.21%, #060F1E 100%);
+            background-color: rgba(33, 100, 156,0.6);
+            overflow:hidden;
+            text-overflow:ellipsis;
+            white-space:nowrap;
+            color: #fff;
+            text-align: center;
+            z-index: 99999;
+            position: absolute;
+            top: -18px;
+        }
   /*动画*/
 .ico-warning {
   position: relative;