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
5 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios下载
parent
57a23faf
master
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
1/index.html
1/ios.html
1/index.html
View file @
9f8d1efd
...
...
@@ -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字符串
...
...
This diff is collapsed.
Click to expand it.
1/ios.html
View file @
9f8d1efd
...
...
@@ -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'
;
})
...
...
This diff is collapsed.
Click to expand it.
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