Authored by michaelcao

update

... ... @@ -55,7 +55,7 @@
Request = GetRequest();
uid = Request['uid'];
if (!uid){
var locationUrl = window.location.href;
var locationUrl = cutUrl(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;
... ...
... ... @@ -510,7 +510,7 @@
Request = GetRequest();
uid = Request['uid'];
if (!uid){
var locationUrl = window.location.href;
var locationUrl = cutUrl(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;
... ... @@ -589,6 +589,14 @@
a.src = j;
m.parentNode.insertBefore(a,m);
})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.17/yas.js', '_yas');
//截取url
function cutUrl(url) {
var urlStr = url;
var urlArr = new Array();
urlArr = urlStr.split("?");
url = urlArr[0];
return url;
}
//获取url的uid
function GetRequest() {
var url = location.search; //获取url中"?"符后的字串
... ...
... ... @@ -278,7 +278,7 @@ img{
Request = GetRequest();
uid = Request['uid'];
if (!uid){
var locationUrl = window.location.href;
var locationUrl = cutUrl(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;
... ... @@ -349,6 +349,14 @@ img{
a.src = j;
m.parentNode.insertBefore(a,m);
})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.17/yas.js', '_yas');
//截取url
function cutUrl(url) {
var urlStr = url;
var urlArr = new Array();
urlArr = urlStr.split("?");
url = urlArr[0];
return url;
}
//获取url的uid
function GetRequest() {
var url = location.search; //获取url中"?"符后的字串
... ...
... ... @@ -75,7 +75,7 @@
Request = GetRequest();
uid = Request['uid'];
if (!uid){
var locationUrl = window.location.href;
var locationUrl = cutUrl(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;
... ... @@ -113,6 +113,14 @@
$("body").append("<div class='diaCover-p'>" + msg + "</div>");
setOut = setTimeout("$('.diaCover-p').remove();",3000);
}
//截取url
function cutUrl(url) {
var urlStr = url;
var urlArr = new Array();
urlArr = urlStr.split("?");
url = urlArr[0];
return url;
}
//获取url的uid
function GetRequest() {
var url = location.search; //获取url中"?"符后的字串
... ...