Commit e6e07647 by dabai

渠道号测试

parent 8437e10b
Showing with 22 additions and 1 deletions
......@@ -93,6 +93,24 @@
var data = {
icid:iosData
}
if(iosData.indexOf('iosftscps')>-1){
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
button.onclick = function () {
m.wakeupOrInstall();
return false;
}
return false;
}
}, data);
} else {
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
......@@ -112,6 +130,7 @@
return false;
}
}, data);
}
} else {
setTimeout(function(){
toDown();
......@@ -119,7 +138,7 @@
$('.iosDown').on('click',function(){
toDown();
})
},500)
},800)
}
function toDown(){
......@@ -144,6 +163,8 @@
'lala18':'https://zhibocdn.yabolive.net/apk/nf/footseen18.apk',
'lala19':'https://zhibocdn.yabolive.net/apk/nf/footseen19.apk',
'lala20':'https://zhibocdn.yabolive.net/apk/nf/footseen20.apk',
'ftscps1':'https://zhibocdn.yabolive.net/apk/nf/ftscps1.apk',
'ftscps2':'https://zhibocdn.yabolive.net/apk/nf/ftscps2.apk',
}
if(obj[andoridData]!=undefined){
window.location.href = obj[andoridData]
......
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 sign in to comment