help-bg.html
4.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<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">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title class="title">奶茶TF版</title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css">
<link rel="stylesheet" href="css/index.css?v=20190827">
<link rel="stylesheet" href="css/phone.css">
<script src="lib/fsize.js"></script>
<style>
.help-bg{
width: 10rem;
height: 38.5rem;
background:url(images/help-bg.png)no-repeat;
background-size: 100% 100%;
margin: 0 auto;
position: relative;
}
.help-btn{
width: 2.1rem;
font-size: 0.35rem;
height: 0.8rem;
color: #1E1D1E;
font-weight: 700;
text-align: center;
line-height: 0.8rem;
border-radius: 1rem;
background: linear-gradient(to right, #01D9D9, #05E2E2);
position: absolute;
top: 3.22rem;
right: 0.3rem;
}
.back{
width: 2.2rem;
height: 0.6rem;
position: absolute;
left: 6.5rem;
top: 36rem;
}
.Safari{
display: none;
top: 0;
left: 0;
position: fixed;
width: 10rem;
height: 100vh;
background: rgba(0,0,0,0.8);
z-index: 1000;
}
.Safari img{
width: 10rem;
}
</style>
</head>
<body style="background: #0E0603;">
<div class="help-bg">
<a href="https://yabolive.com/other/ltfix.mobileconfig"><div class="help-btn">下载文件</div></a>
<a href="tfHelp.html"><div class="back"></div></a>
</div>
<div class="Safari">
<img src="images/Safari.png" alt="">
</div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script>
<script>
var bbb = location.href;
var data = url_get_params(bbb)
if (sessionStorage.kkk == undefined) {
sessionStorage.kkk = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.version=data.appversion;
sessionStorage.checkstatus=data.checkstatus
if(data.roomID!=undefined&&data.roomID!='undefined'){
sessionStorage.roomId=data.roomID;
}else{
sessionStorage.roomId=data.roomId;
}
}
function url_get_params(url_path) {
var url = url_path;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23736699;
sessionStorage.kkk = 'debug'
}
$(".Safari").on("click", function () {
$(".Safari").fadeOut(500)
})
function appCollaboration(msg) {
var ua = window.navigator.userAgent.toLowerCase();
try{
if (/iphone|ipad|ipod/.test(ua)) {
window.webkit.messageHandlers.appCollaboration.postMessage(msg);
}else if(/android/.test(ua)){
window.yazhai.appCollaboration(msg);
}
}catch (e){}
}
var ua = window.navigator.userAgent.toLowerCase();
/******在微信里面******/
if(ua.match(/MicroMessenger/i) == 'micromessenger'){
$(".Safari").fadeIn(350)
}else{
//判断是不是在iPhone的Safair浏览器打开的本页面
if (ua.indexOf('applewebkit') > -1 && ua.indexOf('mobile') > -1 && ua.indexOf('safari') > -1 &&
ua.indexOf('linux') === -1 && ua.indexOf('android') === -1 && ua.indexOf('chrome') === -1 &&
ua.indexOf('ios') === -1 && ua.indexOf('browser') === -1) {
}
else {
$(".Safari").fadeIn(350)
}
}
$(".Safari").on("click", function () {
$(".Safari").fadeOut(500)
})
// var betEnd = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), new Date().getHours(), 41, 59).getTime();
</script>
</html>