Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
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
9f8d1efd
authored
Dec 14, 2019
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios下载
parent
57a23faf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
17 deletions
1/index.html
1/ios.html
1/index.html
View file @
9f8d1efd
...
@@ -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字符串
...
...
1/ios.html
View file @
9f8d1efd
...
@@ -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'
;
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment