Authored by lore-w

fix bug

... ... @@ -140,7 +140,7 @@ require("./login");
var textarea = $('<div class="comment-textarea"><textarea placeholder="'+tips.getTips("textareaPlaceholder")+'" cid='+this.options.cid+'></textarea></div>'),
loginarea = $('<div class="login-status clearfix">'+
'<div class="userimg">'+
'<img src="'+YohoConfig.resUrl+'/res/new/boys/images/detail/user-img.png" alt="">'+
'<img src="'+YohoConfig.resUrl+'/assets/images/detail/user-img.png" alt="">'+
'<i></i>'+
'</div>'+
'<div class="userinfo">'+
... ... @@ -168,17 +168,17 @@ require("./login");
if(tips.isJian){
$feedbackLogin = $('<div class="feedback-login clearfix">'+
'<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+
'<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-qq.png" alt="" /></a>'+
'<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-yoho.png" alt="" /></a>'+
'<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-sina.png" alt="" /></a>'+
'<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-qq.png" alt="" /></a>'+
'<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-yoho.png" alt="" /></a>'+
'<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-sina.png" alt="" /></a>'+
'</div>');
}else{
$feedbackLogin = $('<div class="feedback-login clearfix">'+
'<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+
'<a class="fb" ref="/passport/partner/index/oauth/facebook" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-facebook.png" alt="" /></a>'+
'<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-yoho.png" alt="" /></a>'+
'<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-sina.png" alt="" /></a>'+
'<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-qq.png" alt="" /></a>'+
'<a class="fb" ref="/passport/partner/index/oauth/facebook" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-facebook.png" alt="" /></a>'+
'<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'assets/images/about/thirdbtn-yoho.png" alt="" /></a>'+
'<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-sina.png" alt="" /></a>'+
'<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-qq.png" alt="" /></a>'+
'</div>');
}
$feedbackLogin.appendTo(this.$element);
... ... @@ -411,7 +411,7 @@ require("./login");
if(comments > 0){
that.options.commentNum.text(comments);
}else{
that.options.commentNum.html('<img src="'+YohoConfig.resUrl+'/res/new/boys/images/mobile/comment-mobile.png">');
that.options.commentNum.html('<img src="'+YohoConfig.resUrl+'/assets/images/comment-mobile.png">');
$(".comment-num.zero").text(0);
$(".comment-num.edit-comment").text('留言');
}
... ...
... ... @@ -260,14 +260,14 @@ var tips=require("./tips");
//登出
setLogout:function(){
$(".login-status").removeClass("login-success");
$(".login-status .userimg").find("img").attr("src",YohoConfig.resUrl+"/res/new/boys/images/detail/user-img.png");
$(".login-status .userimg").find("img").attr("src",YohoConfig.resUrl+"/assets/images/detail/user-img.png");
$(".login-status .userinfo").hide();
$(".login-status .userimg").find("i").attr("class",'');
$(".comments-list").find(".delete-comment").remove();
//手机版
$(".side-bar-header").removeClass("login-success");
$(".user-avatar").find("img").attr("src",YohoConfig.resUrl+"/res/new/boys/images/detail/user-img.png");
$(".user-avatar").find("img").attr("src",YohoConfig.resUrl+"/assets/images/detail/user-img.png");
$(".login-username").text("登录");
//显示匿名
... ...