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
b12a9ab6
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
f2766b08
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
219 additions
and
60 deletions
download/download.html
download/download2.html
download/download3.html
download/download4.html
yazhaiTest/css/login.css
yazhaiTest/css/login.less
yazhaiTest/lib/login.js
yazhaiTest/pc.html
yazhaiTest/search/css/index.css
yazhaiTest/search/css/index.less
yazhaiTest/search/index.html
yazhaiTest/space/css/index.css
yazhaiTest/space/css/index.less
download/download.html
View file @
b12a9ab6
...
...
@@ -46,18 +46,38 @@ $(function(){
$
(
".down-btn2"
).
css
(
"background"
,
'url(images/downBtn2-En.png) 0/ 100% 100% no-repeat'
)
}
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
6
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.png"
alt
=
""
>
'
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
10
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.png"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.png"
alt
=
""
>
'
}
}
else if (/android/.test(ua)) {
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}else{
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){
...
...
This diff is collapsed.
Click to expand it.
download/download2.html
View file @
b12a9ab6
...
...
@@ -50,18 +50,38 @@ $(function(){
$
(
".down-btn2"
).
css
(
"background"
,
'url(images/downBtn2-En.png) 0/ 100% 100% no-repeat'
)
}
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
6
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.png"
alt
=
""
>
'
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
10
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.png"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.png"
alt
=
""
>
'
}
}
else if (/android/.test(ua)) {
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}else{
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){
...
...
This diff is collapsed.
Click to expand it.
download/download3.html
View file @
b12a9ab6
...
...
@@ -51,18 +51,38 @@ $(function(){
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
6
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.png"
alt
=
""
>
'
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
10
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.png"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.png"
alt
=
""
>
'
}
}
else if (/android/.test(ua)) {
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}else{
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){
...
...
This diff is collapsed.
Click to expand it.
download/download4.html
View file @
b12a9ab6
...
...
@@ -46,18 +46,38 @@ $(function(){
$
(
".down-btn2"
).
css
(
"background"
,
'url(images/downBtn2-En.png) 0/ 100% 100% no-repeat'
)
}
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
6
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.png"
alt
=
""
>
'
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
var
videoNum
=
Math
.
ceil
(
Math
.
random
()
*
10
)
var
html
=
[];
html
+=
'
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.png"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.png"
alt
=
""
>
'
}
}
else if (/android/.test(ua)) {
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}else{
var videoNum=Math.ceil(Math.random()*7)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"images/down'+videoNum+'.webp"
alt
=
""
>
'
if(browserLang.indexOf("zh")==-1){
var videoNum=Math.ceil(Math.random()*10)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/En/down'+videoNum+'.webp"
alt
=
""
>
'
}else{
var videoNum=Math.ceil(Math.random()*19)
var html=[];
html+='
<
img
class
=
"down-webp"
src
=
"https://app.ixiulive.com/static/downImg/down'+videoNum+'.webp"
alt
=
""
>
'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/css/login.css
View file @
b12a9ab6
...
...
@@ -568,3 +568,8 @@
font-size
:
14px
;
text-indent
:
15px
;
}
.search-icon
{
position
:
absolute
;
top
:
23px
;
left
:
1062px
;
}
This diff is collapsed.
Click to expand it.
yazhaiTest/css/login.less
View file @
b12a9ab6
...
...
@@ -587,4 +587,9 @@
left: 830px;
font-size: 14px;
text-indent: 15px;
}
\ No newline at end of file
}
.search-icon{
position: absolute;
top: 23px;
left: 1062px;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
yazhaiTest/lib/login.js
View file @
b12a9ab6
...
...
@@ -160,9 +160,70 @@ function loginGo(){
$
(
".neck-nav-content"
).
append
(
html
)
}
var
html
=
[];
html
+=
'<input class="search-input" placeholder="搜索" type="text">'
html
+=
'<input class="search-input"
maxlength="80"
placeholder="搜索" type="text">'
html
+=
'<img class="search-icon" src="https://www.footseen.xyz/yazhaiTest/images/front/search2.png">'
$
(
".neck-nav-content"
).
append
(
html
)
$
(
".search-icon"
).
on
(
"click"
,
function
(){
})
$
(
".search-input"
).
on
(
"keydown"
,
function
(
event
){
if
(
event
.
keyCode
==
"13"
)
{
if
(
$
(
".search-input"
).
val
()
==
''
||
$
(
".search-input"
).
val
().
split
(
" "
).
join
(
""
).
length
==
0
){
layer
.
msg
(
"請輸入要搜索的內容"
)
return
;
}
}
})
searchGoUser
(
22
,
3
)
searchGoVideo
(
'黑絲'
,
8
)
function
searchGoUser
(
e
,
pageNum
){
$
.
ajax
({
url
:
$ip
+
'search/queryUser'
,
data
:{
keyword
:
e
,
pageNum
:
1
,
pageSize
:
pageNum
,
pageID
:
localStorage
.
canvasCode
,
uid
:
localStorage
.
uid
,
token
:
localStorage
.
token
},
success
:
function
(
data
){
console
.
log
(
'搜索用户'
,
data
)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
){
var
list
=
data
.
data
[
i
];
html
+=
'<li>'
;
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>'
;
html
+=
'</li>'
;
}
$
(
".search-user-ul"
).
html
(
html
)
$
(
".search-user-box"
).
show
()
}
})
}
function
searchGoVideo
(
e
,
pageNum
){
$
.
ajax
({
url
:
$ip
+
'search/queryUser'
,
data
:{
keyword
:
e
,
pageNum
:
1
,
pageSize
:
pageNum
,
pageID
:
localStorage
.
canvasCode
,
uid
:
localStorage
.
uid
,
token
:
localStorage
.
token
,
type
:
1
,
sort
:
-
1
,
},
success
:
function
(
data
){
console
.
log
(
'搜索帖子'
,
data
)
}
})
}
if
(
localStorage
.
uid
!=
undefined
&&
localStorage
.
uid
!=
"undefined"
){
$
.
ajax
({
url
:
$ip
+
'user/queryUserBaseInfo'
,
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/pc.html
View file @
b12a9ab6
...
...
@@ -365,14 +365,22 @@ $(function(){
$
(
".side-nav-sort"
).
eq
(
2
).
addClass
(
"side-nav-sort-click"
)
$
(
".side-nav-sort"
).
eq
(
2
).
children
(
".side-icon"
).
attr
(
"src"
,
"images/front/icon3-click.png"
)
}
fp
.
get
(
function
(
result
,
components
)
{
localStorage
.
canvasCode
=
result
if
(
localStorage
.
canvasCode
==
undefined
){
fp
.
get
(
function
(
result
,
components
)
{
localStorage
.
canvasCode
=
result
if
(
sessionStorage
.
jump
==
2
)
liveList
(
1
,
2
)
else
liveList
(
1
,
1
)
getTags
()
getTopics
(
1
,
typeNum
,
tagNum
,
timeNum
,
sortNum
,
dayNum
)
});
}
else
{
if
(
sessionStorage
.
jump
==
2
)
liveList
(
1
,
2
)
else
liveList
(
1
,
1
)
getTags
()
getTopics
(
1
,
typeNum
,
tagNum
,
timeNum
,
sortNum
,
dayNum
)
});
}
$
(
window
).
on
(
"scroll"
,
function
(){
if
(
$
(
document
).
height
()
-
$
(
document
).
scrollTop
()
-
$
(
window
).
height
()
<=
20
){
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/search/css/index.css
View file @
b12a9ab6
body
::-webkit-scrollbar
{
display
:
none
;
}
.m-box
{
width
:
1440px
;
margin
:
0
auto
;
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/search/css/index.less
View file @
b12a9ab6
body::-webkit-scrollbar {
display: none;
}
.m-box{
width: 1440px;
margin: 0 auto;
...
...
@@ -220,4 +223,4 @@
font-size: 28px;
margin-top: 15px;
margin-bottom: 14px;
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
yazhaiTest/search/index.html
View file @
b12a9ab6
...
...
@@ -33,16 +33,10 @@
<div>
影片
</div>
<div>
圖檔
</div>
</div>
<div
class=
"search-user-box"
>
<div
style=
"display:none"
class=
"search-user-box"
>
<div
class=
"search-user-top"
>
用戶
</div>
<ul
class=
"search-user-ul clearfix"
>
<li>
<p
class=
"search-user-p1"
>
會飛5247575
</p>
<p
class=
"search-user-p2"
>
Footseen ID:123456
</p>
<a
href=
"index.html?fid=990063143"
><img
class=
"like-face"
src=
"https://zhibocdn.yabolive.net/comm/user/img/28425247/4e3d2bf4e4724334bf5dfde8fd038e41.jpg?mainland=1?x-oss-process=image/resize,w_120"
alt=
""
></a>
<div
data-type=
"2"
data-type2=
"990063143"
class=
"like-user-btn1 like-user-btn2"
>
已追蹤
</div>
</li>
<li>
<!-- <li>
<p class="search-user-p1">會飛5247575</p>
<p class="search-user-p2">Footseen ID:123456</p>
<a href="index.html?fid=990063143"><img class="like-face" src="https://zhibocdn.yabolive.net/comm/user/img/28425247/4e3d2bf4e4724334bf5dfde8fd038e41.jpg?mainland=1?x-oss-process=image/resize,w_120" alt=""></a>
...
...
@@ -59,13 +53,7 @@
<p class="search-user-p2">Footseen ID:123456</p>
<a href="index.html?fid=990063143"><img class="like-face" src="https://zhibocdn.yabolive.net/comm/user/img/28425247/4e3d2bf4e4724334bf5dfde8fd038e41.jpg?mainland=1?x-oss-process=image/resize,w_120" alt=""></a>
<div data-type="2" data-type2="990063143" class="like-user-btn1 like-user-btn2">已追蹤</div>
</li>
<li>
<p
class=
"search-user-p1"
>
會飛5247575
</p>
<p
class=
"search-user-p2"
>
Footseen ID:123456
</p>
<a
href=
"index.html?fid=990063143"
><img
class=
"like-face"
src=
"https://zhibocdn.yabolive.net/comm/user/img/28425247/4e3d2bf4e4724334bf5dfde8fd038e41.jpg?mainland=1?x-oss-process=image/resize,w_120"
alt=
""
></a>
<div
data-type=
"2"
data-type2=
"990063143"
class=
"like-user-btn1 like-user-btn2"
>
已追蹤
</div>
</li>
</li> -->
</ul>
</div>
<div
class=
"video-box"
>
...
...
@@ -193,6 +181,7 @@
<script
src=
"../lib/qrcode.min.js"
></script>
<script>
$
(
function
(){
if
(
localStorage
.
canvasCode
==
undefined
)
window
.
location
.
href
=
'../pc.html'
loginGo
()
})
</script>
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/space/css/index.css
View file @
b12a9ab6
body
::-webkit-scrollbar
{
display
:
none
;
}
.m-box
{
width
:
1200px
;
margin
:
0
auto
;
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/space/css/index.less
View file @
b12a9ab6
body::-webkit-scrollbar {
display: none;
}
.m-box{
width: 1200px;
margin: 0 auto;
...
...
This diff is collapsed.
Click to expand it.
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