From fc8bd6d373f3ebc0672f1c1a2fd7f902822eb56b Mon Sep 17 00:00:00 2001 From: dabai <dabai@yazhai.co> Date: Mon, 19 Oct 2020 17:33:35 +0800 Subject: [PATCH] footseen yaoqing ceshi anzhuo --- test.html | 11 ++++++----- text3.html | 208 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+), 5 deletions(-) create mode 100644 text3.html diff --git a/test.html b/test.html index 2d5a8fb..10c1437 100644 --- a/test.html +++ b/test.html @@ -122,11 +122,12 @@ var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 $(".iosDown").on("click", function () { - var data = { - "bingdType":getRequest().bindType, - "lang":sessionStorage.lang, - "type":getRequest().type, - }; +// var data = { +// "bingdType":getRequest().bindType, +// "lang":sessionStorage.lang, +// "type":getRequest().type, +// }; + var data = OpenInstall.parseUrlParams(); var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 if (userAgent.indexOf("Line") > -1) { if(sessionStorage.lang == 7){ diff --git a/text3.html b/text3.html new file mode 100644 index 0000000..85c9cd8 --- /dev/null +++ b/text3.html @@ -0,0 +1,208 @@ +<!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; +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);} + gtag('js', new Date()); + + gtag('config', 'AW-678006312'); +</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"> + <meta name="keywords" content="foot fetish,foot worship,foot tickle,Foot Seen,Video streaming"> + <meta name="description" content=""> + <meta content="telephone=no" name="format-detection"> + <meta name="wap-font-scale" content="no"> + <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> + <meta content="telephone=no" name="format-detection"> + <script src="https://www.footseen.com/js/fsize.js"></script> + <link rel="stylesheet" href="https://www.footseen.com/css/swiper.min.css"> + <link rel="stylesheet" href="https://www.footseen.com/css/base2.css"> + <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"> + <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> + <img src="https://www.footseen.com/img/logo.png" class="logo" /> + <a class="topUp"></a> + <div class="iosDown heartbeat"></div> + <div class="swiper-container androidSwiper hide"> + <div class="swiper-wrapper"> + <div class="swiper-slide"> + <img src="https://www.footseen.com/img/animg1_cn.png"/> + </div> + <div class="swiper-slide"> + <img src="https://www.footseen.com/img/animg2_cn.png"/> + </div> + <div class="swiper-slide"> + <img src="https://www.footseen.com/img/animg3_cn.png"/> + </div> + </div> + <div class="swiper-pagination"></div> + </div> + <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=202003301518" ></script> +<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script> +<script type="text/javascript"> + + function url_get_params() { + var url = location.href; + var theRequest = new Object(); + if(url.indexOf("?") != -1) { + var str = url.substr(url.indexOf("?") + 1); + strs = str.split("&"); + for(var i = 0; i < strs.length; i++) { + theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); + } + } + return theRequest; + } + + if( url_get_params().icid!=undefined){ + var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, ""); + } else { + var params = ''; + } + + var iosData = ''; + var andoridData = ''; + if(params != undefined && params.length>0){ + //定义设备号 + if(params.substring(0,3) == 'ios'){ + iosData = params; + andoridData = params.substring(3,params.length); + } else { + iosData = 'ios'+params; + andoridData = params; + } + } else { + iosData = 'iosfts'; + andoridData = 'fts'; + } + + console.log(iosData,andoridData) + + $('.iosDown').on('click',function(){ + 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); + }) + + + $('.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> -- libgit2 0.25.0