Commit 4bfdd891 authored by agping's avatar agping

11

parent 1773d845
......@@ -34,7 +34,7 @@ function jumpEvent(){//同联
if(device.isIos()) {
console.log(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' )
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
window.location.href = 'externalCallTLC://AppOpenShopDetail/'+ id;
// window.location.href = 'externalCallTLC://AppOpenShopDetail/'+ id;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
......@@ -43,7 +43,7 @@ function jumpEvent(){//同联
}
} else if (device.isAndroid()) {
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
// window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
......@@ -56,12 +56,12 @@ function jumpEvent(){//同联
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
if(device.isIos()) {
console.log(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' )
window.location.href = 'externalCallTLC://AppOpenShopDetail/'+ id;
// window.location.href = 'externalCallTLC://AppOpenShopDetail/'+ id;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
} else if (device.isAndroid()) {
window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
// window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment