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
e27c9be5
authored
Jun 24, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
36b78596
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
yazhaiTest/search/css/index.css
yazhaiTest/search/css/index.less
yazhaiTest/search/images/live.png
yazhaiTest/search/index.html
yazhaiTest/search/css/index.css
View file @
e27c9be5
...
...
@@ -41,6 +41,11 @@ body::-webkit-scrollbar {
width
:
1440px
;
margin
:
0
auto
;
}
.search-user-ul
.live-icon
{
position
:
absolute
;
z-index
:
50
;
width
:
65px
;
}
.search-user-ul
li
{
width
:
463px
;
height
:
120px
;
...
...
yazhaiTest/search/css/index.less
View file @
e27c9be5
...
...
@@ -43,6 +43,12 @@ body::-webkit-scrollbar {
.search-user-ul{
width: 1440px;
margin: 0 auto;
.live-icon{
position: absolute;
z-index: 50;
width: 65px;
}
li{
width: 463px;
height: 120px;
...
...
yazhaiTest/search/images/live.png
0 → 100644
View file @
e27c9be5
1 KB
yazhaiTest/search/index.html
View file @
e27c9be5
...
...
@@ -206,11 +206,13 @@ $(function(){
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
){
var
list
=
data
.
data
[
i
];
html
+=
'
<
li
>
';
if(list.isLive>0)html+='
<
img
class
=
"live-icon"
src
=
"images/live.png"
alt
=
"美女直播"
>
'
html+='
<
p
class
=
"search-user-p1"
>
'+list.nickname+'
<
/p>'
;
html
+=
'
<
p
class
=
"search-user-p2"
>
Footseen
ID
:
'+list.uid+'
<
/p>'
;
html
+=
'
<
a
href
=
"../space/index.html?fid='+list.uid+'"
><
img
class
=
"like-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.faceimg+'?x-oss-process=image/resize,w_120"
alt
=
""
><
/a>'
;
if
(
list
.
selfLike
>
0
)
html
+=
'
<
div
data
-
type
=
"2"
data
-
type2
=
"'+list.uid+'"
class
=
"like-user-btn1 like-user-btn2"
>
已追蹤
<
/div>'
;
else
html
+=
'
<
div
data
-
type
=
"2"
data
-
type2
=
"'+list.uid+'"
class
=
"like-user-btn1 like-user-click"
>
追蹤
<
/div>'
;
if
(
list
.
isLive
>
0
)
html
+=
'
<
a
href
=
"../room/liveRoom.html?roomId='+list.uid+'"
><
img
class
=
"like-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.faceimg+'?x-oss-process=image/resize,w_120"
alt
=
""
><
/a>'
;
else
html
+=
'
<
a
href
=
"../space/index.html?fid='+list.uid+'"
><
img
class
=
"like-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.faceimg+'?x-oss-process=image/resize,w_120"
alt
=
""
><
/a>'
;
if
(
list
.
selfLike
>
0
)
html
+=
'
<
div
data
-
type
=
"'+list.uid+'"
class
=
"like-user-btn1 like-user-btn2"
>
已追蹤
<
/div>'
;
else
html
+=
'
<
div
data
-
type
=
"'+list.uid+'"
class
=
"like-user-btn1 like-user-click"
>
追蹤
<
/div>'
;
html
+=
'
<
/li>'
;
}
$
(
".search-user-ul"
).
html
(
html
)
...
...
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