|
@@ -301,14 +301,13 @@ export default {
|
|
//定义泡泡层
|
|
//定义泡泡层
|
|
marker.on('mouseover', function () {
|
|
marker.on('mouseover', function () {
|
|
let html = "";
|
|
let html = "";
|
|
- html += "<p class='v-p-color'>避难场所名称:" + option.name + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>类型:" + option.type + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>地址:" + option.address + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>避难场所范围:" + option.range + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>避难场所现状描述:" + option.state + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>占地面积(m²):" + option.area + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>可转移安置人数(万人):" + option.transferPerson + "</p>";
|
|
|
|
- html += "<p class='v-p-color'>建设内容:" + option.constructionContent + "</p>";
|
|
|
|
|
|
+ html += "<p class='v-p-color'>摄像头名称:" + option.cameraName + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>点位具体位置:" + option.address + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>视频点:" + option.videoSpot + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>型号:" + option.cameraModel + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>数量:" + option.number + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>单位:" + option.unit + "</p>";
|
|
|
|
+ html += "<p class='v-p-color'>备注:" + option.remark + "</p>";
|
|
this.bindPopup(html).openPopup(this.getLatLng());
|
|
this.bindPopup(html).openPopup(this.getLatLng());
|
|
});
|
|
});
|
|
// /**鼠标移开关闭popup**/
|
|
// /**鼠标移开关闭popup**/
|
|
@@ -366,8 +365,6 @@ export default {
|
|
* 清理地图标点
|
|
* 清理地图标点
|
|
*/
|
|
*/
|
|
clearM: function () {
|
|
clearM: function () {
|
|
- console.log("this.myLayerGroup",this.myLayerGroup)
|
|
|
|
- console.log("this.resultLayer",this.resultLayer)
|
|
|
|
let that = this;
|
|
let that = this;
|
|
if (that.myLayerGroup != null && that.myLayerGroup.length > 0) {
|
|
if (that.myLayerGroup != null && that.myLayerGroup.length > 0) {
|
|
for (var i = this.myLayerGroup.length - 1; i >= 0; i--) {
|
|
for (var i = this.myLayerGroup.length - 1; i >= 0; i--) {
|
|
@@ -440,143 +437,143 @@ td {
|
|
width: 100%;
|
|
width: 100%;
|
|
/* height: 1080px !important; */
|
|
/* height: 1080px !important; */
|
|
background: none;
|
|
background: none;
|
|
-}
|
|
|
|
|
|
+}
|
|
.el-dialog {
|
|
.el-dialog {
|
|
- background: #014f9f;
|
|
|
|
|
|
+ background: #014f9f;
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+.el-dialog__title {
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ }
|
|
|
|
+ .el-dialog__headerbtn .el-dialog__close {
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ }
|
|
|
|
+ .el-table {
|
|
|
|
+ background-color: #014f9f;
|
|
|
|
+ color: #fff;
|
|
|
|
+ border-bottom: 1px solid #335d81;
|
|
|
|
+ }
|
|
|
|
+ .el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th {
|
|
|
|
+ background-color: #032d58c9;
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ .el-table .cell{
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ .el-table tr {
|
|
|
|
+ background-color: #04346f61;
|
|
|
|
+ }
|
|
|
|
+ .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
|
|
|
+ background-color: #1c7fdb;
|
|
|
|
+ }
|
|
|
|
+ .el-table td.el-table__cell div{
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ .el-table th.el-table__cell.is-leaf, .el-table td.el-table__cell {
|
|
|
|
+ border-bottom: 1px solid #335d81;
|
|
|
|
+ }
|
|
|
|
+ .el-table::before, .el-table--group::after, .el-table--border::after {
|
|
|
|
+ background-color: #335d81;
|
|
|
|
+ }
|
|
|
|
+ .el-table__body-wrapper::-webkit-scrollbar{
|
|
|
|
+ background: #294f76;
|
|
|
|
+ }
|
|
|
|
+ .el-table__body-wrapper::-webkit-scrollbar-thumb {
|
|
|
|
+ background-color: #34669c;
|
|
|
|
+ }
|
|
|
|
+ .el-table__body-wrapper::-webkit-scrollbar-track {
|
|
|
|
+ background-color: #294f76;
|
|
|
|
+ }
|
|
|
|
+ /* popup */
|
|
|
|
|
|
-}
|
|
|
|
-.el-dialog__title {
|
|
|
|
- color: #ffffff;
|
|
|
|
- }
|
|
|
|
- .el-dialog__headerbtn .el-dialog__close {
|
|
|
|
- color: #ffffff;
|
|
|
|
- }
|
|
|
|
- .el-table {
|
|
|
|
- background-color: #014f9f;
|
|
|
|
- color: #fff;
|
|
|
|
- border-bottom: 1px solid #335d81;
|
|
|
|
- }
|
|
|
|
- .el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th {
|
|
|
|
- background-color: #032d58c9;
|
|
|
|
- color: #fff;
|
|
|
|
- }
|
|
|
|
- .el-table .cell{
|
|
|
|
- color: #fff;
|
|
|
|
- }
|
|
|
|
- .el-table tr {
|
|
|
|
- background-color: #04346f61;
|
|
|
|
- }
|
|
|
|
- .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
|
|
|
- background-color: #1c7fdb;
|
|
|
|
- }
|
|
|
|
- .el-table td.el-table__cell div{
|
|
|
|
- color: #fff;
|
|
|
|
- }
|
|
|
|
- .el-table th.el-table__cell.is-leaf, .el-table td.el-table__cell {
|
|
|
|
- border-bottom: 1px solid #335d81;
|
|
|
|
- }
|
|
|
|
- .el-table::before, .el-table--group::after, .el-table--border::after {
|
|
|
|
- background-color: #335d81;
|
|
|
|
- }
|
|
|
|
- .el-table__body-wrapper::-webkit-scrollbar{
|
|
|
|
- background: #294f76;
|
|
|
|
- }
|
|
|
|
- .el-table__body-wrapper::-webkit-scrollbar-thumb {
|
|
|
|
- background-color: #34669c;
|
|
|
|
- }
|
|
|
|
- .el-table__body-wrapper::-webkit-scrollbar-track {
|
|
|
|
- background-color: #294f76;
|
|
|
|
- }
|
|
|
|
- /* popup */
|
|
|
|
-
|
|
|
|
- .leaflet-popup {
|
|
|
|
- position: absolute;
|
|
|
|
- text-align: center;
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-content-wrapper {
|
|
|
|
- padding: 1px;
|
|
|
|
- text-align: left;
|
|
|
|
- border-radius: 12px;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-content {
|
|
|
|
- margin: 13px 19px;
|
|
|
|
|
|
+ .leaflet-popup {
|
|
|
|
+ position: absolute;
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-content-wrapper {
|
|
|
|
+ padding: 1px;
|
|
|
|
+ text-align: left;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-content {
|
|
|
|
+ margin: 13px 19px;
|
|
line-height: 1.4;
|
|
line-height: 1.4;
|
|
- width: 298px!important;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-content p {
|
|
|
|
- margin: 18px 0;
|
|
|
|
- color: #fff;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-tip-container {
|
|
|
|
- width: 40px;
|
|
|
|
- height: 20px;
|
|
|
|
- position: absolute;
|
|
|
|
- left: 50%;
|
|
|
|
- margin-left: -20px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- pointer-events: none;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-tip {
|
|
|
|
- width: 17px;
|
|
|
|
- height: 17px;
|
|
|
|
- padding: 1px;
|
|
|
|
-
|
|
|
|
- margin: -10px auto 0;
|
|
|
|
-
|
|
|
|
- -webkit-transform: rotate(45deg);
|
|
|
|
- -moz-transform: rotate(45deg);
|
|
|
|
- -ms-transform: rotate(45deg);
|
|
|
|
- transform: rotate(45deg);
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-content-wrapper,
|
|
|
|
- .leaflet-popup-tip {
|
|
|
|
- background: rgba(4, 45, 106, 0.7);
|
|
|
|
- color: #333;
|
|
|
|
- box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
|
|
|
- }
|
|
|
|
- .leaflet-container a.leaflet-popup-close-button {
|
|
|
|
- position: absolute;
|
|
|
|
- top: 0;
|
|
|
|
- right: 0;
|
|
|
|
- padding: 4px 4px 0 0;
|
|
|
|
- border: none;
|
|
|
|
- text-align: center;
|
|
|
|
- width: 18px;
|
|
|
|
- height: 14px;
|
|
|
|
- font: 16px/14px Tahoma, Verdana, sans-serif;
|
|
|
|
- color: #c3c3c3;
|
|
|
|
- text-decoration: none;
|
|
|
|
- font-weight: bold;
|
|
|
|
- background: transparent;
|
|
|
|
- }
|
|
|
|
- .leaflet-container a.leaflet-popup-close-button:hover {
|
|
|
|
- color: #999;
|
|
|
|
- }
|
|
|
|
- .leaflet-popup-scrolled {
|
|
|
|
- overflow: auto;
|
|
|
|
- border-bottom: 1px solid #ddd;
|
|
|
|
- border-top: 1px solid #ddd;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .leaflet-oldie .leaflet-popup-content-wrapper {
|
|
|
|
- -ms-zoom: 1;
|
|
|
|
- }
|
|
|
|
- .leaflet-oldie .leaflet-popup-tip {
|
|
|
|
- width: 24px;
|
|
|
|
- margin: 0 auto;
|
|
|
|
-
|
|
|
|
- -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
|
|
|
- filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
|
|
|
- }
|
|
|
|
- .leaflet-oldie .leaflet-popup-tip-container {
|
|
|
|
- margin-top: -1px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .leaflet-oldie .leaflet-control-zoom,
|
|
|
|
- .leaflet-oldie .leaflet-control-layers,
|
|
|
|
- .leaflet-oldie .leaflet-popup-content-wrapper,
|
|
|
|
- .leaflet-oldie .leaflet-popup-tip {
|
|
|
|
- border: 1px solid #999;
|
|
|
|
|
|
+ width: 298px!important;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-content p {
|
|
|
|
+ margin: 18px 0;
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-tip-container {
|
|
|
|
+ width: 40px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ margin-left: -20px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-tip {
|
|
|
|
+ width: 17px;
|
|
|
|
+ height: 17px;
|
|
|
|
+ padding: 1px;
|
|
|
|
+
|
|
|
|
+ margin: -10px auto 0;
|
|
|
|
+
|
|
|
|
+ -webkit-transform: rotate(45deg);
|
|
|
|
+ -moz-transform: rotate(45deg);
|
|
|
|
+ -ms-transform: rotate(45deg);
|
|
|
|
+ transform: rotate(45deg);
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-content-wrapper,
|
|
|
|
+ .leaflet-popup-tip {
|
|
|
|
+ background: rgba(4, 45, 106, 0.7);
|
|
|
|
+ color: #333;
|
|
|
|
+ box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
|
|
|
+ }
|
|
|
|
+ .leaflet-container a.leaflet-popup-close-button {
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ padding: 4px 4px 0 0;
|
|
|
|
+ border: none;
|
|
|
|
+ text-align: center;
|
|
|
|
+ width: 18px;
|
|
|
|
+ height: 14px;
|
|
|
|
+ font: 16px/14px Tahoma, Verdana, sans-serif;
|
|
|
|
+ color: #c3c3c3;
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ background: transparent;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-container a.leaflet-popup-close-button:hover {
|
|
|
|
+ color: #999;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-popup-scrolled {
|
|
|
|
+ overflow: auto;
|
|
|
|
+ border-bottom: 1px solid #ddd;
|
|
|
|
+ border-top: 1px solid #ddd;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .leaflet-oldie .leaflet-popup-content-wrapper {
|
|
|
|
+ -ms-zoom: 1;
|
|
|
|
+ }
|
|
|
|
+ .leaflet-oldie .leaflet-popup-tip {
|
|
|
|
+ width: 24px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+
|
|
|
|
+ -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
|
|
|
+ filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
|
|
|
+ }
|
|
|
|
+ .leaflet-oldie .leaflet-popup-tip-container {
|
|
|
|
+ margin-top: -1px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .leaflet-oldie .leaflet-control-zoom,
|
|
|
|
+ .leaflet-oldie .leaflet-control-layers,
|
|
|
|
+ .leaflet-oldie .leaflet-popup-content-wrapper,
|
|
|
|
+ .leaflet-oldie .leaflet-popup-tip {
|
|
|
|
+ border: 1px solid #999;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|