|
@@ -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(); |