diff --git a/footseen/Nesting/moving/index.html b/footseen/Nesting/moving/index.html index d42dee0..5eb0a89 100644 --- a/footseen/Nesting/moving/index.html +++ b/footseen/Nesting/moving/index.html @@ -60,7 +60,7 @@ var data = getRequest(); var topicId = data.topicId; var uid = data.uid; - + var vest = data.vest; //获取title $.ajax({ url:$ip+'/active201904/getUserInfo.html', @@ -241,7 +241,8 @@ return; } - //设备为ios + if(vest ==50 || vest == 60){ + //设备为ios if(/iphone|ipad|ipod/.test(ua2)){ var params = { icid:'iosfts', @@ -279,7 +280,31 @@ } } - } + } + } else if(vest == 41) { + if(/iphone|ipad|ipod/.test(ua2)){ + var params = { + icid:'iosftsB', + } + ShareTrace.init({ + appkey: "93adc025c1e699fe", // 此值必填 + param: JSON.stringify(params), + success: function() { + console.log("init success...") + }, + error: function(msg) { + console.log(msg) + } + }); + + + setTimeout(function(){ + ShareTrace.download(); + },500) + } else { + window.location.href = 'https://sakura.show/dlpk'; + } + } })