Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit e5f5024b authored 4 years ago by dabai's avatar dabai
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

邀请有奖

parent 379fd3b0
Show whitespace changes
Inline Side-by-side
Showing with 30 additions and 11 deletions
  • js/langAndorid.js
  • js/langIos.js
  • test.html
  • test2.html
js/langAndorid.js
View file @ e5f5024b
......@@ -30,7 +30,7 @@ var langList = [
foot10:'',
foot11:'注:請將你的手機版本更新至安卓5.0以上,獲得更好的',
foot12:'Foot Seen體驗',
foot13:'邀请码:',
foot13:'邀請碼:',
foot14:'複製成功',
},
{
......
This diff is collapsed. Click to expand it.
js/langIos.js
View file @ e5f5024b
......@@ -23,7 +23,7 @@ var langList = [
foot3:'https://footseen.com/img/img2_cn.png',
foot4:'https://footseen.com/img/img3_cn.png',
foot5:'下載APP',
foot6:'邀请码:',
foot6:'邀請碼:',
foot7:'複製成功',
},
{
......
This diff is collapsed. Click to expand it.
test.html
View file @ e5f5024b
......@@ -131,11 +131,16 @@
<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>
<script src="https://www.footseen.com/js/swiper.min.js"></script>
<script type="text/javascript" src="https://www.footseen.com/js/langAndorid.js?v=202010201643" ></script>
<script type="text/javascript" src="https://www.footseen.com/js/langAndorid.js?v=202010211044" ></script>
<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript">
......@@ -158,14 +163,14 @@
browserRedirect();
var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
$(".iosDown").on("click", function () {
var data = {
"bingdType":getRequest().bindType,
"lang":sessionStorage.lang,
"type":getRequest().type,
};
// var data = OpenInstall.parseUrlParams();
// var data = OpenInstall.parseUrlParams();
$(".iosDown").on("click", function () {
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Line") > -1) {
if(sessionStorage.lang == 7){
......@@ -176,10 +181,20 @@
$(".masking.L_En").fadeIn(500);
}
} else {
layer.open({
type: 1,
title: false,
shadeClose: true,
area: ["7.2rem", "6.98rem"],
content: $(".layer-box"),
})
setTimeout(function(){
}
})
$(".googleDown").on("click", function () {
new OpenInstall({
appKey: "tsy5ov",
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
......@@ -187,12 +202,16 @@
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
setTimeout(function(){
m.wakeupOrInstall();
return false;
},1000)
}
}, data);
},500)
}
})
$(".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';
......
This diff is collapsed. Click to expand it.
test2.html
View file @ e5f5024b
......@@ -90,7 +90,7 @@
</body>
<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script>
<script src="https://www.footseen.com/js/swiper.min.js"></script>
<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202010201649" ></script>
<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202010211044" ></script>
<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript">
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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