Commit 9bf430722104fb1690a3cf84de4908b885a410da

Authored by wangfan
1 parent 65b9b774

activity

@@ -114,7 +114,10 @@ Page({ @@ -114,7 +114,10 @@ Page({
114 } 114 }
115 } 115 }
116 } 116 }
117 - url+='?id='+res.data.id+'&tplid='+(opt.tplid||1) 117 + if(!opt.tplid || typeof opt.tplid=='undefined'){
  118 + opt.tplid=1
  119 + }
  120 + url+='?id='+res.data.id+'&tplid='+opt.tplid
118 console.log('wx.redirectTo',url,res); 121 console.log('wx.redirectTo',url,res);
119 this.redirectTo({url: url}); 122 this.redirectTo({url: url});
120 }).catch(res=>{ 123 }).catch(res=>{
@@ -260,8 +260,8 @@ Page({ @@ -260,8 +260,8 @@ Page({
260 m.height=8; 260 m.height=8;
261 } 261 }
262 if(m.callout){ 262 if(m.callout){
263 - m.callout.borderColor= '#838383';  
264 - m.callout.bgColor= '#838383'; 263 + m.callout.borderColor= '#626262';
  264 + m.callout.bgColor= '#626262';
265 } 265 }
266 if(m.id==e.markerId){ 266 if(m.id==e.markerId){
267 current=i; 267 current=i;
@@ -394,9 +394,9 @@ Page({ @@ -394,9 +394,9 @@ Page({
394 color: '#fefefe', 394 color: '#fefefe',
395 fontSize: 12, 395 fontSize: 12,
396 borderWidth: 0, 396 borderWidth: 0,
397 - borderColor: '#838383', 397 + borderColor: '#626262',
398 borderRadius: 50, 398 borderRadius: 50,
399 - bgColor: '#838383', 399 + bgColor: '#626262',
400 padding: 5, 400 padding: 5,
401 textAlign: 'left', 401 textAlign: 'left',
402 display:'ALWAYS', 402 display:'ALWAYS',