...
|
...
|
@@ -294,13 +294,14 @@ handlebars.registerHelper('timestamp', function() { |
|
|
* @return {[type]} [description]
|
|
|
*/
|
|
|
handlebars.registerHelper('headerimg', function(headerimg) {
|
|
|
|
|
|
if(headerimg ===''){
|
|
|
return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100';
|
|
|
}else{
|
|
|
|
|
|
if (headerimg === '') {
|
|
|
return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' +
|
|
|
'?imageView/2/w/100/h/100';
|
|
|
} else {
|
|
|
return headerimg;
|
|
|
}
|
|
|
|
|
|
|
|
|
});
|
|
|
/**
|
|
|
* 判断等级为3的helper
|
...
|
...
|
@@ -1488,4 +1489,4 @@ function init() { |
|
|
actionCover(); //初次登录弹框
|
|
|
actionAddKeyWords(); //增加关键字
|
|
|
}
|
|
|
init(); |
|
|
init(); |
|
|
\ No newline at end of file |
...
|
...
|
|