Authored by michaelcao

update

... ... @@ -47,6 +47,7 @@
function () {
$(".index-a").click(
function (){
var junpUrl = 'http://'+ window.location.host+ '/activity/brand/index.html';
var uid = null;
var clickBoxArr = {};
... ... @@ -70,8 +71,9 @@
function(json) {
if (json.code === 200) {
uid=json.data;
window.location.href = junpUrl;
} else {
var url ='http://m.yohobuy.com/signin.html?refer=' + window.location.href;
var url ='http://m.yohobuy.com/signin.html?refer=' + junpUrl;
//window.location.href=url;
if ($("#collocation-link").length <= 0) {
$("body").append('<a href=\'' + url + '\' style="display:none;" id="collocation-link">' +
... ... @@ -88,15 +90,16 @@
uid = Request['uid'];
if (!uid){
var locationUrl = window.location.href;
var url = locationUrl + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
+ locationUrl +'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}';
//window.location.href=url;
var url = locationUrl + '?app_version=1&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
+ junpUrl +'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
if ($("#collocation-link").length <= 0) {
$("body").append('<a href=\'' + url + '\' style="display:none;" id="collocation-link">' +
'<span class="collocation-link"></span>' +
'</a>');
}
$(".collocation-link").click();
}else{
window.location.href = junpUrl + window.location.search;
}
}
}
... ... @@ -134,7 +137,7 @@
</div>
<a class="rule-a rule-btn"></a>
<a class="index-a" href="index.html"></a>
<a class="index-a"></a>
<!-- end text content: -->
<div class="dia-c">
<a class="close-btn">
... ...