Commit 9f8d1efd by dabai

ios下载

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