Commit 6cd8c2ef by dabai

邀请分享

parent 192393df
Showing with 43 additions and 3 deletions
...@@ -181,4 +181,17 @@ function lang(){ ...@@ -181,4 +181,17 @@ function lang(){
str2 += '<p class="andoridDescText andoridDescText2">'+langList[langType].foot11+'</p>'; str2 += '<p class="andoridDescText andoridDescText2">'+langList[langType].foot11+'</p>';
str2 += '<p class="andoridDescText2">'+langList[langType].foot12+'</p>'; str2 += '<p class="andoridDescText2">'+langList[langType].foot12+'</p>';
$('.andoridDesc').html(str2); $('.andoridDesc').html(str2);
} }
\ No newline at end of file
function getRequest() {
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;
}
\ No newline at end of file
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</body> </body>
<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script> <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 src="https://www.footseen.com/js/swiper.min.js"></script>
<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202003301517" ></script> <script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202010201649" ></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">
...@@ -117,8 +117,35 @@ ...@@ -117,8 +117,35 @@
} }
}, data); }, data);
}) })
$('.code img').on('click',function(){
copyText(getRequest().agentCode);
setTimeout(function(){
layer.msg(langList[langType].foot7);
},100)
})
$('.topUp').on('click',function(){ $('.topUp').on('click',function(){
window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&gofrom=web&cidStr=h5_footseengw'; window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&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> </script>
</html> </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