Authored by 毕凯

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -304,7 +304,7 @@ @@ -304,7 +304,7 @@
304 </script> 304 </script>
305 <script type="text/html" id="tmpl-my-login-new"> 305 <script type="text/html" id="tmpl-my-login-new">
306 <div class="myyoho-info-header clearfix"> 306 <div class="myyoho-info-header clearfix">
307 - <div class="myyoho-photo" ><img src="\{\{headimg it.head_ico\}\}" alt="" data-url =""></div> 307 + <div class="myyoho-photo" ><img src="\{\{headerimg it.head_ico\}\}" alt="" data-url =""></div>
308 <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\{\{random\}\}">\{\{profile_name\}\}</a></h3> 308 <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\{\{random\}\}">\{\{profile_name\}\}</a></h3>
309 <h3 class="user-level"> 309 <h3 class="user-level">
310 VIP: 310 VIP:
@@ -294,13 +294,14 @@ handlebars.registerHelper('timestamp', function() { @@ -294,13 +294,14 @@ handlebars.registerHelper('timestamp', function() {
294 * @return {[type]} [description] 294 * @return {[type]} [description]
295 */ 295 */
296 handlebars.registerHelper('headerimg', function(headerimg) { 296 handlebars.registerHelper('headerimg', function(headerimg) {
297 -  
298 - if(headerimg ===''){  
299 - return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100';  
300 - }else{ 297 +
  298 + if (headerimg === '') {
  299 + return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' +
  300 + '?imageView/2/w/100/h/100';
  301 + } else {
301 return headerimg; 302 return headerimg;
302 } 303 }
303 - 304 +
304 }); 305 });
305 /** 306 /**
306 * 判断等级为3的helper 307 * 判断等级为3的helper
@@ -1488,4 +1489,4 @@ function init() { @@ -1488,4 +1489,4 @@ function init() {
1488 actionCover(); //初次登录弹框 1489 actionCover(); //初次登录弹框
1489 actionAddKeyWords(); //增加关键字 1490 actionAddKeyWords(); //增加关键字
1490 } 1491 }
1491 -init(); 1492 +init();