|
...
|
...
|
@@ -4,6 +4,7 @@ import util from '../../utils/util'; |
|
|
|
import App from '../../utils/api';
|
|
|
|
import DA from './data';
|
|
|
|
import reddot from '../../utils/reddot';
|
|
|
|
import PubSub from '../../utils/PubSub'
|
|
|
|
const {regeneratorRuntime} = global
|
|
|
|
const mapScale=15//18;
|
|
|
|
const transverseViewHeight=232;
|
|
...
|
...
|
@@ -82,6 +83,18 @@ Page({ |
|
|
|
"statReachBottom": true,
|
|
|
|
"lauchOpts": options, //渠道分析
|
|
|
|
});
|
|
|
|
PubSub.on(
|
|
|
|
'searchParam',
|
|
|
|
data=>{
|
|
|
|
console.log('searchParam.msg',data)
|
|
|
|
if(data.fun=='tagsChange'){
|
|
|
|
this.tagsChange(data.e);
|
|
|
|
}
|
|
|
|
if(data.fun=='caixiActive'){
|
|
|
|
this.caixiActive(data.e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
reddot.init()
|
|
|
|
},
|
|
|
|
|
|
...
|
...
|
@@ -537,6 +550,7 @@ Page({ |
|
|
|
let sdobj={
|
|
|
|
map: map,
|
|
|
|
hasSuggestion:false,
|
|
|
|
hasGetSellersEnd:false,
|
|
|
|
}
|
|
|
|
if(!this.hasSellerConcat){
|
|
|
|
sdobj.markers=[]
|
|
...
|
...
|
@@ -578,6 +592,7 @@ Page({ |
|
|
|
map: map,
|
|
|
|
hasSuggestion:true,
|
|
|
|
suggestion:suggestion,
|
|
|
|
hasGetSellersEnd:false,
|
|
|
|
}
|
|
|
|
if(!this.hasSellerConcat){
|
|
|
|
sdobj.markers=[]
|
|
...
|
...
|
@@ -652,7 +667,6 @@ Page({ |
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
if(mks.length<1) return mks;
|
|
|
|
//if(this.data.hasSuggestion){
|
|
|
|
let map = this.data.map;
|
|
|
|
mks.push({
|
...
|
...
|
|