Commit 46860548eaff76654a595f90fc35d24ccbfb9ce0

Authored by wangfan
1 parent fba5928c

c端预定

Showing 1 changed file with 6 additions and 6 deletions
@@ -265,8 +265,8 @@ Page({ @@ -265,8 +265,8 @@ Page({
265 }) 265 })
266 }, 266 },
267 markertap(e,flag=true){ 267 markertap(e,flag=true){
268 - console.log(e)  
269 let markers=this.data.markers; 268 let markers=this.data.markers;
  269 + console.log(e)
270 let bl=1.2; 270 let bl=1.2;
271 let current=0; 271 let current=0;
272 markers.forEach((m,i)=>{ 272 markers.forEach((m,i)=>{
@@ -276,19 +276,19 @@ Page({ @@ -276,19 +276,19 @@ Page({
276 m.width=20; 276 m.width=20;
277 m.height=25; 277 m.height=25;
278 } 278 }
279 - if(m.width==7*bl){ 279 + if(m.width==9){
280 m.width=7; 280 m.width=7;
281 m.height=7; 281 m.height=7;
282 } 282 }
283 if(m.id==e.markerId){ 283 if(m.id==e.markerId){
284 current=i; 284 current=i;
  285 + m.iconPath=m.iconPath.replace('/cates/','/cates-active/')
285 if(m.width==20){ 286 if(m.width==20){
286 m.width=20*bl; 287 m.width=20*bl;
287 m.height=25*bl; 288 m.height=25*bl;
288 - m.iconPath=m.iconPath.replace('/cates/','/cates-active/')  
289 }else{ 289 }else{
290 - m.width=7*bl;  
291 - m.height=7*bl; 290 + m.width=9;
  291 + m.height=9;
292 } 292 }
293 m.zIndex=9999 293 m.zIndex=9999
294 } 294 }
@@ -351,7 +351,7 @@ Page({ @@ -351,7 +351,7 @@ Page({
351 let namelength = seller.sellername.replace(/[^\x00-\xff]/g, "01").length + 8; 351 let namelength = seller.sellername.replace(/[^\x00-\xff]/g, "01").length + 8;
352 let marker={ 352 let marker={
353 id: seller.id, 353 id: seller.id,
354 - iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle.png", 354 + iconPath: "http://qn.colorcun.com/custom/lite-online/cates/circle1x5.png",
355 latitude: seller.lat, 355 latitude: seller.lat,
356 longitude: seller.long, 356 longitude: seller.long,
357 width: 7, 357 width: 7,