Authored by lijing

登录

... ... @@ -39,8 +39,7 @@
if (json.code === 200) {
uid=json.data;
} else {
var url ='http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":'
+'/activity/brand/index.html'+'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}';
var url ='http://m.yohobuy.com/signin.html';
//window.location.href=url;
if ($("#collocation-link").length <= 0) {
$("body").append('<a href=\'' + url + '\' style="display:none;" id="collocation-link">' +
... ... @@ -58,7 +57,8 @@
if (uid) {
} else {
var url ='http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":'
var locationUrl = window.location.href;
var url =locationUrl + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":'
+'/activity/brand/index.html'+'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}';
//window.location.href=url;
if ($("#collocation-link").length <= 0) {
... ...