Commit 9f8d1efd by dabai

ios下载

parent 57a23faf
Showing with 22 additions and 16 deletions
......@@ -274,6 +274,9 @@
$('.mBottom').show();
var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (/iphone|ipad|ipod|mac/.test(ua)){
window.location.href = 'ios.html';
}
// if (/android/.test(ua)) {
$(".anBtn1,.anBtn2").on("click", function () {
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
......
......@@ -272,23 +272,26 @@
<script src='layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript">
$('.mBottom').show();
var data = OpenInstall.parseUrlParams();
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;
m.schemeWakeup();
$(".iosBtn").on("click", function () {
console.log(1111111111)
m.wakeupOrInstall();
return false;
$('.iosBg').on('click',function(){
window.location.href = 'https://testflight.apple.com/join/F0dDxv20';
})
}
}, data);
// var data = OpenInstall.parseUrlParams();
//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;
// m.schemeWakeup();
// $(".iosBtn").on("click", function () {
// console.log(1111111111)
// m.wakeupOrInstall();
// return false;
// })
// }
//}, data);
$('.topUp').on('click',function(){
window.location.href = 'http://www.yabolive.tv/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web';
})
......
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