Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
58d3e895
Commit
58d3e895
authored
Jul 29, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加下载
parent
f08f65ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
downloadApp.html
html/downloadApp.html
+12
-2
No files found.
html/downloadApp.html
View file @
58d3e895
...
...
@@ -57,7 +57,7 @@
<div
class=
"main"
>
<div
class=
"dload-btn"
>
<div>
<span>
立即下载
</span>
<span
onclick=
"downLoad()"
>
立即下载
</span>
</div>
<div>
<img
src=
"../images/dload_logo.png"
alt=
""
>
...
...
@@ -73,7 +73,17 @@
<script
type=
"text/javascript"
src=
"../js/autosize.js"
></script>
<script>
function
downLoad
(){
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
//android终端或者uc浏览器
var
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
if
(
isAndroid
){
// alert('是否是Android:'+isAndroid);
window
.
location
.
href
=
'http://imgfile.oytour.com/app/oytourB2B.apk'
;
}
else
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/%E5%8D%B0%E8%B1%A1%E5%90%8C%E4%B8%9A/id1471616669?l=zh&ls=1'
;
}
}
</script>
</body>
...
...
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