index.html
10.5 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://res.sharetrace.com/sharetrace.min.js"></script>
<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 property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:url" content="https://footseen.xyz/">
<meta property="og:image" content="https://app.ixiulive.com/static/images/footseenlogo.png">
<link rel="stylesheet" href="../../layer-v3.1.0/layer/theme/default/layer.css">
<link rel="stylesheet" href="../../css/base.css">
<link rel="stylesheet" href="css/index.css?v=2021040810477777">
<script src="../../lib/fsize.js"></script>
<title></title>
</head>
<body>
<div class="main">
<div class="mHead"></div>
<div class="mBox">
<p class="mBoxTitle"></p>
<div class="mBoxDesc"></div>
<div class="mBoxImg"></div>
</div>
<div class="mBoxBottom"></div>
<div class="mReply"></div>
<div class="mBottom">
<img src="img/logo.png" class="mBottomLogo"/>
<div class="mBottomInfo">
<p>Footseen live</p>
<p></p>
</div>
<div class="mBottomBtn"></div>
</div>
</div>
<div class="masking hide">
<img src="img/mask_cn.png"/>
</div>
<div class="maskCon"></div>
</body>
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="../../lib/jquery-3.1.1.min.js"></script>
<script src="../../layer-v3.1.0/layer/layer.js"></script>
<script src="js/newsLang.js?v=202104232001111111111111111111111"></script>
<script type="text/javascript">
$('.mBottomInfo p').eq(1).html(langList[langType].news5);
$('.mBottomBtn').html(langList[langType].news6);
$('.masking').html('<img src="'+langList[langType].news7+'"/>')
var data = getRequest();
var topicId = data.topicId;
var uid = data.uid;
var vest = data.vest;
//获取title
$.ajax({
url:$ip+'/active201904/getUserInfo.html',
data:{
os:'WEB',
cid:'web_gw',
uid:17000,
lang:2,
token:123,
roomId:uid
},
type: 'post',
dataType: "JSON",
success:function(res){
if(res.code == 1){
$('title').html(langList[langType].news4+res.roomInfo.nickName);
}
}
})
//动态详情
$.ajax({
url:$ip+'/share/dynamic/topic',
type: 'post',
dataType: "JSON",
data:{
os:'WEB',
cid:'web_gw',
topicId:topicId,
lang:langNum,
},
success:function(res){
if(res.code == 1){
var topic = res.topic;
if(topic != undefined){
var str = '';
str += '<img class="mHeadImg" src="'+cdn+topic.face+'?x-oss-process=image/resize,w_80">';
str += '<div class="mHeadInfo">';
if(topic.richLevel>0){
str += ' <p class="mHeadName">'+topic.nickname+'<img src="img/vip/'+topic.richLevel+'.png"></p>';
} else {
str += ' <p class="mHeadName">'+topic.nickname+'</p>';
}
str += ' <p class="mHeadTime">'+topic.remark+'</p>';
str += '</div>';
if(topic.addr!='' && topic.addr != undefined){
str += '<p class="mHeadAddress"><img src="img/address.png"/>'+topic.addr+'</p>';
}
$('.mHead').html(str);
var content = eval('('+topic.content+')');
console.log(content);
$('.mBoxTitle').html(content.title);
var str2 = '';
if(topic.price>0){
str2 += '<img class="mBoxImgNot" src="img/pic.png?v=202011201737"/>';
$('.mBoxImg').html(str2);
} else {
if(topic.type==1){
$('.mBoxDesc').html(content.text);
} else if(topic.type == 2){
str2 += '<img src="'+cdn+content.images[0].url+'"/>';
$('.mBoxImg').html(str2);
} else if(topic.type == 3){
if(content.videos[0].cover!=undefined){
str2 += '<img src="'+cdn+content.videos[0].cover+'"/>';
$('.mBoxImg').html(str2);
}
}
}
//转发回复 解锁 点赞数量
var str3 = '';
str3 += '<p class="mBoxBottomText">';
str3 += ' <span>'+langList[langType].news1+topic.forward+'</span><span>'+langList[langType].news2+topic.comment+'</span><span>'+langList[langType].news3+topic.lock+'</span>';
str3 += '</p>';
str3 += '<p class="mBoxBottomNum"><img src="img/dew.png">'+topic.up+'</p>';
$('.mBoxBottom').html(str3);
}
} else {
layer.msg(res.msg);
}
}
})
//评论 回复列表
$.ajax({
url:$ip+'/share/dynamic/commentList',
type: 'post',
dataType: "JSON",
data:{
os:'WEB',
cid:'web_gw',
topicId:topicId,
lang:2,
},
success:function(res){
if(res.code == 1){
var commen = res.commentResult;
var str = '';
if(commen!=undefined){
for(var i=0;i<commen.length;i++){
var content = eval('('+decodeURIComponent(commen[i].content)+')');
str += '<div class="mReplyDetail clearfix">';
str += ' <div class="mReplyDetailLeft">';
str += ' <img src="'+cdn+commen[i].face+'?x-oss-process=image/resize,w_80"/>';
str += ' </div>';
str += ' <div class="mReplyDetailRight">';
if(commen[i].richLevel>0){
str += ' <div class="mReplyInfo"><span class="mReplyInfoName">'+commen[i].nickname+'</span><img class="mReplyInfoImg" src="img/vip/'+commen[i].richLevel+'.png"/><span class="mReplyInfoNum"><img src="img/dew.png"/>'+commen[i].up+'</span></div>';
} else {
str += ' <div class="mReplyInfo"><span class="mReplyInfoName">'+commen[i].nickname+'</span><span class="mReplyInfoNum"><img src="img/dew.png"/>'+commen[i].up+'</span></div>';
}
str += ' <div class="mReplyDesc">'+content.text+'</div>';
str += ' <div class="mReplyText"><span class="mReplyTextTime">'+commen[i].remark+'</span><span class="mReplyTextNum '+(commen[i].reply > 0 ? 'check' : '')+'">'+langList[langType].news2+(commen[i].reply > 0 ? commen[i].reply : '')+'</span></div>';
str += ' </div>';
for(var j=0;j<commen[i].replyResult.length;j++){
var reply = commen[i].replyResult[j];
var content2 = eval('('+decodeURIComponent(commen[i].replyResult[j].content)+')');
str += '<div class="mReplyDetail2 clearfix">';
str += ' <div class="mReplyDetailLeft">';
str += ' <img src="'+cdn+reply.face+'?x-oss-process=image/resize,w_80"/>';
str += ' </div>';
str += ' <div class="mReplyDetailRight">';
if(reply.richLevel>0){
str += ' <div class="mReplyInfo"><span class="mReplyInfoName">'+reply.nickname+'</span><img class="mReplyInfoImg" src="img/vip/'+reply.richLevel+'.png"/><span class="mReplyInfoNum"><img src="img/dew.png"/>'+reply.up+'</span></div>';
} else {
str += ' <div class="mReplyInfo"><span class="mReplyInfoName">'+reply.nickname+'</span><span class="mReplyInfoNum"><img src="img/dew.png"/>'+reply.up+'</span></div>';
}
str += ' <div class="mReplyDesc">'+content2.text+'</div>';
str += ' <div class="mReplyText"><span class="mReplyTextTime">'+reply.remark+'</span><span class="mReplyTextNum '+(reply.reply > 0 ? 'check' : '')+'">'+langList[langType].news2+(reply.reply > 0 ? reply.reply : '')+'</span></div>';
str += ' </div>';
str += '</div>';
}
str += '</div>';
}
$('.mReply').html(str);
}
} else {
layer.msg(res.msg);
}
}
})
var cityFlag = 2;//1 为国内 2 为国外 3.未知地区
var province = ['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林','深圳','广州','杭州','苏州', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东 ', '河南', '湖北', '湖南', '广东', '广西', '海南 ', '重庆', '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆', 'CHINA']
if(returnCitySN["cname"].indexOf('未能识别')>-1){
cityFlag = 3;
} else {
for(var i=0;i<province.length;i++){
if(returnCitySN["cname"].indexOf(province[i])>-1){
cityFlag = 1;
}
}
}
var ua = navigator.userAgent || navigator.vendor || window.opera;
var ua2 = navigator.userAgent.toLowerCase()
$('.maskCon').on('click',function(){
//在微信 facebook line
if(ua.match(/MicroMessenger/i)=="micromessenger" || (ua.indexOf("FBAN") > -1) || (ua.indexOf("FBAV") > -1) || ua.indexOf('Line')>-1 ){
$('.masking').removeClass('hide');
return;
}
if(vest == 41) {
if(/iphone|ipad|ipod/.test(ua2)){
window.location.href = 'https://testflight.apple.com/join/i1Bv6AGC';
// var params = {
// icid:'iosftsB',
// }
// ShareTrace.init({
// appkey: "93adc025c1e699fe", // 此值必填
// param: JSON.stringify(params),
// success: function() {
// console.log("init success...")
// },
// error: function(msg) {
// console.log(msg)
// }
// });
//
//
// setTimeout(function(){
// ShareTrace.download();
// },500)
} else {
window.location.href = 'https://big.bgp.ourpow.com/apk/tmp/2021-04-25-19-06/Release-ftsB.apk';
}
} else {
//设备为ios
if(/iphone|ipad|ipod/.test(ua2)){
var params = {
icid:'iosfts',
}
// ShareTrace.init({
// appkey: "cd3ba48d0699c7facd3ba48d0699c7fa", // 此值必填
// param: JSON.stringify(params),
// success: function() {
// console.log("init success...")
// },
// error: function(msg) {
// console.log(msg)
// }
// });
window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
setTimeout(function(){
console.log(123456)
// ShareTrace.download();
},500)
} else {
//ip为国内
if(cityFlag == 1){
window.location.href = 'https://footseen.com/apk';
} else if(cityFlag == 2){
//ip为国外
window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US';
} else if(cityFlag == 3) {
//ip为未知
var cityStr = (navigator.language || navigator.browserLanguage).toLowerCase();
//浏览器语言为中文
if(cityStr.indexOf('zh')>=0){
window.location.href = 'https://footseen.com/apk';
} else {
window.location.href = 'https://play.google.com/store/apps/details?id=com.footseen.live&hl=en_US&gl=US';
}
}
}
}
})
</script>
</html>