Commit 2717c775 by agan

修改下载弹窗

parent 9e8fcb76
Showing with 112 additions and 88 deletions
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<script async src='https://www.google-analytics.com/analytics.js'></script> <script async src='https://www.google-analytics.com/analytics.js'></script>
<script> <script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date;
ga('create', 'UA-134943215-2', 'auto'); ga('create', 'UA-134943215-2', 'auto');
ga('create', 'UA-155364301-1', 'auto','clientTracker'); ga('create', 'UA-155364301-1', 'auto', 'clientTracker');
ga('send', 'pageview'); ga('send', 'pageview');
ga('clientTracker.send', 'pageview'); ga('clientTracker.send', 'pageview');
</script> </script>
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-678006312"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-678006312"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag() { dataLayer.push(arguments); }
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'AW-678006312'); gtag('config', 'AW-678006312');
</script> </script>
<script> <script>
gtag('event', 'conversion', {'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC'}); gtag('event', 'conversion', { 'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC' });
</script> </script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="renderer" content="webkit"> <meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
...@@ -37,20 +38,24 @@ ga('clientTracker.send', 'pageview'); ...@@ -37,20 +38,24 @@ ga('clientTracker.send', 'pageview');
<link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css"> <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
<title>Footseen</title> <title>Footseen</title>
</head> </head>
<body> <body>
<div class="main"> <div class="main">
<span class="langTitle"><img src="https://www.footseen.com/img/down2.png"/><font></font></span> <span class="langTitle"><img src="https://www.footseen.com/img/down2.png" />
<font></font>
</span>
<div class="langList"> <div class="langList">
<p data-lang="2">繁體中文</p> <p data-lang="2">繁體中文</p>
<p data-lang="1">English</p> <p data-lang="1">English</p>
<p data-lang="7">العربية</p> <p data-lang="7">العربية</p>
</div> </div>
<a class="topUp"></a> <a class="topUp"></a>
<img src="https://footseen.com/img/new/text.png" class="mTextImg"/> <img src="https://footseen.com/img/new/text.png" class="mTextImg" />
<div class="iosDown heartbeat"></div> <div class="iosDown heartbeat"></div>
<div style="display: none" class="layer-box"> <div style="display: none" class="layer-box">
<div class="googleDown"><img src="https://www.footseen.com/img/googleplay.png"/><span>Google play</span></div> <div class="googleDown"><img src="https://www.footseen.com/img/googleplay.png" /><span>Google play</span>
<div class="apkDown"><img src="https://www.footseen.com/img/andorid.png"/><span>APK</span></div> </div>
<div class="apkDown"><img src="https://www.footseen.com/img/andorid.png" /><span>APK</span></div>
</div> </div>
</div> </div>
...@@ -59,7 +64,7 @@ ga('clientTracker.send', 'pageview'); ...@@ -59,7 +64,7 @@ ga('clientTracker.send', 'pageview');
<script src="https://www.footseen.com/js/new/lang.js"></script> <script src="https://www.footseen.com/js/new/lang.js"></script>
<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script> <script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript"> <script type="text/javascript">
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
$(".iosDown").on("click", function () { $(".iosDown").on("click", function () {
...@@ -73,25 +78,26 @@ var ua = navigator.userAgent.toLowerCase(); ...@@ -73,25 +78,26 @@ var ua = navigator.userAgent.toLowerCase();
eventAction: 'click', eventAction: 'click',
eventLabel: 'andorid' eventLabel: 'andorid'
}); });
if(location.pathname == '/'){ if (location.pathname == '/') {
var data = {'icid':'ftsgp'}; var data = { 'icid': 'ftsgp' };
layer.open({ window.location.href = "apk";
type: 1, // layer.open({
title: false, // type: 1,
shadeClose: true, // title: false,
area: ["7.2rem", "6.98rem"], // shadeClose: true,
content: $(".layer-box"), // area: ["7.2rem", "6.98rem"],
}) // content: $(".layer-box"),
$(".googleDown").on("click", function () { // })
copyText('footseen#ftsgp'); // $(".googleDown").on("click", function () {
setTimeout(function(){ // copyText('footseen#ftsgp');
window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US'; // setTimeout(function () {
},1000) // window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US';
// }, 1000)
}) // })
$(".apkDown").on("click", function () { // $(".apkDown").on("click", function () {
window.location.href="apk"; // window.location.href = "apk";
}) // })
} else { } else {
gtag('event', 'conversion', { gtag('event', 'conversion', {
...@@ -102,13 +108,13 @@ var ua = navigator.userAgent.toLowerCase(); ...@@ -102,13 +108,13 @@ var ua = navigator.userAgent.toLowerCase();
}) })
function gtag_report_conversion(url) { function gtag_report_conversion(url) {
setTimeout(function(){ setTimeout(function () {
window.location.href='apk'; window.location.href = 'apk';
},500) }, 500)
} }
$('.topUp').on('click',function(){ $('.topUp').on('click', function () {
window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web&cidStr=h5_footseengw'; window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang=' + sessionStorage.lang + '&gofrom=web&cidStr=h5_footseengw';
}) })
function copyText(text) { function copyText(text) {
...@@ -123,7 +129,7 @@ var ua = navigator.userAgent.toLowerCase(); ...@@ -123,7 +129,7 @@ var ua = navigator.userAgent.toLowerCase();
textarea.select(); textarea.select();
try { try {
var flag = document.execCommand("copy"); var flag = document.execCommand("copy");
} catch(eo){ } catch (eo) {
var flag = false; var flag = false;
} }
document.body.removeChild(textarea); document.body.removeChild(textarea);
...@@ -131,4 +137,5 @@ var ua = navigator.userAgent.toLowerCase(); ...@@ -131,4 +137,5 @@ var ua = navigator.userAgent.toLowerCase();
return flag; return flag;
} }
</script> </script>
</html> </html>
\ No newline at end of file
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="renderer" content="webkit"> <meta name="renderer" content="webkit">
...@@ -18,24 +19,28 @@ ...@@ -18,24 +19,28 @@
<link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css"> <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
<title>Footseen</title> <title>Footseen</title>
<style type="text/css"> <style type="text/css">
.layer-box{ .layer-box {
width: 7.2rem; width: 7.2rem;
height: 6.973rem; height: 6.973rem;
background: url(https://www.footseen.com/img/phonembg.png) no-repeat; background: url(https://www.footseen.com/img/phonembg.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
position: relative; position: relative;
} }
.layui-layer-close2{
.layui-layer-close2 {
display: none !important; display: none !important;
} }
.layui-layer{
.layui-layer {
border-radius: 0.5rem !important; border-radius: 0.5rem !important;
} }
.layui-layer-page .layui-layer-content{
.layui-layer-page .layui-layer-content {
border-radius: 0.5rem !important; border-radius: 0.5rem !important;
} }
.googleDown,.apkDown{ .googleDown,
.apkDown {
background: url(https://www.footseen.com/img/btngp.png) no-repeat; background: url(https://www.footseen.com/img/btngp.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
width: 4.813rem; width: 4.813rem;
...@@ -44,24 +49,27 @@ ...@@ -44,24 +49,27 @@
position: absolute; position: absolute;
top: 1.733rem; top: 1.733rem;
left: 50%; left: 50%;
transform: translate(-50%,0); transform: translate(-50%, 0);
-webkit-transform: translate(-50%,0); -webkit-transform: translate(-50%, 0);
text-align: center; text-align: center;
font-size: 0.426rem; font-size: 0.426rem;
color:#FFF; color: #FFF;
} }
.apkDown{
.apkDown {
top: 3.933rem; top: 3.933rem;
} }
.googleDown img,.apkDown img{ .googleDown img,
.apkDown img {
width: 0.373rem; width: 0.373rem;
height: 0.413rem; height: 0.413rem;
vertical-align: middle; vertical-align: middle;
margin-top: -.05rem; margin-top: -.05rem;
margin-right: 0.133rem; margin-right: 0.133rem;
} }
.codeBox{
.codeBox {
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 5rem; bottom: 5rem;
...@@ -70,7 +78,8 @@ ...@@ -70,7 +78,8 @@
height: 0.88rem; height: 0.88rem;
line-height: 0.88rem; line-height: 0.88rem;
} }
.code{
.code {
position: relative; position: relative;
padding: 0 0.4rem; padding: 0 0.4rem;
height: 0.88rem; height: 0.88rem;
...@@ -84,10 +93,11 @@ ...@@ -84,10 +93,11 @@
-moz-border-radius: 0.666rem; -moz-border-radius: 0.666rem;
-ms-border-radius: 0.666rem; -ms-border-radius: 0.666rem;
-o-border-radius: 0.666rem; -o-border-radius: 0.666rem;
background-color: rgba(0,0,0,.2); background-color: rgba(0, 0, 0, .2);
display: inline-block; display: inline-block;
} }
.code img{
.code img {
width: 0.426rem; width: 0.426rem;
height: 0.426rem; height: 0.426rem;
vertical-align: middle; vertical-align: middle;
...@@ -97,10 +107,13 @@ ...@@ -97,10 +107,13 @@
} }
</style> </style>
</head> </head>
<body> <body>
<div class="main"> <div class="main">
<span class="langTitle"><img src="https://www.footseen.com/img/down2.png"/><font></font></span> <span class="langTitle"><img src="https://www.footseen.com/img/down2.png" />
<font></font>
</span>
<div class="langList"> <div class="langList">
<p data-lang="2">繁體中文</p> <p data-lang="2">繁體中文</p>
<p data-lang="1">English</p> <p data-lang="1">English</p>
...@@ -110,11 +123,12 @@ ...@@ -110,11 +123,12 @@
<div class="codeBox"> <div class="codeBox">
<p class="code"><span></span><img src="https://www.footseen.com/img/copy.png" /></p> <p class="code"><span></span><img src="https://www.footseen.com/img/copy.png" /></p>
</div> </div>
<img src="https://footseen.com/img/new/text.png" class="mTextImg"/> <img src="https://footseen.com/img/new/text.png" class="mTextImg" />
<div class="iosDown heartbeat"></div> <div class="iosDown heartbeat"></div>
<div style="display: none" class="layer-box"> <div style="display: none" class="layer-box">
<div class="googleDown"><img src="https://www.footseen.com/img/googleplay.png"/><span>Google play</span></div> <div class="googleDown"><img src="https://www.footseen.com/img/googleplay.png" /><span>Google play</span>
<div class="apkDown"><img src="https://www.footseen.com/img/andorid.png"/><span>APK</span></div> </div>
<div class="apkDown"><img src="https://www.footseen.com/img/andorid.png" /><span>APK</span></div>
</div> </div>
</div> </div>
</body> </body>
...@@ -133,50 +147,50 @@ ...@@ -133,50 +147,50 @@
var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
if(!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) {} else if(bIsAndroid) { if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) { } else if (bIsAndroid) {
} else if(bIsIphoneOs || bIsIpad) { } else if (bIsIphoneOs || bIsIpad) {
window.location.href = 'share2.html'+location.search; window.location.href = 'share2.html' + location.search;
}
} }
}
browserRedirect(); browserRedirect();
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
var data = { var data = {
"bingdType":getRequest().bindType, "bingdType": getRequest().bindType,
"lang":sessionStorage.lang, "lang": sessionStorage.lang,
"type":getRequest().type, "type": getRequest().type,
}; };
$(".iosDown").on("click", function () { $(".iosDown").on("click", function () {
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
window.location.href = "apk";
layer.open({ // layer.open({
type: 1, // type: 1,
title: false, // title: false,
shadeClose: true, // shadeClose: true,
area: ["7.2rem", "6.98rem"], // area: ["7.2rem", "6.98rem"],
content: $(".layer-box"), // content: $(".layer-box"),
}) // })
}) })
$(".googleDown").on("click", function () { // $(".googleDown").on("click", function () {
window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US'; // window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US';
}) // })
$(".apkDown").on("click", function () { // $(".apkDown").on("click", function () {
window.location.href="apk"; // window.location.href = "apk";
}) // })
$('.topUp').on('click',function(){ $('.topUp').on('click', function () {
window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web&cidStr=h5_footseengw'; window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang=' + sessionStorage.lang + '&gofrom=web&cidStr=h5_footseengw';
}) })
$('.code img').on('click',function(){ $('.code img').on('click', function () {
copyText(getRequest().agentCode); copyText(getRequest().agentCode);
setTimeout(function(){ setTimeout(function () {
layer.msg(langList[langType].foot4); layer.msg(langList[langType].foot4);
},100) }, 100)
}) })
function copyText(text) { function copyText(text) {
var textarea = document.createElement("textarea"); var textarea = document.createElement("textarea");
...@@ -190,7 +204,7 @@ ...@@ -190,7 +204,7 @@
textarea.select(); textarea.select();
try { try {
var flag = document.execCommand("copy"); var flag = document.execCommand("copy");
} catch(eo){ } catch (eo) {
var flag = false; var flag = false;
} }
document.body.removeChild(textarea); document.body.removeChild(textarea);
...@@ -199,4 +213,5 @@ ...@@ -199,4 +213,5 @@
} }
</script> </script>
</html> </html>
\ No newline at end of file
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