|
...
|
...
|
@@ -14,7 +14,7 @@ const renNum=function(){ |
|
|
|
return arr;
|
|
|
|
}
|
|
|
|
const cates_version='?1.1';
|
|
|
|
const hasSellerConcat=true;//变量存储所有商户
|
|
|
|
const hasSellerConcat=false;//变量存储所有商户
|
|
|
|
Page({
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -441,20 +441,18 @@ Page({ |
|
|
|
}
|
|
|
|
this.sellersNow=now_sid;
|
|
|
|
let obj={}
|
|
|
|
if(markers.length>0){
|
|
|
|
if(hasSellerConcat){
|
|
|
|
obj.markers=this.data.markers.concat(markers);
|
|
|
|
}else{
|
|
|
|
obj.markers=markers;
|
|
|
|
}
|
|
|
|
obj.markers.forEach(mk=>{
|
|
|
|
//mk.display='none';
|
|
|
|
if(now_sid._indexOf(mk.id)>-1){
|
|
|
|
mk.display='';
|
|
|
|
}
|
|
|
|
})
|
|
|
|
this.setData(obj)
|
|
|
|
if(hasSellerConcat){
|
|
|
|
obj.markers=this.data.markers.concat(markers);
|
|
|
|
}else{
|
|
|
|
obj.markers=markers;
|
|
|
|
}
|
|
|
|
obj.markers.forEach(mk=>{
|
|
|
|
//mk.display='none';
|
|
|
|
if(now_sid._indexOf(mk.id)>-1){
|
|
|
|
mk.display='';
|
|
|
|
}
|
|
|
|
})
|
|
|
|
this.setData(obj)
|
|
|
|
if(now_sid.length>0 && now_sid._indexOf(this.activeSellerID)<0){
|
|
|
|
setTimeout(()=>{
|
|
|
|
this.markertap({
|
...
|
...
|
|