Browse Source

巡园详情 修改显示

master
邓宏 11 months ago
parent
commit
deddf9e302
  1. 2
      pages/patrolGarden/detail.vue

2
pages/patrolGarden/detail.vue

@ -154,7 +154,7 @@ export default {
for(var i in this.detail.detailVos){
var marker=new plus.maps.Marker(new plus.maps.Point(this.detail.detailVos[i].lng, this.detail.detailVos[i].lat))
marker.setIcon(`/static/patrolGarden/${({0:'unhandle',1:'handle'})[this.detail.detailVos[i].flagDeal]}.png?i=${i}`)
marker.setLabel(`${this.detail.detailVos[i].lng},${this.detail.detailVos[i].lat}`)
marker.setLabel(this.detail.detailVos[i].position)
marker.onclick=e=>{
this.record=this.detail.detailVos[e.icon.match(/i=(\d+)/)[1]]
}

Loading…
Cancel
Save