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
2ae3b72d
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
648b6a4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
17 deletions
mobile/index.html
mobile/lib/default.js
mobile/room/liveRoom.html
mobile/index.html
View file @
2ae3b72d
...
...
@@ -82,16 +82,16 @@
</button>
<div
class=
"top-box"
>
<ul
class=
"top-box-ul"
>
<li
class=
"top-box-li-click"
>
直播
<img
class=
"click-img"
src=
"images/click.png"
alt=
""
></li>
<a
href=
"videoPage.html"
><li>
影片
</li></a>
<li
class=
"top-box-li-click"
>
<span
class=
"top-text1"
>
直播
</span>
<img
class=
"click-img"
src=
"images/click.png"
alt=
""
></li>
<a
href=
"videoPage.html"
><li>
<span
class=
"top-text2"
>
影片
</span>
</li></a>
</ul>
<div
class=
"first-login-btn "
>
登入/註冊
</div>
</div>
<div
class=
"bottom-nav"
>
<div><div
class=
"bottom-nav-img1 bottom-nav-img1-click"
></div><p
class=
"bottom-p-click"
>
首頁
</p></div>
<div><div
class=
"bottom-nav-img2"
></div><p>
追蹤
</p></div>
<div><div
class=
"bottom-nav-img4"
></div><p>
約會
</p></div>
<div><div
class=
"bottom-nav-img3"
></div><p>
我的
</p></div>
<div><div
class=
"bottom-nav-img1 bottom-nav-img1-click"
></div><p
class=
"bottom-p-click
bottom-p-name1
"
>
首頁
</p></div>
<div><div
class=
"bottom-nav-img2"
></div><p
class=
"bottom-p-name2"
>
追蹤
</p></div>
<div><div
class=
"bottom-nav-img4"
></div><p
class=
"bottom-p-name3"
>
約會
</p></div>
<div><div
class=
"bottom-nav-img3"
></div><p
class=
"bottom-p-name4"
>
我的
</p></div>
</div>
<div
class=
"nav-shadow"
></div>
...
...
@@ -144,7 +144,7 @@
<img
class=
"zone-face"
src=
"https://zhibocdn.yabolive.net/comm/stscli/prod/4106446166423916818508c02555a3a647828c50948d55f57692.jpg?x-oss-process=image/resize,w_100"
alt=
""
>
<div
class=
"zone-top-like-box"
>
<div>
96
</div>
<div>
關注
</div>
<div>
追蹤
</div>
</div>
<div
class=
"zone-top-fans-box"
>
<div>
220
</div>
...
...
@@ -409,10 +409,21 @@
$
(
function
(){
var
browserLang
=
navigator
.
language
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
$
(
".bottom-nav-img1 p"
).
text
()
$
(
".bottom-nav-img2 p"
).
text
()
$
(
".bottom-nav-img3 p"
).
text
()
$
(
".bottom-nav-img4 p"
).
text
()
$
(
".bottom-p-name1"
).
text
(
'Popular'
)
$
(
".bottom-p-name2"
).
text
(
'Follow'
)
$
(
".bottom-p-name3"
).
text
(
'Dates'
)
$
(
".bottom-p-name4"
).
text
(
'Me'
)
$
(
".top-text1"
).
text
(
'Live'
)
$
(
".top-text2"
).
text
(
'Video'
)
$
(
".box2 >h2"
).
text
(
"Search"
)
$
(
".box2-search-input"
).
attr
(
"placeholder"
,
"Search"
)
$
(
".zone-top-btn"
).
text
(
'Manage personal profile'
)
$
(
".zone-top-like-box >div"
).
eq
(
1
).
text
(
'Follow'
)
$
(
".zone-top-fans-box >div"
).
eq
(
1
).
text
(
"Fans"
)
$
(
".zone-rich-box span"
).
eq
(
0
).
text
(
'FEATHERs Received'
)
$
(
".zone-diamond-box span"
).
eq
(
0
).
text
(
'GEMs Sent'
)
$
(
".zone-car-box span"
).
eq
(
0
).
text
(
'Car'
)
$
(
".zone-medal-box span"
).
eq
(
0
).
text
(
'Badges'
)
}
//判斷渠道
liveList
(
1
)
...
...
@@ -796,10 +807,19 @@ $(function(){
})
$(".zone-face").attr("src","https://zhibocdn.yabolive.net/comm"+data.userData.face+"?x-oss-process=image/resize,w_100")
var html=[];
if(browserLang.indexOf("zh")==-1){
var text1='
Recharge
'
var text2='
Refresh
'
var text3='
Quit
'
}else{
var text1='
儲值
'
var text2='
刷新
'
var text3='
登出
'
}
html+='
<
div
class
=
"right-list-box right-list-box-face"
><
img
src
=
"https://zhibocdn.yabolive.net/comm'+data.userData.face+'?x-oss-process=image/resize,w_80"
><
p
>
'+data.userData.nickname+'
<
/p><span>></
span
><
/div>'
;
html
+=
'
<
div
class
=
"right-list-box right-list-box-reg"
>
儲值
<
span
><
img
class
=
"right-add"
src
=
"images/add.png"
><
img
class
=
"right-diamond"
src
=
"images/diamond.png"
>
'+data.userData.diamond+'
<
/span></
div
>
';
html+='
<
div
class
=
"right-list-box right-list-box-ref"
>
刷新
<
/div>
'
html
+=
'
<
div
class
=
"right-list-box right-list-box-out"
>
登出
<
/div>
'
html
+=
'
<
div
class
=
"right-list-box right-list-box-reg"
>
'+text1+'
<
span
><
img
class
=
"right-add"
src
=
"images/add.png"
><
img
class
=
"right-diamond"
src
=
"images/diamond.png"
>
'+data.userData.diamond+'
<
/span></
div
>
';
html+='
<
div
class
=
"right-list-box right-list-box-ref"
>
'+text2+'
<
/div>
'
html
+=
'
<
div
class
=
"right-list-box right-list-box-out"
>
'+text3+'
<
/div>
'
$
(
".right-nav-content"
).
html
(
html
)
$
(
".right-list-box-ref"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
reload
()
...
...
@@ -829,6 +849,8 @@ $(function(){
})
$
(
".right-list-box-face"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
"body"
).
css
(
"background"
,
"rgb(217, 217, 217)"
)
$
(
".bottom-nav >div >p"
).
removeClass
(
"bottom-p-click"
)
$
(
".bottom-p-name4"
).
addClass
(
"bottom-p-click"
)
$
(
".top-box"
).
hide
()
$
(
".box1"
).
hide
()
$
(
".box2"
).
hide
()
...
...
This diff is collapsed.
Click to expand it.
mobile/lib/default.js
View file @
2ae3b72d
...
...
@@ -21,6 +21,13 @@ if(bbb.indexOf("userRoom.html")==-1){
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
var
backGo
=
0
var
browserLang
=
navigator
.
language
if
(
browserLang
.
indexOf
(
"zh"
)
==-
1
){
sessionStorage
.
lang
=
1
}
else
{
sessionStorage
.
lang
=
2
}
sessionStorage
.
roomId
=
data
.
roomId
;
sessionStorage
.
tid
=
data
.
tid
;
sessionStorage
.
topicId
=
data
.
topicId
...
...
@@ -36,6 +43,7 @@ if(sessionStorage.type==undefined||sessionStorage.type=="undefined"){
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
...
...
@@ -76,7 +84,7 @@ if(data.back!=undefined)backGo=data.back;
global
:
false
,
type
:
'get'
,
data
:
{
lang
:
2
,
lang
:
sessionStorage
.
lang
,
os
:
'h5'
,
cid
:
sessionStorage
.
myCid
,
webVersion
:
'1000'
,
...
...
This diff is collapsed.
Click to expand it.
mobile/room/liveRoom.html
View file @
2ae3b72d
...
...
@@ -1454,9 +1454,9 @@ $(function(){
if
(
data
.
dataList
[
i
]
==
undefined
)
continue
;
var
list
=
data
.
dataList
[
i
]
if
(
list
.
face
==
'/user/boy.png'
)
var
faceImg
=
'images/boy.png'
;
else
var
faceImg
=
'https://zhibocdn.yabolive.net/comm'
+
list
.
face
+
'?x-oss-process=image/resize,w_
50
'
;
else
var
faceImg
=
'https://zhibocdn.yabolive.net/comm'
+
list
.
face
+
'?x-oss-process=image/resize,w_
78
'
;
html
+=
'
<
li
data
-
type
=
"'+list.uid+'"
>
';
html+='
<
img
src
=
"
https://zhibocdn.yabolive.net/comm'+faceImg+'?x-oss-process=image/resize,w_78
"
alt
=
""
>
';
html+='
<
img
src
=
"
'+faceImg+'
"
alt
=
""
>
';
html+='
<
/li>'
;
}
if
(
data
.
dataList
.
length
<
10
)
$
(
".room-user-ul"
).
css
(
"width"
,
data
.
dataList
.
length
+
'rem'
)
...
...
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