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
7ce7b1de
authored
Mar 17, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
f76e381c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
107 additions
and
2 deletions
mobile/css/index.css
mobile/css/index.less
mobile/index.html
mobile/lib/lang.js
mobile/lib/loginLang.js
mobile/room/liveRoom.html
mobile/css/index.css
View file @
7ce7b1de
...
...
@@ -872,6 +872,10 @@
right
:
0.3rem
;
top
:
0.3rem
;
}
.box4
{
height
:
100vh
;
background
:
#F3F3F3
;
}
.box4-search-icon
{
width
:
0.44rem
;
position
:
absolute
;
...
...
@@ -1169,6 +1173,17 @@
border-bottom
:
none
;
bottom
:
0
;
}
.right-list-box-language
{
position
:
absolute
;
width
:
7.8rem
;
bottom
:
2.9rem
;
border-top
:
1px
solid
#EBEBEB
;
border-bottom
:
none
;
}
.right-list-box-language
>
span
{
float
:
right
;
margin-right
:
0.4rem
;
}
.revise-layer
{
width
:
10rem
;
height
:
100vh
;
...
...
@@ -1385,3 +1400,16 @@
top
:
1.4rem
;
left
:
0.5rem
;
}
.layer-lang
{
background
:
#FFFFFF
;
width
:
6.2rem
;
border-radius
:
0.2rem
;
}
.layer-lang
>
div
{
width
:
6.2rem
;
height
:
1.4rem
;
line-height
:
1.4rem
;
text-align
:
center
;
font-size
:
0.4rem
;
border-bottom
:
1px
solid
rgba
(
200
,
200
,
200
,
0.5
);
}
mobile/css/index.less
View file @
7ce7b1de
...
...
@@ -895,6 +895,10 @@
right: 0.3rem;
top: 0.3rem;
}
.box4{
height: 100vh;
background: #F3F3F3;
}
.box4-search-icon{
width: 0.44rem;
position: absolute;
...
...
@@ -1202,6 +1206,17 @@
border-bottom: none;
bottom: 0;
}
.right-list-box-language{
position: absolute;
width: 7.8rem;
bottom: 2.9rem;
border-top: 1px solid #EBEBEB;
border-bottom: none;
>span{
float: right;
margin-right: 0.4rem;
}
}
.revise-layer{
width: 10rem;
height: 100vh;
...
...
@@ -1420,4 +1435,17 @@
position: absolute;
top: 1.4rem;
left: 0.5rem;
}
.layer-lang{
background: #FFFFFF;
width: 6.2rem;
border-radius: 0.2rem;
>div{
width: 6.2rem;
height: 1.4rem;
line-height: 1.4rem;
text-align: center;
font-size: 0.4rem;
border-bottom: 1px solid rgba(200, 200, 200, 0.5);
}
}
\ No newline at end of file
mobile/index.html
View file @
7ce7b1de
...
...
@@ -80,6 +80,10 @@
<div
class=
"layer-ios"
>
<div
class=
"layer-ios-close"
></div>
</div>
<div
style=
"display: none;"
class=
"layer-lang"
>
<div
data-type=
"1"
class=
"layer-lang-text"
>
English
</div>
<div
data-type=
"2"
class=
"layer-lang-text"
>
繁體中文
</div>
</div>
<button
class=
"add-button"
>
<div
class=
"add-button-close"
></div>
</button>
...
...
@@ -396,6 +400,7 @@
<div
class=
"right-nav-content"
>
<div
class=
"right-list-box right-login-box"
>
登入/註冊
</div>
<div
class=
"right-list-box right-list-box-reg"
>
儲值
</div>
<div
style=
"bottom: 1.45rem;"
class=
"right-list-box right-list-box-language"
>
語言
<span>
繁體中文
</span></div>
<div
class=
"right-list-box right-list-box-ref2"
>
刷新
</div>
</div>
...
...
@@ -435,6 +440,7 @@ $(function(){
$
(
".right-login-box"
).
text
(
langList
[
sessionStorage
.
lang
].
index17
)
$
(
".right-list-box-reg"
).
text
(
langList
[
sessionStorage
.
lang
].
index18
)
$
(
".right-list-box-ref2"
).
text
(
langList
[
sessionStorage
.
lang
].
index19
)
$
(
".right-list-box-language"
).
html
(
''
+
langList
[
sessionStorage
.
lang
].
index20
+
'
<
span
>
'+langList[sessionStorage.lang].index21+'
<
/span>'
)
//判斷渠道
liveList
(
1
)
if
(
sessionStorage
.
type
==
"pwa"
){
...
...
@@ -735,6 +741,26 @@ $(function(){
$
(
".right-list-box-ref2"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
reload
()
})
$
(
".right-list-box-language"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
true
,
skin
:
"yourclass5"
,
area
:
[
"6.2rem"
,
"auto"
],
content
:
$
(
".layer-lang"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
layer
.
closeAll
()
}
})
})
$
(
".layer-lang-text"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
sessionStorage
.
lang
=
_self
.
attr
(
"data-type"
)
layer
.
closeAll
()
setTimeout
(
function
(){
window
.
location
.
reload
()},
300
)
})
function
userInfo
(){
$
.
ajax
({
url
:
$ip
+
'user/queryUserBaseInfo'
,
...
...
@@ -767,16 +793,33 @@ $(function(){
var text1='
儲值
'
var text2='
刷新
'
var text3='
登出
'
}else{
var text1='
Recharge
'
var text2='
Refresh
'
var text3='
Quit
'
}
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"
>
'+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-language"
>
'+langList[sessionStorage.lang].index20+'
<
span
>
'+langList[sessionStorage.lang].index21+'
<
/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-language"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
true
,
skin
:
"yourclass5"
,
area
:
[
"6.2rem"
,
"auto"
],
content
:
$
(
".layer-lang"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
layer
.
closeAll
()
}
})
})
$
(
".right-list-box-ref"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
reload
()
})
...
...
mobile/lib/lang.js
View file @
7ce7b1de
...
...
@@ -23,6 +23,8 @@ var langList=[
index17
:
"login/register"
,
index18
:
"recharge"
,
index19
:
"refresh"
,
index20
:
"switch language"
,
index21
:
"English"
,
},
{
index1
:
"首頁"
,
...
...
@@ -44,5 +46,7 @@ var langList=[
index17
:
"登入/註冊"
,
index18
:
"儲值"
,
index19
:
"刷新"
,
index20
:
"切換語言"
,
index21
:
"繁體中文"
,
}
]
mobile/lib/loginLang.js
View file @
7ce7b1de
...
...
@@ -15,6 +15,7 @@ var langList2=[
login3
:
"國家/地區"
,
login4
:
"請輸入手機號"
,
login5
:
"登入"
,
}
]
$
(
".login-line-text"
).
text
(
langList2
[
sessionStorage
.
lang
].
login1
)
...
...
mobile/room/liveRoom.html
View file @
7ce7b1de
...
...
@@ -534,10 +534,10 @@
<script
src=
"../lib/spark-md5.min.js"
></script>
<script
src=
"../lib/default.js?v=2023011201"
></script>
<script
src=
"../layer-v3.1.0/layer/layer.js"
></script>
<script
src=
"../lib/login.js?v=2023031701"
></script>
<!-- <script src="../lib/inobounce.js"></script> -->
<!-- <script src="lib/fingerprint2.js"></script> -->
<script
src=
"../lib/login
.js?v=2022120102
"
></script>
<script
src=
"../lib/login
Lang.js?v=2023031701
"
></script>
<script
src=
"../lib/flv.js"
></script>
<script
src=
"../index.js?v=2022122201"
defer=
""
></script>
<script>
...
...
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