Commit 2275376d authored by xinyuandu's avatar xinyuandu

new

parent 3dc5cdb8
......@@ -77,23 +77,20 @@ function readUrlIos(isFutang, fn){
function jumpEvent(){
var _clientType = getUrlParam('client');
var id = getUrlParam('id');
var _ft = getUrlParam('ft');
if(_ft == '1'){
/*if(_ft == '1'){
$('.fix_area_top>img:nth-of-type(2)').attr('src','images/pbl_logo_ft.png');
$('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP');
$('#jump_link>img').attr('src','images/pbl_dakai_ft.png');
}
}*/
var params = "?" + window.location.href.split('?')[1]
$('#jump_link').click(function(e){
if ($('#jump_link').attr("data-phone") == 'true' ? true : false ){
if(device.isIos()) {
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
/*readUrlIos(_ft, function(_url){
window.location.href = _url;
});*/
window.location.href = 'tlscheme://tlhost/tongtonglian/open' + params;
window.location.href = 'externalCallTLC://ToTLC/openShopDetail' +"?" + id;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},10000);
......@@ -102,9 +99,6 @@ function jumpEvent(){
}
} else if (device.isAndroid()){
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
/*readUrlAndroid(_ft, function(_url){
window.location.href = _url;
});*/
window.location.href = 'tlscheme://tlhost/tongtonglian/open' + params;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
......
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