Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
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
b59d653a
authored
Dec 06, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b7d274b5
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
221 additions
and
114 deletions
mTest/Graphics.html
mTest/index.html
mTest/lib/default.js
mTest/lib/login.js
mTest/pageImages.html
mTest/pageVideo.html
mTest/revise.html
mTest/room/liveRoom.html
mTest/userRoom.html
mTest/video.html
mTest/videoPage.html
mTest/Graphics.html
View file @
b59d653a
...
...
@@ -183,7 +183,7 @@ $(function(){
topicId
:
sessionStorage
.
topicId
},
success
:
function
(
data
){
// //console.log('查看帖文详情',data)
// //
//
console.log('查看帖文详情',data)
var
html
=
[];
var
list
=
data
.
topic
;
var
details
=
JSON
.
parse
(
list
.
content
)
...
...
@@ -271,7 +271,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// console.log('查看贴文评论',data)
//
//
console.log('查看贴文评论',data)
if
(
data
.
commentResult
.
length
==
0
){
var
html
=
'
<
p
class
=
"grap-msg-top"
>
評論
(
0
)
<
/p><div class="grap-bottom-box">暫無評論</
div
>
'
$(".grap-msg-box").html(html);
...
...
@@ -315,7 +315,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// //console.log('更多贴文评论',data)
// //
//
console.log('更多贴文评论',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
20
;
i
++
){
if
(
e
==
1
&&
i
<
2
)
continue
...
...
@@ -357,7 +357,7 @@ $(function(){
tag
:
sessionStorage
.
tag
,
},
success
:
function
(
data
){
// //console.log('獲取貼文列表',data)
// //
//
console.log('獲取貼文列表',data)
var
html
=
[];
var
moreNum
=
0
for
(
var
i
=
0
;
i
<
6
;
i
++
){
...
...
@@ -404,7 +404,7 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表'
,
data
)
// //
//
console.log('
獲取貼文列表'
,
data
)
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
if
(
pageNum
==
1
&&
i
<
3
)
continue
;
...
...
mTest/index.html
View file @
b59d653a
...
...
@@ -392,7 +392,7 @@
</div>
<div
class=
"right-nav-content"
>
<div
class=
"right-list-box right-login-box"
>
登入/註冊
</div>
<div
class=
"right-list-box"
>
儲值
</div>
<div
class=
"right-list-box
right-list-box-reg
"
>
儲值
</div>
</div>
<!-- <div class="right-list-bottom1">刷新</div> -->
</div>
...
...
@@ -427,10 +427,12 @@ $(function(){
}
})
}
//ios首次登陆
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
sessionStorage
.
oneLogin
==
1
){
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
if
(
sessionStorage
.
type
==
"pwa"
)
return
;
sessionStorage
.
oneLogin
=
0
layer
.
open
({
type
:
1
,
...
...
@@ -446,6 +448,16 @@ $(function(){
})
}
}
//ios中PWA隱藏約會
if
(
sessionStorage
.
type
==
"pwa"
){
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
$
(
".bottom-nav >div"
).
eq
(
2
).
hide
()
$
(
".bottom-nav >div"
).
css
(
"width"
,
"33.3%"
)
$
(
".bottom-nav p"
).
css
(
"width"
,
"3.33rem"
)
}
}
//用户是否登录
if
(
localStorage
.
uid
!==
undefined
&&
localStorage
.
uid
!=
"undefined"
){
userInfo
()
...
...
@@ -486,7 +498,6 @@ $(function(){
$
(
".bottom-nav-img4"
).
removeClass
(
"bottom-nav-img4-click"
)
$
(
".bottom-nav-img1"
).
addClass
(
"bottom-nav-img1-click"
)
$
(
".top-box"
).
show
()
})
$
(
".bottom-nav-img2"
).
on
(
"click"
,
function
(){
if
(
localStorage
.
uid
==
undefined
){
...
...
@@ -636,6 +647,19 @@ $(function(){
searchGoVideo
(
$
(
".box4 .search-input"
).
val
(),
99
)
}
})
$
(
".right-list-box-reg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
4
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
window
.
location
.
href
=
"https://www.footseen.com/footseen/phonepay/applepay.html?lang=2&gofrom=web&cidStr=ftsH5"
}
})
})
$
(
".search-back"
).
on
(
"click"
,
function
(){
likeList
()
$
(
".box1"
).
hide
()
...
...
@@ -663,7 +687,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
console
.
log
(
'獲取用戶基本信息'
,
data
)
//
console.log('獲取用戶基本信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
window
.
localStorage
.
removeItem
(
"uid"
)
...
...
@@ -693,7 +717,17 @@ $(function(){
return
;
})
$
(
".right-list-box-reg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
4
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
window
.
location
.
href
=
"https://www.footseen.com/footseen/phonepay/applepay.html?lang=2&gofrom=web&cidStr=ftsH5&uid="
+
localStorage
.
uid
+
""
}
})
})
$
(
".right-list-box-face"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
"body"
).
css
(
"background"
,
"rgb(217, 217, 217)"
)
...
...
@@ -727,7 +761,7 @@ $(function(){
token
:
localStorage
.
token
},
success
:
function
(
data
){
console
.
log
(
'用户资料卡'
,
data
)
//
console.log('用户资料卡',data)
$
(
".zone-top-like-box div"
).
eq
(
0
).
text
(
data
.
zoneData
.
myfollow
)
$
(
".zone-top-fans-box div"
).
eq
(
0
).
text
(
data
.
zoneData
.
followme
)
if
(
data
.
zoneInfo
.
sex
==-
1
)
var
sexyIcon
=
''
...
...
@@ -770,7 +804,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'直播列表'
,
data
)
//
console.log('直播列表',data)
if
(
data
.
code
==-
5008
){
setTimeout
(
function
()
{
liveList
(
1
)
...
...
@@ -812,7 +846,7 @@ $(function(){
token:localStorage.token
},
success:function(data){
console.log('
搜索用户'
,
data
)
//
console.log('
搜索用户'
,
data
)
var
html
=
[];
if
(
data
.
code
==-
504
){
noUser
=
true
;
...
...
@@ -875,7 +909,7 @@ $(function(){
pageID: localStorage.canvasCode,
},
success:function(data){
//console.log('
關注
',data)
//
//
console.log('
關注
',data)
if(data.code==1){
_self.unbind("click")
_self.addClass("search-like-box-yes")
...
...
@@ -904,7 +938,7 @@ $(function(){
sort:-1,
},
success:function(data){
console.log('
搜索視頻'
,
data
)
//
console.log('
搜索視頻'
,
data
)
var
html
=
[];
var
videoNum
=
0
for
(
var
i
=
0
;
i
<
pageNum
;
i
++
){
...
...
@@ -965,7 +999,7 @@ $(function(){
pageID:localStorage.canvasCode
},
success:function(data){
console.log('
相册列表'
,
data
)
//
console.log('
相册列表'
,
data
)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
].
type
==
3
){
...
...
@@ -1042,7 +1076,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'拉取關注列表'
,
data
)
//
console.log('拉取關注列表',data)
var
html
=
[];
liveNum
=
0
for
(
var
i
=
0
;
i
<
data
.
rooms
.
length
;
i
++
){
...
...
@@ -1116,10 +1150,10 @@ $(function(){
}
// 上下
if
(
touchY
>
e
.
changedTouches
[
0
].
clientY
){
// console.log("向上")
//
//
console.log("向上")
touchY
=
e
.
changedTouches
[
0
].
clientY
}
else
if
(
touchY
<
e
.
changedTouches
[
0
].
clientY
){
// console.log("向下")
//
//
console.log("向下")
touchY
=
e
.
changedTouches
[
0
].
clientY
}
})
...
...
@@ -1129,7 +1163,7 @@ $(function(){
if
(
startX
>
e
.
changedTouches
[
0
].
clientX
){
//向左
// console.log(zwidth)
//
//
console.log(zwidth)
if
(
goDeg
>
150
&&
zwidth
>
3
){
$
(
".right-nav"
).
css
(
"right"
,
"0rem"
)
rightNavShow
=
true
;
...
...
mTest/lib/default.js
View file @
b59d653a
...
...
@@ -28,6 +28,9 @@ if(data.tag==undefined)data.tag=''
sessionStorage
.
tag
=
data
.
tag
sessionStorage
.
qd
=
data
.
qd
sessionStorage
.
type
=
data
.
type
;
if
(
sessionStorage
.
pmt
==
undefined
||
sessionStorage
.
pmt
==
"undefined"
){
sessionStorage
.
pmt
=
data
.
pmt
}
var
mySound
=
data
.
sound
;
if
(
data
.
back
!=
undefined
)
backGo
=
data
.
back
;
if
(
sessionStorage
.
open
==
undefined
)
sessionStorage
.
open
=
1
...
...
@@ -62,6 +65,7 @@ if(data.back!=undefined)backGo=data.back;
// localStorage.token = 'debug'
// // sessionStorage.roomId=210101
// }
//ajax设置默认参数
$
.
ajaxSetup
({
global
:
false
,
type
:
'get'
,
...
...
@@ -69,7 +73,9 @@ if(data.back!=undefined)backGo=data.back;
lang
:
2
,
os
:
'h5'
,
cid
:
'ftsH5'
,
webVersion
:
'1000'
webVersion
:
'1000'
,
uid
:
localStorage
.
uid
,
token
:
localStorage
.
token
,
},
dataType
:
"JSON"
})
...
...
@@ -91,17 +97,66 @@ if(data.back!=undefined)backGo=data.back;
}
})
}
//ajax设置默认参数
$
.
ajaxSetup
({
global
:
false
,
type
:
'get'
,
data
:
{
uid
:
localStorage
.
uid
,
token
:
localStorage
.
token
,
//統計訪問人數
stat
()
webActive
()
function
stat
(){
if
(
sessionStorage
.
stat
==
1
)
return
;
if
(
localStorage
.
canvasCode
==
"oneEnter"
||
localStorage
.
canvasCode
==
undefined
)
return
if
(
localStorage
.
token
!==
undefined
){
$
.
ajax
({
url
:
$ip
+
'stat/log'
,
data
:{
resolution
:
screen
.
width
+
'*'
+
screen
.
height
,
pageID
:
localStorage
.
canvasCode
,
uid
:
localStorage
.
uid
},
dataType
:
"JSON"
success
:
function
(
data
){
// console.log('上報',data)
sessionStorage
.
stat
=
1
}
})
return
;
}
$
.
ajax
({
url
:
$ip
+
'stat/log'
,
data
:{
resolution
:
screen
.
width
+
'*'
+
screen
.
height
,
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
// console.log('上報',data)
sessionStorage
.
stat
=
1
}
})
}
function
webActive
(){
if
(
sessionStorage
.
stat2
==
1
)
return
;
if
(
localStorage
.
canvasCode
==
"oneEnter"
||
localStorage
.
canvasCode
==
undefined
)
return
;
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
0
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
sessionStorage
.
stat2
=
1
}
})
if
(
localStorage
.
uid
==
undefined
||
localStorage
.
uid
==
'undefined'
)
return
;
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
7
,
pageID
:
localStorage
.
canvasCode
,
uid
:
localStorage
.
uid
},
success
:
function
(
data
){
sessionStorage
.
stat2
=
1
}
})
}
//点击刷新
$
(
".ref"
).
on
(
"click"
,
function
()
{
sessionStorage
.
jump
=
undefined
;
...
...
mTest/lib/login.js
View file @
b59d653a
...
...
@@ -502,6 +502,16 @@ function googleLogin(){
// google.accounts.id.prompt(); // also display the One Tap dialog
}
function
loginPage
(){
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
6
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
}
})
$
(
".right-nav"
).
css
(
"right"
,
"-8rem"
)
$
(
".login-box"
).
css
(
"bottom"
,
"0rem"
)
$
(
".login1,.login2,.register,.reset"
).
hide
()
...
...
mTest/pageImages.html
View file @
b59d653a
...
...
@@ -187,7 +187,7 @@ $(function(){
topicId
:
sessionStorage
.
topicId
},
success
:
function
(
data
){
// //console.log('查看帖文详情',data)
// //
//
console.log('查看帖文详情',data)
var
html
=
[];
var
list
=
data
.
topic
;
var
details
=
JSON
.
parse
(
list
.
content
)
...
...
@@ -275,7 +275,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// console.log('查看贴文评论',data)
//
//
console.log('查看贴文评论',data)
if
(
data
.
commentResult
.
length
==
0
){
var
html
=
'
<
p
class
=
"grap-msg-top"
>
評論
(
0
)
<
/p><div class="grap-bottom-box">暫無評論</
div
>
'
$(".grap-msg-box").html(html);
...
...
@@ -319,7 +319,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// //console.log('更多贴文评论',data)
// //
//
console.log('更多贴文评论',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
20
;
i
++
){
if
(
e
==
1
&&
i
<
2
)
continue
...
...
@@ -361,7 +361,7 @@ $(function(){
tag
:
sessionStorage
.
tag
,
},
success
:
function
(
data
){
// //console.log('獲取貼文列表',data)
// //
//
console.log('獲取貼文列表',data)
var
html
=
[];
var
moreNum
=
0
for
(
var
i
=
0
;
i
<
6
;
i
++
){
...
...
@@ -408,7 +408,7 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表'
,
data
)
// //
//
console.log('
獲取貼文列表'
,
data
)
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
if
(
pageNum
==
1
&&
i
<
3
)
continue
;
...
...
mTest/pageVideo.html
View file @
b59d653a
...
...
@@ -181,7 +181,7 @@ $(function(){
topicId
:
sessionStorage
.
topicId
},
success
:
function
(
data
){
// //console.log('查看帖文详情',data)
// //
//
console.log('查看帖文详情',data)
var
html
=
[];
var
list
=
data
.
topic
;
var
details
=
JSON
.
parse
(
list
.
content
)
...
...
@@ -195,7 +195,7 @@ $(function(){
$
(
".recommend-swiper"
).
html
(
'
<
video
poster
=
"https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'"
autoplay
class
=
"video"
src
=
""
id
=
"videoElement"
controls
loop
><
/video>'
)
flvPlay
(
'https://zhibocdn.yabolive.net/comm'
+
details
.
videos
[
0
].
url
+
''
)
}
// //console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
// //
//
console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
var
html
=
[];
var
tagsArr
=
[]
html
+=
'
<
img
class
=
"grap-user-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_80"
alt
=
""
>
';
...
...
@@ -230,7 +230,7 @@ $(function(){
size
:
50
},
success
:
function
(
data
){
// console.log('查看贴文评论',data)
//
//
console.log('查看贴文评论',data)
if
(
data
.
commentResult
.
length
==
0
){
var
html
=
'
<
p
class
=
"grap-msg-top"
>
評論
(
0
)
<
/p><div class="grap-bottom-box">暫無評論</
div
>
'
$(".grap-msg-box").html(html);
...
...
@@ -277,7 +277,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// //console.log('更多贴文评论',data)
// //
//
console.log('更多贴文评论',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
20
;
i
++
){
if
(
e
==
1
&&
i
<
2
)
continue
...
...
@@ -319,7 +319,7 @@ $(function(){
tag
:
sessionStorage
.
tag
,
},
success
:
function
(
data
){
console
.
log
(
'獲取貼文列表'
,
data
)
//
console.log('獲取貼文列表',data)
var
html
=
[];
var
moreNum
=
0
for
(
var
i
=
0
;
i
<
10
;
i
++
){
...
...
@@ -370,7 +370,7 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表'
,
data
)
// //
//
console.log('
獲取貼文列表'
,
data
)
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
if
(
pageNum
==
1
&&
i
<
3
)
continue
;
...
...
mTest/revise.html
View file @
b59d653a
...
...
@@ -203,7 +203,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
//console.log('修改頭像姓名',data)
//
//
console.log('修改頭像姓名',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
);
}
...
...
@@ -229,7 +229,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
console
.
log
(
"用戶資料"
,
data
)
//
console.log("用戶資料",data)
$
(
".revise-face"
).
attr
(
"src"
,
"https://zhibocdn.yabolive.net/comm"
+
data
.
roomBaseInfo
.
face
+
"?x-oss-process=image/resize,w_120"
)
var
html
=
[]
html
+=
'
<
div
data
-
type
=
"1"
>
';
...
...
@@ -278,7 +278,7 @@ $(function(){
token
:
localStorage
.
token
,
},
success
:
function
(
data
){
console
.
log
(
'學歷列表接口'
,
data
)
//
console.log('學歷列表接口',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
list
.
length
;
i
++
){
var
list
=
data
.
list
[
i
]
...
...
@@ -368,7 +368,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -390,7 +390,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -413,7 +413,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -434,7 +434,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -455,7 +455,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -476,7 +476,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -497,7 +497,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -518,7 +518,7 @@ $(function(){
},
type
:
'post'
,
success
:
function
(
data
){
console
.
log
(
'修改个人信息'
,
data
)
//
console.log('修改个人信息',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
...
...
@@ -544,7 +544,7 @@ $(function(){
// },
// type:'post',
// success:function(data){
// console.log('修改个人信息',data)
//
//
console.log('修改个人信息',data)
// if(data.code!=1){
// layer.msg(data.msg)
// return
...
...
mTest/room/liveRoom.html
View file @
b59d653a
...
...
@@ -594,7 +594,7 @@ $(function(){
var
topRoomId
=
0
var
BottomRoomId
=
0
// localStorage.canvasCode="phone"
console
.
log
(
localStorage
.
canvasCode
)
//
console.log(localStorage.canvasCode)
var
giftMd5
=
null
;
var
loadT
=
null
;
$
(
".room-bg"
).
css
(
"height"
,
dHeight
+
'px'
)
...
...
@@ -614,7 +614,7 @@ $(function(){
// pass: true,
},
success
:
function
(
data
){
console
.
log
(
'进入直播间'
,
data
)
//
console.log('进入直播间', data)
var
html
=
[]
if
(
data
.
code
==-
20060
){
alert
(
"您已被移出直播,暫時不能進入"
)
...
...
@@ -645,7 +645,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
console
.
log
(
'进入付费房购买资格'
,
data
)
//
console.log('进入付费房购买资格',data)
if
(
data
.
code
==
1
){
layer
.
msg
(
"已付費,即將進入直播間"
)
setTimeout
(
function
(){
...
...
@@ -687,7 +687,7 @@ $(function(){
pageID: localStorage.canvasCode,
},
success:function(data){
//console.log('
關注
',data)
//
//
console.log('
關注
',data)
if(data.code==1){
_self.hide()
layer.msg('
關注成功
')
...
...
@@ -727,11 +727,11 @@ $(function(){
$(".sound-btn").attr("src","images/sound-yes.png")
$(".gift-btn").attr("src","images/gift-btn.png")
$(".video-box video").prop("muted",false)
html+='
<
video
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
"'+data.pullFlowUrlHLS+'"
><
/video>
'
//
html+='
<
video
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
""
><
/video>
'
//
html+='
<
video
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
"'+data.pullFlowUrlHLS+'"
><
/video>
'
html
+=
'
<
video
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
""
><
/video>
'
}
else
{
html
+=
'
<
video
muted
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
"'+data.pullFlowUrlHLS+'"
><
/video>
'
//
html+='
<
video
muted
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
""
><
/video>
'
//
html+='
<
video
muted
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
"'+data.pullFlowUrlHLS+'"
><
/video>
'
html
+=
'
<
video
muted
id
=
"myVideo"
autoplay
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"object-fit:cover;z-index: 10"
poster
=
""
src
=
""
><
/video>
'
}
}
else
{
...
...
@@ -740,7 +740,7 @@ $(function(){
var
iosT
=
null
;
$
(
".video-box"
).
html
(
html
)
if
(
/android/
.
test
(
ua
)){
//
flvPlay(data.pullFlowUrl)
flvPlay
(
data
.
pullFlowUrl
)
}
else
{
var
player
=
document
.
getElementById
(
'myVideo'
);
player
.
play
()
...
...
@@ -829,7 +829,7 @@ $(function(){
WebSocketGo
()
// object-fit:fill
// console.log($("#myVideo").css("height"))
//
//
console.log($("#myVideo").css("height"))
var
html
=
[];
html
+=
'
<
img
class
=
"room-mc-face"
src
=
"https://zhibocdn.yabolive.net/comm'+data.room.face.split('?')[0]+'?x-oss-process=image/resize,w_80"
alt
=
""
>
';
html+='
<
p
class
=
"room-mc-name"
>
'+data.room.nickName+'
<
/p>'
;
...
...
@@ -872,7 +872,7 @@ $(function(){
pageID: localStorage.canvasCode,
},
success:function(data){
//console.log('
關注
',data)
//
//
console.log('
關注
',data)
if(data.code==1){
_self.hide()
layer.msg('
關注成功
')
...
...
@@ -906,8 +906,16 @@ $(function(){
}
})
$
(
".gift-layer-diamond-box"
).
on
(
"click"
,
function
(){
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
4
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
window
.
location
.
href
=
"https://www.footseen.com/footseen/phonepay/applepay.html?lang=2&gofrom=web&cidStr=ftsH5&uid="
+
localStorage
.
uid
+
""
}
})
})
$
(
".layer-ios-close"
).
on
(
"click"
,
function
(){
layer
.
closeAll
()
...
...
@@ -1065,7 +1073,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'宝石兑换露水'
,
data
)
//
console.log('宝石兑换露水',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
;
...
...
@@ -1091,7 +1099,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'宝石兑换露水'
,
data
)
//
console.log('宝石兑换露水',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
;
...
...
@@ -1139,7 +1147,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'直播列表'
,
data
)
//
console.log('直播列表',data)
if
(
data
.
code
==-
5008
){
setTimeout
(
function
()
{
moreMc
()
...
...
@@ -1173,7 +1181,7 @@ $(function(){
pageID:localStorage.canvasCode
},
success:function(data){
console.log('
直播列表'
,
data
)
//
console.log('
直播列表'
,
data
)
if
(
data
.
code
==-
5008
){
setTimeout
(
function
()
{
liveList
(
1
)
...
...
@@ -1235,7 +1243,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
)
{
console
.
log
(
"热门榜单"
,
data
)
//
console.log("热门榜单", data)
var
html
=
[];
if
(
data
.
hotResult
.
score
==
0
)
$
(
".hot-list-top-text2 span"
).
text
(
"暫未上榜"
)
else
$
(
".hot-list-top-text2 span"
).
text
(
data
.
hotResult
.
rank
)
...
...
@@ -1265,7 +1273,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'用戶在線列表'
,
data
);
//
console.log('用戶在線列表',data);
var
html
=
[];
for
(
var
i
=
0
;
i
<
10
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
;
...
...
@@ -1299,7 +1307,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
)
{
console
.
log
(
'萤火榜单'
,
data
)
//
console.log('萤火榜单', data)
if
(
data
.
code
==-
7002
){
$
(
".rich-list-ul"
).
html
(
'
<
p
>
暫時沒有收穫羽毛
<
/p>'
)
}
...
...
@@ -1351,7 +1359,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'主播的守護列表'
,
data
)
//
console.log('主播的守護列表',data)
var
html
=
[];
var
GuardNum
=
1
if
(
data
.
isGuard
==
0
){
...
...
@@ -1398,7 +1406,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
//console.log("開通守護",data);
//
//
console.log("開通守護",data);
if
(
data
.
code
==
1
){
layer
.
closeAll
()
if
(
e
==
2
)
layer
.
msg
(
"續費成功"
)
...
...
@@ -1422,7 +1430,7 @@ $(function(){
pass
:
true
,
},
success
:
function
(
data
){
console
.
log
(
'露水兑换宝石'
,
data
)
//
console.log('露水兑换宝石',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
6
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
return
;
...
...
@@ -1460,7 +1468,7 @@ $(function(){
pass
:
true
,
},
success
:
function
(
data
){
console
.
log
(
'宝石兌換露水'
,
data
)
//
console.log('宝石兌換露水',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
6
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
return
;
...
...
@@ -1498,7 +1506,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
)
{
console
.
log
(
'禮物面板'
,
data
)
//
console.log('禮物面板', data)
dataObj
=
data
giftMd5
=
data
.
md5
;
...
...
@@ -1576,7 +1584,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
console
.
log
(
'背包查询'
,
data
)
//
console.log('背包查询',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
){
var
list
=
data
.
data
[
i
]
...
...
@@ -1606,7 +1614,7 @@ $(function(){
},
type:'
post
',
success:function(data){
console.log('
用户背包送礼接口
',data)
//
console.log('
用户背包送礼接口
',data)
if(data.code!=1){
layer.msg(data.msg);
return
...
...
@@ -1632,7 +1640,7 @@ $(function(){
pageID: localStorage.canvasCode
},
success:function(data){
console.log('
剩余寶石数
',data)
//
console.log('
剩余寶石数
',data)
$(".gift-layer-diamond-box span").text(data.diamond_num)
sessionStorage.dew=data.chip_num
sessionStorage.diamond=data.diamond_num
...
...
@@ -1654,7 +1662,7 @@ $(function(){
},
type:"post",
success:function(data){
//console.log("贈送禮物",data)
//
//
console.log("贈送禮物",data)
if(data.code==-201){
layer.msg("正在更新禮物資源中")
setTimeout(function(){
...
...
@@ -1732,7 +1740,7 @@ $(function(){
}
if(obj.cid == 10000){
var list=JSON.parse(obj.content)
//console.log('
系統消息
',list);
//
//
console.log('
系統消息
',list);
var html=[];
html+='
<
li
class
=
"live-msg-li"
>
'+list.content.msg+'
<
/li>'
;
$
(
".live-msg-ul"
).
append
(
html
);
...
...
@@ -1741,7 +1749,7 @@ $(function(){
if
(
obj
.
cid
==
5300
){
Reconnection
=
0
;
var
list
=
JSON
.
parse
(
obj
.
content
)
//console.log('刷獎送禮',list)
//
//
console.log('刷獎送禮',list)
if
(
list
.
content
.
isBigGift
==
false
){
if
(
list
.
content
.
num
!=
1
){
if
(
$
(
".gift-bar-box"
).
hasClass
(
'gift'
+
list
.
content
.
uuid
+
''
)){
...
...
@@ -1750,7 +1758,7 @@ $(function(){
return
;
}
// for(var i=0;i
<
$
(
".room-gift-box"
).
children
().
length
;
i
++
){
// console.log(111)
//
//
console.log(111)
// }
}
...
...
@@ -1773,7 +1781,7 @@ $(function(){
if
(
obj
.
cid
==
5200
)
{
Reconnection
=
0
;
var
list
=
JSON
.
parse
(
obj
.
content
)
console
.
log
(
'直播间接收礼物'
,
list
)
//
console.log('直播间接收礼物',list)
if
(
list
.
content
.
isBigGift
==
false
){
if
(
list
.
content
.
num
!=
1
){
if
(
$
(
".gift-bar-box"
).
hasClass
(
'gift'
+
list
.
content
.
uuid
+
''
)){
...
...
@@ -1782,7 +1790,7 @@ $(function(){
return
;
}
// for(var i=0;i
<
$
(
".room-gift-box"
).
children
().
length
;
i
++
){
// console.log(111)
//
//
console.log(111)
// }
}
...
...
@@ -1846,7 +1854,7 @@ $(function(){
}
//发言
if
(
list
.
content
.
type
==
2
){
console
.
log
(
'直播间发言'
,
list
);
//
console.log('直播间发言',list);
var
html
=
[];
var
richLv
=
0
html
+=
'
<
div
class
=
"user-msg"
>
';
...
...
@@ -1896,14 +1904,14 @@ $(function(){
//主播直播状态
if
(
obj
.
cid
==
4300
){
var
list
=
JSON
.
parse
(
obj
.
content
)
//console.log(list)
//
//
console.log(list)
//正常直播
if
(
list
.
content
.
state
==
0
){
//console.log("正常直播")
//
//
console.log("正常直播")
window
.
location
.
reload
()
}
if
(
list
.
content
.
state
==
1
){
//console.log("暂停直播")
//
//
console.log("暂停直播")
layer
.
msg
(
"主播暂停了直播"
)
var
myVideo
=
document
.
getElementById
(
'myVideo'
)
myVideo
.
pause
();
...
...
@@ -1922,7 +1930,7 @@ $(function(){
$
(
".video-box"
).
hide
()
}
if
(
list
.
content
.
state
==
2
){
//console.log("下播")
//
//
console.log("下播")
window
.
location
.
reload
()
}
}
...
...
@@ -1971,8 +1979,8 @@ $(function(){
ws
.
onclose
=
function
()
{
typeof
tHeart
!=
'undefined'
&&
typeof
tHeart
!=
'null'
?
clearInterval
(
tHeart
):
tHeart
=
null
;
// 关闭 websocket
//console.log("连接已关闭...");
//console.log(Reconnection)
//
//
console.log("连接已关闭...");
//
//
console.log(Reconnection)
clearInterval
(
ReconnectionT
)
if
(
Reconnection
>=
3
){
clearInterval
(
ReconnectionT
)
...
...
@@ -1990,7 +1998,7 @@ $(function(){
}
else
{
// 浏览器不支持 WebSocket
//console.log("您的浏览器不支持 WebSocket!");
//
//
console.log("您的浏览器不支持 WebSocket!");
}
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
...
...
@@ -2046,7 +2054,7 @@ $(function(){
function
heartbeat
(){
if
(
ws
.
readyState
==
1
){
var
msg
=
new
WsMsg
(
1000
,
"ping"
,
""
);
// //console.log('心跳',msg)
// //
//
console.log('心跳',msg)
ws
.
send
(
JSON
.
stringify
(
msg
));
}
}
...
...
@@ -2069,7 +2077,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'獲取任務列表'
,
data
)
//
console.log('獲取任務列表',data)
if
(
data
.
code
!=
1
)
return
;
var
html
=
[]
var
taskIconArr
=
[
''
,
''
,
''
,
'diamond.png'
,
'fire.png'
,
'dew.png'
,
'pin.png'
,
'pin.png'
]
...
...
@@ -2126,7 +2134,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
//console.log('领取任务奖励',data)
//
//
console.log('领取任务奖励',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
)
return
;
...
...
@@ -2160,7 +2168,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
//console.log('发言接口',data)
//
//
console.log('发言接口',data)
if
(
data
.
code
!=
1
){
layer
.
msg
(
data
.
msg
);
return
;
...
...
@@ -2210,7 +2218,7 @@ $(function(){
token
:
localStorage
.
token
},
success
:
function
(
data
){
// console.log('用户资料卡',data)
//
//
console.log('用户资料卡',data)
var
html
=
[];
//头像
if
(
data
.
zoneInfo
.
face
==
'/user/boy.png'
)
var
faceImg
=
'images/boy.png'
;
...
...
@@ -2346,7 +2354,7 @@ $(function(){
pageID: localStorage.canvasCode,
},
success:function(data){
//console.log('
關注
',data)
//
//
console.log('
關注
',data)
if(data.code==1){
_self.text("已追蹤")
_self.unbind("click")
...
...
@@ -2441,7 +2449,7 @@ $(function(){
}
// 上下
if
(
touchY
>
e
.
changedTouches
[
0
].
clientY
){
// console.log("向上")
//
//
console.log("向上")
touchY
=
e
.
changedTouches
[
0
].
clientY
goDeg
=
Math
.
abs
((
-
90
+
(
asinGo
(
e
.
changedTouches
[
0
].
clientX
-
startX
,
e
.
changedTouches
[
0
].
clientY
-
startY
))))
if
(
zwidth
<
1
&
topMoveNumBottom
==
0
){
...
...
@@ -2457,7 +2465,7 @@ $(function(){
$
(
".room-bg,.video-box"
).
css
(
"top"
,
topMoveNumTop
+
'px'
)
}
else
if
(
touchY
<
e
.
changedTouches
[
0
].
clientY
){
// console.log("向下")
//
//
console.log("向下")
touchY
=
e
.
changedTouches
[
0
].
clientY
goDeg
=
Math
.
abs
((
-
90
+
(
asinGo
(
e
.
changedTouches
[
0
].
clientX
-
startX
,
e
.
changedTouches
[
0
].
clientY
-
startY
))))
...
...
mTest/userRoom.html
View file @
b59d653a
...
...
@@ -159,7 +159,7 @@ $(function(){
token
:
localStorage
.
token
},
success
:
function
(
data
){
console
.
log
(
'用户资料卡'
,
data
)
//
console.log('用户资料卡',data)
$
(
".zone-like-btn"
).
attr
(
"data-type"
,
data
.
zoneInfo
.
uid
)
if
(
data
.
zoneData
.
isfollow
==
0
){
...
...
@@ -211,7 +211,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
// console.log('關注',data)
//
//
console.log('關注',data)
if
(
data
.
code
==
1
){
if
(
$
(
".zone-like-btn"
).
attr
(
"data-type2"
)
==
1
){
$
(
".zone-like-btn"
).
addClass
(
"like-end"
).
text
(
"關注中"
)
...
...
@@ -236,7 +236,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'相册列表'
,
data
)
//
console.log('相册列表',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
].
type
==
3
){
...
...
mTest/video.html
View file @
b59d653a
...
...
@@ -178,7 +178,7 @@ $(function(){
topicId
:
sessionStorage
.
topicId
},
success
:
function
(
data
){
// //console.log('查看帖文详情',data)
// //
//
console.log('查看帖文详情',data)
var
html
=
[];
var
list
=
data
.
topic
;
var
details
=
JSON
.
parse
(
list
.
content
)
...
...
@@ -192,7 +192,7 @@ $(function(){
$
(
".recommend-swiper"
).
html
(
'
<
video
poster
=
"https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'"
autoplay
class
=
"video"
src
=
""
id
=
"videoElement"
controls
loop
><
/video>'
)
flvPlay
(
'https://zhibocdn.yabolive.net/comm'
+
details
.
videos
[
0
].
url
+
''
)
}
// //console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
// //
//
console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
var
html
=
[];
var
tagsArr
=
[]
html
+=
'
<
img
class
=
"grap-user-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_80"
alt
=
""
>
';
...
...
@@ -227,7 +227,7 @@ $(function(){
size
:
50
},
success
:
function
(
data
){
// console.log('查看贴文评论',data)
//
//
console.log('查看贴文评论',data)
if
(
data
.
commentResult
.
length
==
0
){
var
html
=
'
<
p
class
=
"grap-msg-top"
>
評論
(
0
)
<
/p><div class="grap-bottom-box">暫無評論</
div
>
'
$(".grap-msg-box").html(html);
...
...
@@ -274,7 +274,7 @@ $(function(){
size
:
20
},
success
:
function
(
data
){
// //console.log('更多贴文评论',data)
// //
//
console.log('更多贴文评论',data)
var
html
=
[];
for
(
var
i
=
0
;
i
<
20
;
i
++
){
if
(
e
==
1
&&
i
<
2
)
continue
...
...
@@ -316,7 +316,7 @@ $(function(){
tag
:
sessionStorage
.
tag
,
},
success
:
function
(
data
){
console
.
log
(
'獲取貼文列表'
,
data
)
//
console.log('獲取貼文列表',data)
var
html
=
[];
var
moreNum
=
0
for
(
var
i
=
0
;
i
<
10
;
i
++
){
...
...
@@ -367,7 +367,7 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表'
,
data
)
// //
//
console.log('
獲取貼文列表'
,
data
)
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
if
(
pageNum
==
1
&&
i
<
3
)
continue
;
...
...
mTest/videoPage.html
View file @
b59d653a
...
...
@@ -409,7 +409,7 @@ $(function(){
$
.
ajax
({
url
:
'https://cpapi.footseen.xyz/frontPage/queryLiveUsers?lang=2&os=pc_web&cid=ftsweb&webVersion=1000&pageNum=1&pageSize=100&pageID=c0bc8998f192ed39e98dc97a6170186e'
,
success
:
function
(
data
){
// console.log('直播列表',data)
//
//
console.log('直播列表',data)
if
(
data
.
roomList
.
length
==
0
){
$
(
".module-title"
).
hide
()
$
(
".more-live-box"
).
hide
()
...
...
@@ -443,10 +443,10 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表
',data)
// //
//
console.log('
獲取貼文列表
',data)
var html=[];
var topList=JSON.parse(data.dataList[0].content)
//console.log(topList)
//
//
console.log(topList)
// duration
html+='
<
a
href
=
"video.html?topicId='+data.dataList[0].topicId+'&tag='+tagNum+'"
><
div
style
=
"background: url(https://zhibocdn.yabolive.net/comm'+topList.videos[0].cover.split('?')[0]+'?x-oss-process=video/snapshot,t_90000,f_jpg,w_510,h_0,m_fast,f_jpg)no-repeat;background-size: cover;background-position-y: center;"
class
=
"swiper-img"
>
';
html+='
<
div
class
=
"top-img-shadow"
><
/div>'
;
...
...
@@ -525,7 +525,7 @@ $(function(){
tag:tagNum,
},
success:function(data){
// //console.log('
獲取貼文列表'
,
data
)
// //
//
console.log('
獲取貼文列表'
,
data
)
for
(
var
i
=
0
;
i
<
data
.
dataList
.
length
;
i
++
){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
var
list
=
data
.
dataList
[
i
]
...
...
@@ -571,7 +571,7 @@ $(function(){
$.ajax({
url:$ip2+'
/
footSeen
/
h5
/
queryTagList
',
success:function(data){
// //console.log('
获取标签列表
',data)
// //
//
console.log('
获取标签列表
',data)
var html=[];
html+='
<
li
data
-
type
=
""
class
=
"tag-click"
>
#全部
<
/li>
'
for
(
var
i
=
0
;
i
<
data
.
tagList
.
length
;
i
++
){
...
...
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