Commit 3f04b7e0 authored by 罗超's avatar 罗超

部分节前本地修改代码:修复谷歌地图的显示异常问题

parent 6e7517f7
......@@ -305,7 +305,7 @@
<div v-html="feature.featureHtml" style="width:1000px;margin:0 auto;"></div>
</div>
<div id="teamacitvy"> </div>
<div class="item-title" v-if="dataList.isDirect&&dataList.travelLngLat.length>1">
<div class="item-title" v-if="dataList.isDirect&&travelLngLat.length>1">
<span class="t">行程地图</span>
<span>
<small class="s"></small>
......@@ -313,9 +313,9 @@
<span>Trip Maps</span>
</div>
<!-- -->
<div class="map-box" v-if="dataList.isDirect&&dataList.travelLngLat.length>1">
<div class="map-box" v-if="dataList.isDirect&&travelLngLat.length>1">
<!-- <bmap :data="travelLngLat"/> -->
<GGMap :dataList="dataList.travelLngLat"></GGMap>
<GGMap :dataList="travelLngLat"></GGMap>
<div class="_travelLngLatInfo_box">
<p v-for="item in travelLngLatInfo"><span class="_travelLngLatInfo_label">{{item.lable}}</span>: {{item.text}}</p>
</div>
......@@ -705,7 +705,12 @@ export default {
this.showType = this.feature.featureType;
this.dayTrip = this.dataList.dayNum;
if(this.dataList.isDirect==1&&this.dataList.travelLngLat.length){
this.travelLngLat = this.dataList.travelLngLat;
this.travelLngLat = [];//this.dataList.travelLngLat;
this.dataList.travelLngLat.forEach(x=>{
if(x.type!=2){
this.travelLngLat.push(x)
}
})
let travelLngLatInfo = [];
this.travelLngLat.forEach((x,index)=>{
travelLngLatInfo.push(
......
This diff is collapsed.
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