Commit 4a932daf by libai

测试

parent 2bbc4b27
Showing with 6 additions and 0 deletions
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
var nJumpArr = ['11134', '211120', '11151', '31186', '31192','11155','31197','31198']; var nJumpArr = ['11134', '211120', '11151', '31186', '31192','11155','31197','31198'];
var h5CidArr = ['H5BZBSX', 'H5BNFDYY', 'H5BABYH', 'H5BSSWA', 'H5BSSQ','H5BGXA']; var h5CidArr = ['H5BZBSX', 'H5BNFDYY', 'H5BABYH', 'H5BSSWA', 'H5BSSQ','H5BGXA'];
var h5i = nJumpArr.indexOf(url_get_params().icid); var h5i = nJumpArr.indexOf(url_get_params().icid);
console.log(url_get_params())
if (/android/.test(ua)&&url_get_params().icid==11155) {
// window.location.href = " https://www.footseen.xyz/mobile/index.html?go=footseen&pmt=https://" + url_get_params().mrefer;
}
if ((/iphone|ipad|ipod/.test(ua))) { if ((/iphone|ipad|ipod/.test(ua))) {
window.location.href = " https://www.footseen.xyz/mobile/index.html?go=footseen&pmt=https://" + url_get_params().mrefer; window.location.href = " https://www.footseen.xyz/mobile/index.html?go=footseen&pmt=https://" + url_get_params().mrefer;
} else if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { } else if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) {
...@@ -235,6 +239,7 @@ ...@@ -235,6 +239,7 @@
} }
$(".iosDown,.downloadBtn2,.btnPage2").on("click", function () { $(".iosDown,.downloadBtn2,.btnPage2").on("click", function () {
clickDownload(function (data) { clickDownload(function (data) {
console.log(data)
var mData = ''; var mData = '';
if (!data) { if (!data) {
mData = andoridData; mData = andoridData;
...@@ -245,6 +250,7 @@ ...@@ -245,6 +250,7 @@
mData = 'ftsBVIP'; mData = 'ftsBVIP';
} }
copyText(mData); copyText(mData);
console.log(mData)
var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + mData + '.apk'; var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + mData + '.apk';
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('GET', url); xhr.open('GET', url);
......
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