Commit 74f40ed5 by agan

添加特殊cid

parent 6de57b90
Showing with 11 additions and 10 deletions
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
</script> </script>
<script> <script>
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
var nJumpArr = [31184, 11134, 31179, 31183, 21144, 11125, 1116, 31147]
if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) {
if (url_get_params().icid == 31184 || url_get_params().icid == 11134) { if (nJumpArr.indexOf(url_get_params().icid) > 0) {
} else { } else {
window.location.href = "https://www.footseen.xyz?go=footseen"; window.location.href = "https://www.footseen.xyz?go=footseen";
......
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
</script> </script>
<script> <script>
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
var nJumpArr = [31184, 11134, 31179, 31183, 21144, 11125, 1116, 31147]
if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) {
if (url_get_params().icid == 31184 || url_get_params().icid == 11134) { if (nJumpArr.indexOf(url_get_params().icid) > 0) {
} else { } else {
window.location.href = "https://www.footseen.xyz?go=footseen"; window.location.href = "https://www.footseen.xyz?go=footseen";
...@@ -85,8 +86,8 @@ ...@@ -85,8 +86,8 @@
<div class="videoCon"> <div class="videoCon">
<video id="video" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" <video id="video" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true"
x5-video-player-type="h5" x5-video-player-fullscreen="true" x5-video-player-type="h5" x5-video-player-fullscreen="true"
style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay" muted="false" style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay"
loop="loop"> muted="false" loop="loop">
<source src="https://footseen.com/video/video.mp4" type="video/mp4"> <source src="https://footseen.com/video/video.mp4" type="video/mp4">
</source> </source>
</video> </video>
...@@ -203,9 +204,9 @@ ...@@ -203,9 +204,9 @@
} }
getChannel(function (data) { getChannel(function (data) {
if(data){ if (data) {
$(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', data.iOSChannel) $(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', data.iOSChannel)
}else{ } else {
$(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', iosData) $(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', iosData)
} }
}); });
...@@ -228,11 +229,11 @@ ...@@ -228,11 +229,11 @@
$('.topUp').on('click', function () { $('.topUp').on('click', function () {
window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang=' + sessionStorage.lang + '&gofrom=web' + '&gofrom=web&cidStr=h5_footseengw'; window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang=' + sessionStorage.lang + '&gofrom=web' + '&gofrom=web&cidStr=h5_footseengw';
}) })
$('.voiceBtn').on('click', function(){ $('.voiceBtn').on('click', function () {
if($(this).hasClass('muted')){ if ($(this).hasClass('muted')) {
$('#video')[0].muted = false; $('#video')[0].muted = false;
$(this).removeClass('muted') $(this).removeClass('muted')
}else{ } else {
$('#video')[0].muted = true; $('#video')[0].muted = true;
$(this).addClass('muted') $(this).addClass('muted')
} }
......
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