whao 2 lat temu
rodzic
commit
f3188c2d27
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/views/forest.vue

+ 4 - 4
src/views/forest.vue

@@ -1125,13 +1125,13 @@
             information.lat = that.information[4].content;
             let bindPopupHtml = '';
             for (let i = 0; i < that.information.length; i++) {
-              bindPopupHtml += '<span>' +
+              bindPopupHtml += '<div class="map-tip">' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
                 '                  <h4>' + that.information[i].name + ':' + that.information[i].content + '</h4>' +
                 '                </div>' +
                 '                </div>' +
-                '                </span>';
+                '                </div>';
             }
             information.bindPopupHtml = bindPopupHtml;
             information.click = "";
@@ -1214,13 +1214,13 @@
             information.lat = that.information[4].content;
             let bindPopupHtml = '';
             for (let i = 0; i < that.information.length; i++) {
-              bindPopupHtml += '<span>' +
+              bindPopupHtml += '<div  class="map-tip">' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
                 '                  <h4>' + that.information[i].name + ':' + that.information[i].content + '</h4>' +
                 '                </div>' +
                 '                </div>' +
-                '                </span>';
+                '                </div>';
             }
             information.bindPopupHtml = bindPopupHtml;
             information.click = "";