Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
guodong
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
7a46c95d
authored
Oct 17, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
0e09f976
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
34 deletions
gzh/login2.html
phone1.html
share.html
gzh/login2.html
View file @
7a46c95d
...
...
@@ -60,7 +60,7 @@
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
<script>
$
(
function
()
{
// $ip = 'http://test.api.lvdou66.com:8036/';
// $ip = 'http://test.api.lvdou66.com:8036/';
$ip
=
"https://zhiboweb.ishuaji.cn/"
;
//$ip = 'https://zhibo.lvdou66.com/87server/'
// $ip = 'https://zhibo.lvdou66.com/';
...
...
phone1.html
View file @
7a46c95d
...
...
@@ -59,16 +59,18 @@
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
){
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
window
.
location
.
href
=
'https://www.pgyer.com/FGSJ'
// window.location.href='https://apps.apple.com/cn/app/id1522691256'
layer
.
msg
(
"ios版本维护中,请添加“果冻直播”公众号咨询"
)
//
layer.msg("ios版本维护中,请添加“果冻直播”公众号咨询")
}
else
{
window
.
location
.
href
=
'https://a.app.qq.com/o/simple.jsp?pkgname=com.show.guodong.live'
}
}
else
{
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
window
.
location
.
href
=
'https://www.pgyer.com/FGSJ'
// window.location.href='https://apps.apple.com/cn/app/id1522691256'
layer
.
msg
(
"ios版本维护中,请添加“果冻直播”公众号咨询"
)
//
layer.msg("ios版本维护中,请添加“果冻直播”公众号咨询")
}
else
{
window
.
location
.
href
=
'https://zhibocdn.lvdou66.com/apk/down/guodong.apk'
}
...
...
share.html
View file @
7a46c95d
...
...
@@ -2,7 +2,6 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<script
type=
"text/javascript"
charset=
"UTF-8"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
...
...
@@ -70,37 +69,22 @@
}
return
theRequest
;
}
var
data
=
OpenInstall
.
parseUrlParams
();
//openinstall.js中提供的工具函数,解析url中的所有查询参数
new
OpenInstall
({
appKey
:
"r06f9c"
,
onready
:
function
()
{
var
m
=
this
,
button
=
document
.
getElementById
(
"downloadButton"
);
button
.
style
.
visibility
=
"visible"
;
/*在app已安装的情况尝试拉起app*/
m
.
schemeWakeup
();
/*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
button
.
onclick
=
function
()
{
m
.
wakeupOrInstall
();
return
false
;
}
$
(
".btn"
).
on
(
"click"
,
function
(){
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
){
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
window
.
location
.
href
=
'https://www.pgyer.com/FGSJ'
}
else
{
window
.
location
.
href
=
'https://sj.qq.com/appdetail/com.show.guodong.live'
}
},
data
);
// $(".btn").on("click",function(){
// var ua = navigator.userAgent.toLowerCase();
// if(ua.match(/MicroMessenger/i) == 'micromessenger'){
// if (/iphone|ipad|ipod/.test(ua)) {
// window.location.href='https://apps.apple.com/cn/app/id1522691256'
// }else{
// window.location.href='https://a.app.qq.com/o/simple.jsp?pkgname=com.show.guodong.live'
// }
// }else{
// if (/iphone|ipad|ipod/.test(ua)) {
// window.location.href='https://apps.apple.com/cn/app/id1522691256'
// }else{
// window.location.href='https://zhibocdn.ishuaji.cn/apk/down/guodong-1.0.0-gdgw.apk'
// }
// }
// })
}
else
{
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
window
.
location
.
href
=
'https://www.pgyer.com/FGSJ'
}
else
{
window
.
location
.
href
=
'https://zhibocdn.lvdou66.com/apk/down/guodong.apk'
}
}
})
</script>
</html>
\ 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