Commit 2dd0be34 by dabai

footseen 安卓下载修改

parent 68352fd9
Showing with 118 additions and 14 deletions
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<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;
......@@ -37,7 +38,52 @@ ga('clientTracker.send', 'pageview');
<link rel="stylesheet" href="https://www.footseen.com/css/inedx.css">
<link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
<title>Foot Seen</title>
<style type="text/css">
.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{
display: none !important;
}
.layui-layer{
border-radius: 0.5rem !important;
}
.layui-layer-page .layui-layer-content{
border-radius: 0.5rem !important;
}
.googleDown,.apkDown{
background: url(https://www.footseen.com/img/btngp.png) no-repeat;
background-size: 100% 100%;
width: 4.813rem;
height: 1.2rem;
line-height: 1.2rem;
position: absolute;
top: 1.733rem;
left: 50%;
transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
text-align: center;
font-size: 0.426rem;
color:#FFF;
}
.apkDown{
top: 3.933rem;
}
.googleDown img,.apkDown img{
width: 0.373rem;
height: 0.413rem;
vertical-align: middle;
margin-top: -.05rem;
margin-right: 0.133rem;
}
</style>
</head>
<body>
<div class="main bg1">
......@@ -67,6 +113,10 @@ ga('clientTracker.send', 'pageview');
<div class="andoridDesc"></div>
<div class="andoridBottom"></div>
<div class="arBottom"></div>
<div style="display: none" class="layer-box">
<div class="googleDown"><img src="img/googleplay.png"/><span>Google play</span></div>
<div class="apkDown"><img src="img/andorid.png"/><span>APK</span></div>
</div>
</div>
</body>
<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script>
......@@ -88,20 +138,54 @@ ga('clientTracker.send', 'pageview');
$(".masking.L_En").fadeIn(500);
}
} else {
ga('send', 'event', {
eventCategory: 'andorid',
eventAction: 'click',
eventLabel: 'andorid'
});
ga('clientTracker.send', 'event', {
eventCategory: 'andorid',
eventAction: 'click',
eventLabel: 'andorid'
});
gtag('event', 'conversion', {
'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
'event_callback': gtag_report_conversion('apk')
});
ga('send', 'event', {
eventCategory: 'andorid',
eventAction: 'click',
eventLabel: 'andorid'
});
ga('clientTracker.send', 'event', {
eventCategory: 'andorid',
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');
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
setTimeout(function(){
m.wakeupOrInstall();
return false;
},1000)
}
}, data);
})
$(".apkDown").on("click", function () {
window.location.href="apk";
})
} else {
gtag('event', 'conversion', {
'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
'event_callback': gtag_report_conversion('apk')
});
}
}
})
......@@ -114,5 +198,25 @@ ga('clientTracker.send', 'pageview');
$('.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) {
var textarea = document.createElement("textarea");
var currentFocus = document.activeElement;
document.body.appendChild(textarea);
textarea.value = text;
textarea.focus();
if (textarea.setSelectionRange)
textarea.setSelectionRange(0, textarea.value.length);
else
textarea.select();
try {
var flag = document.execCommand("copy");
} catch(eo){
var flag = false;
}
document.body.removeChild(textarea);
currentFocus.focus();
return flag;
}
</script>
</html>
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