|
...
|
...
|
@@ -12,6 +12,7 @@ const renNum=function(){ |
|
|
|
}
|
|
|
|
return arr;
|
|
|
|
}
|
|
|
|
const cates_version='?1.1';
|
|
|
|
Page({
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -254,9 +255,13 @@ Page({ |
|
|
|
m.width=20;
|
|
|
|
m.height=25;
|
|
|
|
}
|
|
|
|
if(m.width==9){
|
|
|
|
m.width=7;
|
|
|
|
m.height=7;
|
|
|
|
if(m.width==12){
|
|
|
|
m.width=8;
|
|
|
|
m.height=8;
|
|
|
|
}
|
|
|
|
if(m.callout){
|
|
|
|
m.callout.borderColor= '#838383';
|
|
|
|
m.callout.bgColor= '#838383';
|
|
|
|
}
|
|
|
|
if(m.id==e.markerId){
|
|
|
|
current=i;
|
|
...
|
...
|
@@ -265,10 +270,14 @@ Page({ |
|
|
|
m.width=20*bl;
|
|
|
|
m.height=25*bl;
|
|
|
|
}else{
|
|
|
|
m.width=9;
|
|
|
|
m.height=9;
|
|
|
|
m.width=12;
|
|
|
|
m.height=12;
|
|
|
|
}
|
|
|
|
m.zIndex=9999
|
|
|
|
if(m.callout){
|
|
|
|
m.callout.borderColor= '#F05522';
|
|
|
|
m.callout.bgColor= '#F05522';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
let obj={
|
|
...
|
...
|
@@ -356,11 +365,11 @@ 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/circle1x5.png",
|
|
|
|
iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle1x5.png"+cates_version,
|
|
|
|
latitude: seller.lat,
|
|
|
|
longitude: seller.long,
|
|
|
|
width: 7,
|
|
|
|
height: 7,
|
|
|
|
width: 8,
|
|
|
|
height: 8,
|
|
|
|
//title:seller.seller_name,
|
|
|
|
zIndex:sellersLength-si,
|
|
|
|
zIndexBak:sellersLength-si,
|
|
...
|
...
|
@@ -375,6 +384,7 @@ Page({ |
|
|
|
marker.iconPath=marker.iconPath.replace(/\/cates\/(.*)\.png/,function ($0,$1) {
|
|
|
|
return '/cates/'+encodeURI($1)+'.png'
|
|
|
|
})
|
|
|
|
marker.iconPath+=cates_version
|
|
|
|
marker.width=20;
|
|
|
|
marker.height=25;
|
|
|
|
}
|
|
...
|
...
|
@@ -383,10 +393,10 @@ Page({ |
|
|
|
content: ' ' + seller.sellername + ' ',
|
|
|
|
color: '#fefefe',
|
|
|
|
fontSize: 12,
|
|
|
|
borderWidth: 1,
|
|
|
|
borderColor: '#4C4C4C',
|
|
|
|
borderWidth: 0,
|
|
|
|
borderColor: '#838383',
|
|
|
|
borderRadius: 50,
|
|
|
|
bgColor: '#626262',
|
|
|
|
bgColor: '#838383',
|
|
|
|
padding: 5,
|
|
|
|
textAlign: 'left',
|
|
|
|
display:'ALWAYS',
|
...
|
...
|
|