Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
N
newLive
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孟庆瑞
newLive
Commits
f6e87e3d
Commit
f6e87e3d
authored
Dec 21, 2022
by
mengqr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改小屏样式(暂时)
parent
23e731d7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
33 deletions
+44
-33
sendButton.png
src/common/img/sendButton.png
+0
-0
voice.png
src/common/img/voice.png
+0
-0
live.vue
src/views/live.vue
+41
-31
liveList.vue
src/views/liveList.vue
+3
-2
No files found.
src/common/img/sendButton.png
0 → 100644
View file @
f6e87e3d
3.52 KB
src/common/img/voice.png
0 → 100644
View file @
f6e87e3d
2.53 KB
src/views/live.vue
View file @
f6e87e3d
...
...
@@ -39,8 +39,9 @@
</div>
<div
class=
"sendMessage"
>
<input
type=
"text"
v-model=
"messages"
placeholder=
"吐个槽吧~"
class=
"wbk2"
>
<img
class=
"send-message"
src=
"../common/img/send-message.png"
@
click=
"clickmessage()"
alt=
""
>
<img
src=
"../common/img/voice.png"
class=
"voiceImg"
alt=
""
>
<input
type=
"text"
v-model=
"messages"
placeholder=
"有问题发个弹幕问一下"
class=
"wbk2"
>
<img
class=
"send-message"
src=
"../common/img/sendButton.png"
@
click=
"clickmessage()"
alt=
""
>
</div>
<div
class=
"tips"
style=
"display: none;"
>
<span>
发送成功
</span>
...
...
@@ -310,11 +311,11 @@ export default {
//屏幕可视区域的高度
let
clientHeight
if
(
document
.
documentElement
.
clientHeight
<=
750
){
clientHeight
=
9
0
+
'vw'
clientHeight
=
12
0
+
'vw'
}
else
if
(
document
.
documentElement
.
clientHeight
<
1024
){
clientHeight
=
1
2
5
+
'vw'
clientHeight
=
1
5
5
+
'vw'
}
else
{
clientHeight
=
5
5
+
'vw'
clientHeight
=
8
5
+
'vw'
}
console
.
log
(
"clientHeight 1=="
+
clientHeight
)
...
...
@@ -366,7 +367,7 @@ export default {
pmIp
:
1
,
pmMac
:
1
,
info
:
this
.
messages
,
lvrId
:
115
,
lvrId
:
this
.
$route
.
query
.
lvrId
,
pmOperator
:
'无运营商'
})
this
.
server
.
live
.
setMessage
(
temp
).
then
(
res
=>
{
...
...
@@ -428,7 +429,7 @@ export default {
pmModel
:
'iPhone 12/13 (Pro)'
,
pmSystem
:
'iOS 10.0.1'
,
timestamp
:
this
.
timestamp
,
lvrId
:
115
,
lvrId
:
this
.
$route
.
query
.
lvrId
,
pmOperator
:
'无运营商'
})
this
.
server
.
live
.
liveDetail
(
temp
).
then
(
res
=>
{
...
...
@@ -456,7 +457,7 @@ export default {
pmModel
:
'iPhone 12/13 (Pro)'
,
pmSystem
:
'iOS 10.0.1'
,
timestamp
:
this
.
timestamp
,
lvrId
:
115
,
lvrId
:
this
.
$route
.
query
.
lvrId
,
pmOperator
:
'无运营商'
})
this
.
server
.
live
.
videoList
(
temp
).
then
(
res
=>
{
...
...
@@ -870,7 +871,7 @@ display: block;
width
:
98%
;
height
:
16vw
;
/* border: 0.5vw solid red; */
background
:
white
;
/* background: white; */
position
:
fixed
;
box-shadow
:
#797979
0
-0.5vw
1vw
;
bottom
:
1%
;
...
...
@@ -880,30 +881,36 @@ display: block;
justify-content
:
space-around
;
}
.wbk2
{
font-size
:
3.7vw
;
color
:
#797979
;
border-radius
:
5vw
;
width
:
65vw
;
height
:
13vw
;
/* line-height: 10vw; */
margin-top
:
1.5vw
;
padding
:
0
3vw
;
background
:
none
;
box-shadow
:
none
;
outline
:
none
;
background
:
rgb
(
243
,
243
,
243
);
margin-left
:
4vw
;
/* border-color: rgb(213, 225, 245); */
border-left
:
0px
;
border-top
:
0px
;
border-bottom
:
0px
;
border-right
:
0px
;
padding-left
:
9vw
;
font-size
:
3.7vw
;
color
:
#797979
;
border-radius
:
5vw
;
width
:
45vw
;
height
:
10vw
;
/* line-height: 10vw; */
margin-top
:
3.5vw
;
padding
:
0
3vw
;
background
:
none
;
box-shadow
:
none
;
outline
:
none
;
background
:
rgb
(
243
,
243
,
243
);
opacity
:
0.4
;
/* margin-left: 13vw; */
/* border-color: rgb(213, 225, 245); */
border-left
:
0px
;
border-top
:
0px
;
border-bottom
:
0px
;
border-right
:
0px
;
}
.send-message
{
height
:
10vw
;
width
:
10vw
;
margin-top
:
3vw
;
width
:
22vw
;
margin-top
:
3.5vw
;
}
.voiceImg
{
height
:
10vw
;
width
:
10vw
;
margin-top
:
3vw
;
}
.get-message
{
/* height: 48vw; */
...
...
@@ -917,10 +924,13 @@ display: block;
.firstBody1
{
overflow-x
:
auto
;
overflow-y
:
auto
;
margin-top
:
2vw
;
/* margin-top: 2vw; */
height
:
125vw
;
/* background: #0C0A16; */
background
:
url('../assets/b.png')
;
background-size
:
145vw
;
background-repeat
:
no-repeat
;
}
.mq-message1
{
/* height: 10vw; */
...
...
src/views/liveList.vue
View file @
f6e87e3d
...
...
@@ -133,6 +133,7 @@ export default {
getState
(){
let
token
=
sessionStorage
.
getItem
(
"token"
)
let
img
=
sessionStorage
.
getItem
(
"udPhotoFileid"
)
console
.
log
(
"就阿婆啊v发"
,
token
)
if
(
token
){
if
(
img
){
this
.
ifLog
=
2
...
...
@@ -141,7 +142,7 @@ export default {
this
.
ifLog
=
1
}
}
else
{
console
.
log
(
"就阿婆啊v发"
)
this
.
ifLog
=
0
this
.
visitorLog
()
}
...
...
@@ -160,7 +161,7 @@ export default {
this
.
server
.
live
.
tourist
(
temp
).
then
(
res
=>
{
let
thisToken
=
res
.
data
.
data
.
token
window
.
sessionStorage
.
setItem
(
'token'
,
thisToken
);
//token
this
.
$router
.
go
(
0
)
})
},
...
...
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