Authored by 2586703@qq.com

登录及seajs resUrl配置修改

... ... @@ -258,14 +258,14 @@ var tips = require("./tips");;
//登出
setLogout: function() {
$(".login-status").removeClass("login-success");
$(".login-status .userimg").find("img").attr("src", YohoConfig.mainUrl + "/assets/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.mainUrl + "/assets/images/detail/user-img.png");
$(".user-avatar").find("img").attr("src", YohoConfig.resUrl + "/assets/images/detail/user-img.png");
$(".login-username").text("登录");
//显示匿名
... ...
... ... @@ -313,6 +313,6 @@ var YohoConfig = {
domain: "newgirls.test.yoho.cn",
resdomain: "res.yohoboys.com",
mainUrl: "http://newgirls.test.yoho.cn",
resUrl: "http://res.yohoboys.com",
resUrl: "http://cmsres.test.yoho.cn/res/new/girls",
uploadUrl: "http://www.yohoboys.com/upload"
}
\ No newline at end of file
... ...