Showing
2 changed files
with
5 additions
and
4 deletions
@@ -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: |
@@ -295,9 +295,10 @@ handlebars.registerHelper('timestamp', function() { | @@ -295,9 +295,10 @@ handlebars.registerHelper('timestamp', function() { | ||
295 | */ | 295 | */ |
296 | handlebars.registerHelper('headerimg', function(headerimg) { | 296 | handlebars.registerHelper('headerimg', function(headerimg) { |
297 | 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{ | 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 |
-
Please register or login to post a comment