Commit 46e39441 authored by xishifeng's avatar xishifeng

下载链接区分

parent 0cbd8df0
...@@ -78,10 +78,12 @@ function readUrlIos(isFutang, fn){ ...@@ -78,10 +78,12 @@ function readUrlIos(isFutang, fn){
function jumpEvent(){ function jumpEvent(){
console.log('下载页'); console.log('下载页');
var _clientType = getUrlParam('client');
$('#jump_link').click(function(e){ $('#jump_link').click(function(e){
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
location.href = 'download'; var _ym = (~ServerHost.indexOf('estate.'))?'https://admin.tonglianjituan.com/mobile4.0/xiazai.html':'https://develop.tonglianjituan.com/mobile4.0/xiazai.html';
location.href = _clientType==='b'?_ym:'download';
}); });
// var _ft = getUrlParam('ft'); // var _ft = getUrlParam('ft');
......
var ServerHost = location.origin; var ServerHost = location.origin;
var ServerHostTempC = 'https://pre2.tonglianjituan.com'; var ServerHostTempC = 'https://pre2.tonglianjituan.com';
//var ServerHostTempC = 'http://192.168.2.13'; //var ServerHostTempC = 'http://192.168.2.13';
if(~ServerHost.indexOf('admin.')){ if(~ServerHost.indexOf('estate.')){
ServerHostTempC = 'https://estate.tonglianjituan.com'; ServerHostTempC = 'https://estate.tonglianjituan.com';
}; };
//从location.href里获取参数 //从location.href里获取参数
......
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