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
5ad53e0e
authored
Nov 21, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
04f43906
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
87 additions
and
20 deletions
mTest/css/index.css
mTest/css/index.less
mTest/revise.html
mTest/room/css/liveRoom.css
mTest/room/css/liveRoom.less
mTest/room/liveRoom.html
mTest/css/index.css
View file @
5ad53e0e
...
@@ -1044,8 +1044,9 @@
...
@@ -1044,8 +1044,9 @@
height
:
100vh
;
height
:
100vh
;
background
:
#F3F3F3
;
background
:
#F3F3F3
;
position
:
fixed
;
position
:
fixed
;
top
:
0
;
top
:
100vh
;
left
:
0
;
left
:
0
;
transition
:
0.2s
all
;
}
}
.revise-input-title
{
.revise-input-title
{
height
:
1.3rem
;
height
:
1.3rem
;
...
@@ -1065,7 +1066,31 @@
...
@@ -1065,7 +1066,31 @@
text-indent
:
0rem
;
text-indent
:
0rem
;
}
}
.revise-input-box
{
.revise-input-box
{
height
:
0.9rem
;
height
:
1.2rem
;
background
:
#F7F7F7
;
width
:
10rem
;
border-top
:
1px
solid
#E5E5E5
;
border-bottom
:
1px
solid
#E5E5E5
;
position
:
relative
;
}
.revise-input
{
width
:
10rem
;
font-size
:
0.35rem
;
height
:
1.2rem
;
text-indent
:
0.55rem
;
}
.revise-send-btn
{
width
:
8.8rem
;
height
:
1.05rem
;
background
:
linear-gradient
(
to
right
,
#E43984
,
#E538C1
);
text-align
:
center
;
line-height
:
1.05rem
;
color
:
#fff
;
font-size
:
0.45rem
;
font-weight
:
700
;
border-radius
:
1rem
;
margin
:
0
auto
;
margin-top
:
1.1rem
;
}
}
.down-bg
{
.down-bg
{
position
:
relative
;
position
:
relative
;
...
...
mTest/css/index.less
View file @
5ad53e0e
...
@@ -1074,8 +1074,9 @@
...
@@ -1074,8 +1074,9 @@
height: 100vh;
height: 100vh;
background: #F3F3F3;
background: #F3F3F3;
position: fixed;
position: fixed;
top:
0
;
top:
100vh
;
left: 0;
left: 0;
transition: 0.2s all;
}
}
.revise-input-title{
.revise-input-title{
height: 1.3rem;
height: 1.3rem;
...
@@ -1094,11 +1095,33 @@
...
@@ -1094,11 +1095,33 @@
text-indent: 0rem;
text-indent: 0rem;
}
}
}
}
.revise-input-box{
.revise-input-box{
height: 0.9rem;
height: 1.2rem;
background: #F7F7F7;
width: 10rem;
border-top: 1px solid #E5E5E5;
border-bottom: 1px solid #E5E5E5;
position: relative;
}
}
.revise-input-box{
.revise-input{
width: 10rem;
font-size: 0.35rem;
height: 1.2rem;
text-indent: 0.55rem;
}
.revise-send-btn{
width: 8.8rem;
height: 1.05rem;
background:linear-gradient(to right,#E43984,#E538C1);
text-align: center;
line-height: 1.05rem;
color: #fff;
font-size: 0.45rem;
font-weight: 700;
border-radius: 1rem;
margin: 0 auto;
margin-top: 1.1rem;
}
}
.down-bg{
.down-bg{
position: relative;
position: relative;
...
...
mTest/revise.html
View file @
5ad53e0e
...
@@ -102,9 +102,12 @@
...
@@ -102,9 +102,12 @@
<span
class=
"revise-p2"
>
好爸爸
<span>
>
</span></span>
<span
class=
"revise-p2"
>
好爸爸
<span>
>
</span></span>
</div>
</div>
</div>
</div>
<div
style=
"display: none;"
class=
"revise-layer"
>
<div
class=
"revise-layer"
>
<div
class=
"revise-input-title"
><span>
<
</span>
暱稱
</div>
<div
class=
"revise-input-title"
><span>
<
</span>
<i
style=
"font-style:normal;"
>
暱稱
</i></div>
<div
class=
"revise-input-box"
></div>
<div
class=
"revise-input-box"
>
<input
class=
"revise-input"
placeholder=
"請輸入您的暱稱"
type=
"text"
>
</div>
<div
class=
"revise-send-btn"
>
保存
</div>
</div>
</div>
</body>
</body>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
...
@@ -124,7 +127,7 @@ $(function(){
...
@@ -124,7 +127,7 @@ $(function(){
console
.
log
(
"用戶資料"
,
data
)
console
.
log
(
"用戶資料"
,
data
)
$
(
".revise-face"
).
attr
(
"src"
,
"https://zhibocdn.yabolive.net/comm"
+
data
.
roomBaseInfo
.
face
+
"?x-oss-process=image/resize,w_120"
)
$
(
".revise-face"
).
attr
(
"src"
,
"https://zhibocdn.yabolive.net/comm"
+
data
.
roomBaseInfo
.
face
+
"?x-oss-process=image/resize,w_120"
)
var
html
=
[]
var
html
=
[]
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"1"
>
';
html+='
<
span
class
=
"revise-p1"
>
暱稱
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
暱稱
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.nickname + '
<
span
>><
/span></
span
>
';
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.nickname + '
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
...
@@ -132,36 +135,49 @@ $(function(){
...
@@ -132,36 +135,49 @@ $(function(){
html+='
<
span
class
=
"revise-p1"
>
ID
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
ID
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.uid + '
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.uid + '
<
/span>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"2"
>
';
html+='
<
span
class
=
"revise-p1"
>
性別
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
性別
<
/span>'
;
if
(
data
.
roomBaseInfo
.
sex
==
1
)
html
+=
'
<
span
class
=
"revise-p2"
>
男
<
span
>><
/span></
span
>
';
if
(
data
.
roomBaseInfo
.
sex
==
1
)
html
+=
'
<
span
class
=
"revise-p2"
>
男
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
女
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
女
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"3"
>
';
html+='
<
span
class
=
"revise-p1"
>
身高
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
身高
<
/span>'
;
if
(
data
.
roomBaseInfo
.
height
==
''
)
html
+=
'
<
span
class
=
"revise-p2"
>
秘密
<
span
>><
/span></
span
>
';
if
(
data
.
roomBaseInfo
.
height
==
''
)
html
+=
'
<
span
class
=
"revise-p2"
>
秘密
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.height + '
cm
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.height + '
cm
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"4"
>
';
html+='
<
span
class
=
"revise-p1"
>
體重
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
體重
<
/span>'
;
if
(
data
.
roomBaseInfo
.
weight
==
''
)
html
+=
'
<
span
class
=
"revise-p2"
>
秘密
<
span
>><
/span></
span
>
';
if
(
data
.
roomBaseInfo
.
weight
==
''
)
html
+=
'
<
span
class
=
"revise-p2"
>
秘密
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
'+data.roomBaseInfo.weight+'
<
span
>><
/span></
span
>
';
else html+='
<
span
class
=
"revise-p2"
>
'+data.roomBaseInfo.weight+'
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"5"
>
';
html+='
<
span
class
=
"revise-p1"
>
學歷
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
學歷
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.culture + '
<
span
>><
/span></
span
>
';
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.culture + '
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"6"
>
';
html+='
<
span
class
=
"revise-p1"
>
職業
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
職業
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.work + '
<
span
>><
/span></
span
>
';
html
+=
'
<
span
class
=
"revise-p2"
>
' + data.roomBaseInfo.work + '
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
html
+=
'
<
div
>
';
html
+=
'
<
div
data
-
type
=
"7"
>
';
html+='
<
span
class
=
"revise-p1"
>
簽名
<
/span>'
;
html+='
<
span
class
=
"revise-p1"
>
簽名
<
/span>'
;
html
+=
'
<
span
class
=
"revise-p2"
>
'+data.roomBaseInfo.sign.replace("Firefly Live","Footseen")+'
<
span
>><
/span></
span
>
';
html
+=
'
<
span
class
=
"revise-p2"
>
'+data.roomBaseInfo.sign.replace("Firefly Live","Footseen")+'
<
span
>><
/span></
span
>
';
html+='
<
/div>'
;
html+='
<
/div>'
;
$
(
".revise-content"
).
html
(
html
)
$
(
".revise-content"
).
html
(
html
)
$
(
".revise-content >div"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
children
(
".revise-p1"
).
text
()
==
'ID'
)
return
$
(
".revise-layer"
).
css
(
"top"
,
"0vh"
)
$
(
".revise-input-title i"
).
text
(
_self
.
children
(
".revise-p1"
).
text
())
})
$
(
".revise-send-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
})
}
}
})
})
$
(
".revise-input-title >span"
).
on
(
"click"
,
function
(){
$
(
".revise-layer"
).
css
(
"top"
,
"100vh"
)
})
})
})
</script>
</script>
</html>
</html>
\ No newline at end of file
mTest/room/css/liveRoom.css
View file @
5ad53e0e
...
@@ -197,6 +197,7 @@
...
@@ -197,6 +197,7 @@
height
:
4.5rem
;
height
:
4.5rem
;
bottom
:
1.4rem
;
bottom
:
1.4rem
;
position
:
absolute
;
position
:
absolute
;
z-index
:
200
;
left
:
0.44rem
;
left
:
0.44rem
;
overflow
:
scroll
;
overflow
:
scroll
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
...
@@ -746,7 +747,7 @@
...
@@ -746,7 +747,7 @@
z-index
:
100
;
z-index
:
100
;
width
:
10rem
;
width
:
10rem
;
left
:
0
;
left
:
0
;
bottom
:
6.
3rem
;
bottom
:
3rem
;
}
}
.room-bg
{
.room-bg
{
width
:
100vw
;
width
:
100vw
;
...
...
mTest/room/css/liveRoom.less
View file @
5ad53e0e
...
@@ -203,6 +203,7 @@
...
@@ -203,6 +203,7 @@
// background: pink;
// background: pink;
bottom: 1.4rem;
bottom: 1.4rem;
position: absolute;
position: absolute;
z-index: 200;
left: 0.44rem;
left: 0.44rem;
overflow: scroll;
overflow: scroll;
-webkit-overflow-scrolling: touch;
-webkit-overflow-scrolling: touch;
...
@@ -770,7 +771,7 @@
...
@@ -770,7 +771,7 @@
z-index: 100;
z-index: 100;
width: 10rem;
width: 10rem;
left: 0;
left: 0;
bottom:
6.
3rem;
bottom: 3rem;
}
}
.room-bg{
.room-bg{
width: 100vw;
width: 100vw;
...
...
mTest/room/liveRoom.html
View file @
5ad53e0e
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<script
src=
"../lib/fsize.js"
></script>
<script
src=
"../lib/fsize.js"
></script>
<link
rel=
"stylesheet"
href=
"../css/base.css"
>
<link
rel=
"stylesheet"
href=
"../css/base.css"
>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/liveRoom.css?v=202211210
2
"
>
<link
rel=
"stylesheet"
href=
"css/liveRoom.css?v=202211210
9
"
>
<link
rel=
"stylesheet"
href=
"../css/login.css?v=2022111808"
>
<link
rel=
"stylesheet"
href=
"../css/login.css?v=2022111808"
>
<script
src=
"https://accounts.google.com/gsi/client"
async
defer
></script>
<script
src=
"https://accounts.google.com/gsi/client"
async
defer
></script>
<script
async
defer
crossorigin=
"anonymous"
src=
"https://connect.facebook.net/en_US/sdk.js"
></script>
<script
async
defer
crossorigin=
"anonymous"
src=
"https://connect.facebook.net/en_US/sdk.js"
></script>
...
@@ -573,7 +573,7 @@
...
@@ -573,7 +573,7 @@
<script>
<script>
$
(
function
(){
$
(
function
(){
var
dHeight
=
$
(
document
).
height
()
var
dHeight
=
$
(
document
).
height
()
$
(
".touch-box"
).
css
(
"height"
,
dHeight
/
2
.5
+
"px"
)
$
(
".touch-box"
).
css
(
"height"
,
dHeight
/
2
+
"px"
)
$
(
".touch-box"
).
css
(
"margin-top"
,
-
dHeight
/
5
+
"px"
)
$
(
".touch-box"
).
css
(
"margin-top"
,
-
dHeight
/
5
+
"px"
)
var
topRoomId
var
topRoomId
var
BottomRoomId
var
BottomRoomId
...
...
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