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
fa6c317d
Commit
fa6c317d
authored
Jul 29, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加遮罩层
parent
58d3e895
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
downloadApp.html
html/downloadApp.html
+13
-0
No files found.
html/downloadApp.html
View file @
fa6c317d
...
@@ -50,6 +50,14 @@
...
@@ -50,6 +50,14 @@
bottom: 4rem;
bottom: 4rem;
width: 100%; */
width: 100%; */
}
}
#tc
{
position
:
fixed
;
top
:
0
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0.5
);
width
:
100%
;
display
:
none
;
}
</style>
</style>
</head>
</head>
...
@@ -63,6 +71,7 @@
...
@@ -63,6 +71,7 @@
<img
src=
"../images/dload_logo.png"
alt=
""
>
<img
src=
"../images/dload_logo.png"
alt=
""
>
</div>
</div>
</div>
</div>
<div
id=
"tc"
></div>
</div>
</div>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
...
@@ -74,6 +83,10 @@
...
@@ -74,6 +83,10 @@
<script>
<script>
function
downLoad
(){
function
downLoad
(){
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
//获取判断用的对象
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
//在微信中打开
$
(
'#tc'
).
css
(
'display'
,
'block'
)
}
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
//android终端或者uc浏览器
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
//android终端或者uc浏览器
var
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
var
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
...
...
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