|
...
|
...
|
@@ -269,6 +269,7 @@ Page({ |
|
|
|
this.hasMarkertap=false
|
|
|
|
let markers=this.data.markers;
|
|
|
|
console.log('markertap',e)
|
|
|
|
this.activeSellerID=e.markerId
|
|
|
|
let bl=1.2;
|
|
|
|
let current=0,hasCurrent=true;
|
|
|
|
markers.forEach((m,i)=>{
|
|
...
|
...
|
@@ -454,7 +455,7 @@ Page({ |
|
|
|
})
|
|
|
|
this.setData(obj)
|
|
|
|
}
|
|
|
|
if(now_sid.length>0){
|
|
|
|
if(now_sid.length>0 && now_sid._indexOf(this.activeSellerID)<0){
|
|
|
|
setTimeout(()=>{
|
|
|
|
this.markertap({
|
|
|
|
markerId:now_sid[0]
|
|
...
|
...
|
@@ -528,12 +529,13 @@ Page({ |
|
|
|
return;
|
|
|
|
}
|
|
|
|
let i=e.detail.current
|
|
|
|
this.activeSellerID=this.data.markers[i].id
|
|
|
|
// this.activeSellerID=this.sellersNow[i];
|
|
|
|
// this.markertap({
|
|
|
|
// markerId:this.activeSellerID
|
|
|
|
// },false)
|
|
|
|
this.markertap({
|
|
|
|
markerId:this.data.markers[i].id
|
|
|
|
markerId:this.activeSellerID
|
|
|
|
},false)
|
|
|
|
},
|
|
|
|
gotoDetail(e){
|
...
|
...
|
|