Commit 97634abd by dabai

footseen

parent 95f9acc9
Showing with 25 additions and 24 deletions
......@@ -241,7 +241,30 @@
return;
}
if(vest ==50 || vest == 60){
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';
}
} else {
//设备为ios
if(/iphone|ipad|ipod/.test(ua2)){
var params = {
......@@ -281,29 +304,7 @@
}
}
} 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';
}
}
})
......
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