|
@@ -94,7 +94,7 @@
|
|
|
实蝇诱捕器:<span style="color: #ff00ff">{{ ybqnum }}台</span>
|
|
实蝇诱捕器:<span style="color: #ff00ff">{{ ybqnum }}台</span>
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="tallybox_item">
|
|
|
|
|
|
|
+ <div class="tallybox_item" v-if="isShowMonitorInfo">
|
|
|
<img src="../../../static/images/homepage/jk.png" alt="" />
|
|
<img src="../../../static/images/homepage/jk.png" alt="" />
|
|
|
<p>
|
|
<p>
|
|
|
监控设备:<span style="color: #e94c3e">{{ jknum }}台</span>
|
|
监控设备:<span style="color: #e94c3e">{{ jknum }}台</span>
|
|
@@ -390,7 +390,8 @@ export default {
|
|
|
total: 8,
|
|
total: 8,
|
|
|
tracklistdata_backups: {},
|
|
tracklistdata_backups: {},
|
|
|
arealistmouse: {},
|
|
arealistmouse: {},
|
|
|
- trackloading: true
|
|
|
|
|
|
|
+ trackloading: true,
|
|
|
|
|
+ isShowMonitorInfo: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
//监听属性 类似于data概念
|
|
//监听属性 类似于data概念
|
|
@@ -465,7 +466,7 @@ export default {
|
|
|
var map = new AMap.Map(document.getElementById('mapContainer2'), {
|
|
var map = new AMap.Map(document.getElementById('mapContainer2'), {
|
|
|
center: this.center,
|
|
center: this.center,
|
|
|
resizeEnable: true,
|
|
resizeEnable: true,
|
|
|
- zoom: 11,
|
|
|
|
|
|
|
+ zoom: 12.5,
|
|
|
lang: 'en',
|
|
lang: 'en',
|
|
|
mapStyle: 'amap://styles/fresh',
|
|
mapStyle: 'amap://styles/fresh',
|
|
|
layers: []
|
|
layers: []
|
|
@@ -549,11 +550,15 @@ export default {
|
|
|
//监控
|
|
//监控
|
|
|
icon = '../../../static/images/homepage/jk.png';
|
|
icon = '../../../static/images/homepage/jk.png';
|
|
|
this.jknum++;
|
|
this.jknum++;
|
|
|
|
|
+
|
|
|
|
|
+ if (!this.isShowMonitorInfo) {
|
|
|
|
|
+ this.isShowMonitorInfo = true;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var iconInstance = new AMap.Icon({
|
|
var iconInstance = new AMap.Icon({
|
|
|
size: new AMap.Size(18, 23), // 图标尺寸
|
|
size: new AMap.Size(18, 23), // 图标尺寸
|
|
|
- imageSize: new AMap.Size(16, 20),
|
|
|
|
|
|
|
+ imageSize: new AMap.Size(9, 10),
|
|
|
image: icon // Icon的图像
|
|
image: icon // Icon的图像
|
|
|
});
|
|
});
|
|
|
|
|
|