Authored by lore-w

fix bug

@@ -140,7 +140,7 @@ require("./login"); @@ -140,7 +140,7 @@ require("./login");
140 var textarea = $('<div class="comment-textarea"><textarea placeholder="'+tips.getTips("textareaPlaceholder")+'" cid='+this.options.cid+'></textarea></div>'), 140 var textarea = $('<div class="comment-textarea"><textarea placeholder="'+tips.getTips("textareaPlaceholder")+'" cid='+this.options.cid+'></textarea></div>'),
141 loginarea = $('<div class="login-status clearfix">'+ 141 loginarea = $('<div class="login-status clearfix">'+
142 '<div class="userimg">'+ 142 '<div class="userimg">'+
143 - '<img src="'+YohoConfig.resUrl+'/res/new/boys/images/detail/user-img.png" alt="">'+ 143 + '<img src="'+YohoConfig.resUrl+'/assets/images/detail/user-img.png" alt="">'+
144 '<i></i>'+ 144 '<i></i>'+
145 '</div>'+ 145 '</div>'+
146 '<div class="userinfo">'+ 146 '<div class="userinfo">'+
@@ -168,17 +168,17 @@ require("./login"); @@ -168,17 +168,17 @@ require("./login");
168 if(tips.isJian){ 168 if(tips.isJian){
169 $feedbackLogin = $('<div class="feedback-login clearfix">'+ 169 $feedbackLogin = $('<div class="feedback-login clearfix">'+
170 '<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+ 170 '<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+
171 - '<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>'+  
172 - '<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-yoho.png" alt="" /></a>'+  
173 - '<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>'+ 171 + '<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-qq.png" alt="" /></a>'+
  172 + '<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-yoho.png" alt="" /></a>'+
  173 + '<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-sina.png" alt="" /></a>'+
174 '</div>'); 174 '</div>');
175 }else{ 175 }else{
176 $feedbackLogin = $('<div class="feedback-login clearfix">'+ 176 $feedbackLogin = $('<div class="feedback-login clearfix">'+
177 '<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+ 177 '<span>'+tips.getTips("thirdLoginFeedback")+'</span>'+
178 - '<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>'+  
179 - '<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'/res/new/boys/images/about/thirdbtn-yoho.png" alt="" /></a>'+  
180 - '<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>'+  
181 - '<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>'+ 178 + '<a class="fb" ref="/passport/partner/index/oauth/facebook" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-facebook.png" alt="" /></a>'+
  179 + '<a class="yoho" href="javascript:;"><img src="'+YohoConfig.resUrl+'assets/images/about/thirdbtn-yoho.png" alt="" /></a>'+
  180 + '<a class="sina" ref="/passport/partner/index/oauth/sina" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-sina.png" alt="" /></a>'+
  181 + '<a class="qq" ref="/passport/partner/index/oauth/qq" href="javascript:;"><img src="'+YohoConfig.resUrl+'/assets/images/about/thirdbtn-qq.png" alt="" /></a>'+
182 '</div>'); 182 '</div>');
183 } 183 }
184 $feedbackLogin.appendTo(this.$element); 184 $feedbackLogin.appendTo(this.$element);
@@ -411,7 +411,7 @@ require("./login"); @@ -411,7 +411,7 @@ require("./login");
411 if(comments > 0){ 411 if(comments > 0){
412 that.options.commentNum.text(comments); 412 that.options.commentNum.text(comments);
413 }else{ 413 }else{
414 - that.options.commentNum.html('<img src="'+YohoConfig.resUrl+'/res/new/boys/images/mobile/comment-mobile.png">'); 414 + that.options.commentNum.html('<img src="'+YohoConfig.resUrl+'/assets/images/comment-mobile.png">');
415 $(".comment-num.zero").text(0); 415 $(".comment-num.zero").text(0);
416 $(".comment-num.edit-comment").text('留言'); 416 $(".comment-num.edit-comment").text('留言');
417 } 417 }
@@ -260,14 +260,14 @@ var tips=require("./tips"); @@ -260,14 +260,14 @@ var tips=require("./tips");
260 //登出 260 //登出
261 setLogout:function(){ 261 setLogout:function(){
262 $(".login-status").removeClass("login-success"); 262 $(".login-status").removeClass("login-success");
263 - $(".login-status .userimg").find("img").attr("src",YohoConfig.resUrl+"/res/new/boys/images/detail/user-img.png"); 263 + $(".login-status .userimg").find("img").attr("src",YohoConfig.resUrl+"/assets/images/detail/user-img.png");
264 $(".login-status .userinfo").hide(); 264 $(".login-status .userinfo").hide();
265 $(".login-status .userimg").find("i").attr("class",''); 265 $(".login-status .userimg").find("i").attr("class",'');
266 $(".comments-list").find(".delete-comment").remove(); 266 $(".comments-list").find(".delete-comment").remove();
267 267
268 //手机版 268 //手机版
269 $(".side-bar-header").removeClass("login-success"); 269 $(".side-bar-header").removeClass("login-success");
270 - $(".user-avatar").find("img").attr("src",YohoConfig.resUrl+"/res/new/boys/images/detail/user-img.png"); 270 + $(".user-avatar").find("img").attr("src",YohoConfig.resUrl+"/assets/images/detail/user-img.png");
271 $(".login-username").text("登录"); 271 $(".login-username").text("登录");
272 272
273 //显示匿名 273 //显示匿名