Commit 2717c775 by agan

修改下载弹窗

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