|
...
|
...
|
@@ -265,8 +265,8 @@ Page({ |
|
|
|
})
|
|
|
|
},
|
|
|
|
markertap(e,flag=true){
|
|
|
|
console.log(e)
|
|
|
|
let markers=this.data.markers;
|
|
|
|
console.log(e)
|
|
|
|
let bl=1.2;
|
|
|
|
let current=0;
|
|
|
|
markers.forEach((m,i)=>{
|
|
...
|
...
|
@@ -276,19 +276,19 @@ Page({ |
|
|
|
m.width=20;
|
|
|
|
m.height=25;
|
|
|
|
}
|
|
|
|
if(m.width==7*bl){
|
|
|
|
if(m.width==9){
|
|
|
|
m.width=7;
|
|
|
|
m.height=7;
|
|
|
|
}
|
|
|
|
if(m.id==e.markerId){
|
|
|
|
current=i;
|
|
|
|
m.iconPath=m.iconPath.replace('/cates/','/cates-active/')
|
|
|
|
if(m.width==20){
|
|
|
|
m.width=20*bl;
|
|
|
|
m.height=25*bl;
|
|
|
|
m.iconPath=m.iconPath.replace('/cates/','/cates-active/')
|
|
|
|
}else{
|
|
|
|
m.width=7*bl;
|
|
|
|
m.height=7*bl;
|
|
|
|
m.width=9;
|
|
|
|
m.height=9;
|
|
|
|
}
|
|
|
|
m.zIndex=9999
|
|
|
|
}
|
|
...
|
...
|
@@ -351,7 +351,7 @@ Page({ |
|
|
|
let namelength = seller.sellername.replace(/[^\x00-\xff]/g, "01").length + 8;
|
|
|
|
let marker={
|
|
|
|
id: seller.id,
|
|
|
|
iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle.png",
|
|
|
|
iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle1x5.png",
|
|
|
|
latitude: seller.lat,
|
|
|
|
longitude: seller.long,
|
|
|
|
width: 7,
|
...
|
...
|
|