|
...
|
...
|
@@ -36,6 +36,7 @@ Page({ |
|
|
|
suggestion:{},
|
|
|
|
hasSuggestion:false,
|
|
|
|
current:0,
|
|
|
|
hasSellers:false,
|
|
|
|
},
|
|
|
|
hasSellerConcat:hasSellerConcat,
|
|
|
|
transverseViewHeight:transverseViewHeight,//横向滚动高度,苹果要比安卓多20
|
|
...
|
...
|
@@ -441,7 +442,9 @@ Page({ |
|
|
|
console.log('接口报错了');
|
|
|
|
}
|
|
|
|
this.sellersNow=now_sid;
|
|
|
|
let obj={}
|
|
|
|
let obj={
|
|
|
|
hasSellers:now_sid.length>0
|
|
|
|
}
|
|
|
|
if(this.hasSellerConcat){
|
|
|
|
obj.markers=this.data.markers.concat(markers);
|
|
|
|
}else{
|
|
...
|
...
|
@@ -501,7 +504,10 @@ Page({ |
|
|
|
//let pos=DA.gcj02towgs84(suggestion.longitude,suggestion.latitude)
|
|
|
|
map.latitude=suggestion.latitude
|
|
|
|
map.longitude=suggestion.longitude
|
|
|
|
this.sellersIds=[]
|
|
|
|
this.sellers=[]
|
|
|
|
this.setData({
|
|
|
|
markers:[],
|
|
|
|
suggestion:suggestion,
|
|
|
|
hasSuggestion:true,
|
|
|
|
map:map,
|
...
|
...
|
|