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
43fe1e77
Commit
43fe1e77
authored
Nov 14, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下载页
parent
6e3be8db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
+22
-5
downloadApp.html
html/downloadApp.html
+22
-5
No files found.
html/downloadApp.html
View file @
43fe1e77
...
...
@@ -50,7 +50,7 @@
bottom: 4rem;
width: 100%; */
}
#
tc
{
.
tc
{
position
:
fixed
;
top
:
0
;
height
:
100%
;
...
...
@@ -58,6 +58,12 @@
width
:
100%
;
display
:
none
;
}
.tc
.Img
{
text-align
:
right
;
padding-right
:
1rem
;
box-sizing
:
border-box
;
margin-top
:
1rem
;
}
</style>
</head>
...
...
@@ -71,7 +77,17 @@
<img
src=
"../images/dload_logo.png"
alt=
""
>
</div>
</div>
<div
id=
"tc"
></div>
<div
id=
"tc1"
class=
"tc"
></div>
<div
id=
"tc2"
class=
"tc"
>
<div
class=
"Img"
>
<div>
<img
src=
"../images/down/jt.png"
alt=
""
>
</div>
<div
style=
"margin-top:1rem"
>
<img
src=
"../images/down/font.png"
alt=
""
>
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
...
...
@@ -87,8 +103,7 @@
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
&&
isAndroid
)
{
//不在微信中打开并且不在android
$
(
'#tc'
).
css
(
'display'
,
'block'
)
layer
.
msg
(
'请在浏览器中打开!'
)
$
(
'#tc2'
).
css
(
'display'
,
'block'
)
}
}
function
downLoad
(){
...
...
@@ -96,13 +111,15 @@
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
//获取判断用的对象
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
//在微信中打开
$
(
'#tc'
).
css
(
'display'
,
'block'
)
$
(
'#tc
1
'
).
css
(
'display'
,
'block'
)
}
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
){
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'
;
}
...
...
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