Commit d138749ec658d8f3460ed5548118a62182b539e4

Authored by vking
1 parent a4f933ea

搜索平台商户

Showing 1 changed file with 5 additions and 4 deletions
... ... @@ -617,7 +617,10 @@ Page({
//let pos=DA.gcj02towgs84(suggestion.longitude,suggestion.latitude)
map.latitude=suggestion.latitude
map.longitude=suggestion.longitude
map.scale=20
if(suggestion.type==-1){//平台商户
this.activeSellerID=suggestion.id
map.scale=20
}
this.sellersIds=[]
this.sellers=[]
let sdobj={
... ... @@ -629,9 +632,7 @@ Page({
if(!this.hasSellerConcat){
sdobj.markers=[]
}
if(suggestion.type==-1){//平台商户
this.activeSellerID=suggestion.id
}
this.setData(sdobj)
},
... ...