Commit db1840a5 authored by xishifeng's avatar xishifeng

楼盘详情分享下载链接更改

parent d7c0758a
...@@ -77,7 +77,9 @@ function readUrlIos(isFutang, fn){ ...@@ -77,7 +77,9 @@ function readUrlIos(isFutang, fn){
} }
function jumpEvent(){ function jumpEvent(){
var _ft = getUrlParam('ft'); console.log('下载页');
// location.href = 'xiazai.html';
// 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>img:nth-of-type(2)').attr('src','images/pbl_logo_ft.png');
// $('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP'); // $('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP');
...@@ -85,41 +87,41 @@ function jumpEvent(){ ...@@ -85,41 +87,41 @@ function jumpEvent(){
// } // }
//自动跳转app设置 //自动跳转app设置
if(device.isIos()) { // if(device.isIos()) {
readUrlIos(_ft, function(_url){ // readUrlIos(_ft, function(_url){
window.location = _url; // window.location = _url;
}); // });
} else if(device.isAndroid()) { // } else if(device.isAndroid()) {
readUrlAndroid(_ft, function(_url){ // readUrlAndroid(_ft, function(_url){
window.location = _url; // window.location = _url;
}); // });
} else { // } else {
console.log("other device"); // console.log("other device");
} // }
//点立即打开之后的事件 //点立即打开之后的事件
$('#jump_link').click(function(e) { // $('#jump_link').click(function(e) {
if(device.isIos()) { // if(device.isIos()) {
readUrlIos(_ft, function(_url){ // readUrlIos(_ft, function(_url){
window.location = _url; // window.location = _url;
}); // });
} else if(device.isAndroid()) { // } else if(device.isAndroid()) {
readUrlAndroid(_ft, function(_url){ // readUrlAndroid(_ft, function(_url){
window.location = _url; // window.location = _url;
}); // });
} else { // } else {
console.log("other device"); // console.log("other device");
}
var t = Date.now();
setTimeout(function() {
if(Date.now() - t < 1200) {
// if(_ft == '1'){
// location.href = 'xiazai.html?ft=1';
// }else{
location.href = 'xiazai.html';
// } // }
} //
}, 1000); // var t = Date.now();
}); // setTimeout(function() {
// if(Date.now() - t < 1200) {
//// if(_ft == '1'){
//// location.href = 'xiazai.html?ft=1';
//// }else{
// location.href = 'xiazai.html';
//// }
// }
// }, 1000);
// });
} }
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