Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9e6a7b13
authored
Oct 12, 2019
by
叶明星
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
安卓下载地址添加
parent
0b138a51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
0 deletions
apkDown.php
apkDown.php
0 → 100644
View file @
9e6a7b13
<div
class=
"weixin-tip"
style=
"display:none;"
>
<p>
<img
src=
"/images/weixin-tip.jpg"
class=
"weixinpic"
alt=
"微信打开"
/>
</p>
</div>
<style>
a
{
text-decoration
:
none
;}
.weixinpic
{
width
:
100%
;
height
:
100%
;}
.weixin-tip
{
display
:
none
;
position
:
fixed
;
left
:
0
;
top
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.8
);
filter
:
alpha
(
opacity
=
80
);
height
:
100%
;
width
:
100%
;
z-index
:
100
;}
.weixin-tip
p
{
text-align
:
center
;}
</style>
<script
type=
"text/javascript"
src=
"/js/jquery-1.7.2.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
function
(){
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
var
isIOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
var
winHeight
=
$
(
window
).
height
();
function
is_weixin
()
{
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
return
true
;
}
else
{
return
false
;
}
}
var
isWeixin
=
is_weixin
();
if
(
isWeixin
){
$
(
".weixin-tip"
).
css
(
"height"
,
winHeight
);
$
(
".weixin-tip"
).
show
();
}
else
{
window
.
location
.
href
=
"https://img.icsales.com/down/ICSales_release_1_v1.0_2019_10_12_14_42_57.apk"
;
//安卓下载地址
}
})
</script>
\ No newline at end of file
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