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
f30c208c
authored
Jul 13, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
e50dd04c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
mobile/video.html
room/liveRoom.html
mobile/video.html
View file @
f30c208c
...
@@ -155,7 +155,7 @@ $(function(){
...
@@ -155,7 +155,7 @@ $(function(){
}
}
var
scrollOk
=
true
;
var
scrollOk
=
true
;
var
pageNumber
=
1
var
pageNumber
=
1
var
pageNum
=
1
var
pageNum
=
Math
.
floor
(
Math
.
random
()
*
10
)
moreAspect
()
moreAspect
()
$
(
window
).
on
(
"scroll"
,
function
(){
$
(
window
).
on
(
"scroll"
,
function
(){
...
@@ -223,7 +223,7 @@ $(function(){
...
@@ -223,7 +223,7 @@ $(function(){
url
:
$ip
+
'/footSeen/h5/queryTopicComment'
,
url
:
$ip
+
'/footSeen/h5/queryTopicComment'
,
data
:{
data
:{
topicId
:
sessionStorage
.
topicId
,
topicId
:
sessionStorage
.
topicId
,
page
:
pageNum
,
page
:
1
,
size
:
20
size
:
20
},
},
success
:
function
(
data
){
success
:
function
(
data
){
...
@@ -307,7 +307,7 @@ $(function(){
...
@@ -307,7 +307,7 @@ $(function(){
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
'/footSeen/h5/queryTopics'
,
url
:
$ip
+
'/footSeen/h5/queryTopics'
,
data
:{
data
:{
page
:
1
,
page
:
pageNum
,
size
:
10
,
size
:
10
,
type
:
1
,
type
:
1
,
tag
:
sessionStorage
.
tag
,
tag
:
sessionStorage
.
tag
,
...
@@ -316,12 +316,12 @@ $(function(){
...
@@ -316,12 +316,12 @@ $(function(){
// //console.log('獲取貼文列表',data)
// //console.log('獲取貼文列表',data)
var
html
=
[];
var
html
=
[];
var
moreNum
=
0
var
moreNum
=
0
for
(
var
i
=
0
;
i
<
6
;
i
++
){
for
(
var
i
=
0
;
i
<
10
;
i
++
){
var
list
=
data
.
dataList
[
i
]
var
list
=
data
.
dataList
[
i
]
var
videoList
=
JSON
.
parse
(
list
.
content
)
var
videoList
=
JSON
.
parse
(
list
.
content
)
if
(
sessionStorage
.
topicId
==
list
.
topicId
)
continue
;
if
(
sessionStorage
.
topicId
==
list
.
topicId
)
continue
;
if
(
data
.
dataList
[
i
].
type
!=
3
)
continue
;
if
(
data
.
dataList
[
i
].
type
!=
3
)
continue
;
if
(
moreNum
==
3
)
continue
;
if
(
moreNum
==
11
)
continue
;
moreNum
++
moreNum
++
html
+=
'
<
a
href
=
"video.html?topicId='+list.topicId+'&tag='+sessionStorage.tag+'"
><
div
data
-
type
=
"'+list.topicId+'"
class
=
"add-video-box"
>
';
html
+=
'
<
a
href
=
"video.html?topicId='+list.topicId+'&tag='+sessionStorage.tag+'"
><
div
data
-
type
=
"'+list.topicId+'"
class
=
"add-video-box"
>
';
html+='
<
div
class
=
"add-shadow"
><
/div>'
;
html+='
<
div
class
=
"add-shadow"
><
/div>'
;
...
...
room/liveRoom.html
View file @
f30c208c
...
@@ -478,7 +478,7 @@ $(function () {
...
@@ -478,7 +478,7 @@ $(function () {
window
.
location
.
href
=
"../index.html"
window
.
location
.
href
=
"../index.html"
return
;
return
;
}
}
$
(
"title"
).
text
(
data
.
room
.
roomName
+
'的直播間'
)
$
(
"title"
).
text
(
data
.
room
.
roomName
+
'的直播間
-footseen直播
'
)
var
roomList
=
data
.
room
;
var
roomList
=
data
.
room
;
$
(
".description"
).
attr
(
"content"
,
roomList
.
introduce
)
$
(
".description"
).
attr
(
"content"
,
roomList
.
introduce
)
flowUrl
=
data
.
pullFlowUrl
flowUrl
=
data
.
pullFlowUrl
...
...
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