Commit c7d0c130 authored by 小费同学阿's avatar 小费同学阿 💬

客运服务

parent c20b41a0
......@@ -27,6 +27,9 @@ border: 1px solid #CCCCCC;border-radius:0.3rem;padding: 0.25rem 1rem 0.25rem 1re
:position="markInfo.position">
<div style="margin:0rem 0.5rem 1rem 0.5rem; display: flex;flex-direction: column;">
<span>{{ markInfo.roadName }} </span>
<span> 路况分类: <span v-if="markInfo.type=='101'||markInfo.type=='102'||markInfo.type=='103'||markInfo.type=='104'">事件</span>
<span v-if="markInfo.type=='105'||markInfo.type=='106'">阻断</span>
<span v-if="markInfo.type=='107'||markInfo.type=='108'">管制 </span> </span>
<span> 路况分类: {{ markInfo.typeName }} </span>
<span> 描述: {{ markInfo.content }}</span></div>
......@@ -383,6 +386,7 @@ export default {
if (this.checkEvent && this.checkStop && this.checkManage) {
this.handleEventTip(2)
--this.numberCheck
}
},
data() {
......@@ -745,6 +749,7 @@ export default {
},
infoWindowOpen(marker) {
this.markInfo.roadName = marker.roadName
this.markInfo.type = marker.type
this.markInfo.typeName = marker.typeName
this.markInfo.content = marker.content
this.markInfo.position = marker.position
......@@ -1057,7 +1062,9 @@ export default {
/*清除所有的线路规划结果*/
clearAllRouteResult() {
this.handleSearch(2)
this.map.clearOverlays()
},
/*公交导航 originObj 起点对象 {lat, lng} destinationObj 终点对象 {lat, lng}
* origin 起点[纬度,经度] destination 终点[纬度,经度] origin_uid 起点uid? destination_uid 终点uid? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment