Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
04ff84cd
Commit
04ff84cd
authored
Mar 14, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评论滚动
parent
48b8d2cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/components/livedModel/livedAnnouncement.vue
+6
-6
src/components/livedModel/livedIsMsg.vue
+1
-1
No files found.
src/components/livedModel/livedAnnouncement.vue
View file @
04ff84cd
<
template
>
<
template
>
<!-- 公告组件 -->
<!-- 公告组件 -->
<div
class=
"livedAnnouncement"
v-
if
=
"isShow"
>
<div
class=
"livedAnnouncement"
v-
show
=
"isShow"
>
<div
class=
"label"
>
<div
class=
"label"
>
<span
class=
"label"
>
公告:
</span><span
class=
"test"
>
欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间
</span>
<span
class=
"label"
>
公告:
</span><span
class=
"test"
>
欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间欢迎来到直播间
</span>
</div>
</div>
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
this
.
isShow
=
true
;
this
.
isShow
=
true
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
isShow
=
false
;
this
.
isShow
=
false
;
},
59
00
);
},
70
00
);
},
},
mounted
()
{},
mounted
()
{},
methods
:
{}
methods
:
{}
...
@@ -40,8 +40,8 @@ export default {
...
@@ -40,8 +40,8 @@ export default {
border-radius
:
10px
;
border-radius
:
10px
;
padding
:
8px
;
padding
:
8px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
animation
:
toLeft
1s
linear
5s
;
animation
:
toLeft
5s
linear
;
opacity
:
1
;
opacity
:
0
;
span{
span{
font-size
:
14px
;
font-size
:
14px
;
color
:
#f1f1f1
;
color
:
#f1f1f1
;
...
@@ -51,8 +51,8 @@ export default {
...
@@ -51,8 +51,8 @@ export default {
}
}
}
}
@keyframes
toLeft
{
@keyframes
toLeft
{
5
0
%
{
0
%
{
opacity
:
0.5
;
opacity
:
1
;
}
}
100
%
{
100
%
{
opacity
:
0
;
opacity
:
0
;
...
...
src/components/livedModel/livedIsMsg.vue
View file @
04ff84cd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!-- 评论模块 -->
<!-- 评论模块 -->
<div
class=
"livedIsMsg"
>
<div
class=
"livedIsMsg"
>
<div
class=
"list"
>
<div
class=
"list"
>
<scroll-view
:style=
"
{'height': '24vh','width':'52vw
;'}" :scroll-y="true" :scroll-top="scrollTop
" @scrolltolower="scrolltolower">
<scroll-view
:style=
"
{'height': '24vh','width':'52vw
'}" :scroll-y="true" :scroll-top="scrollTop" :scroll-with-animation="true
" @scrolltolower="scrolltolower">
<div
class=
"item flex"
v-for=
"(item,index) in list"
:key=
"index"
>
<div
class=
"item flex"
v-for=
"(item,index) in list"
:key=
"index"
>
<div
class=
"user"
>
<div
class=
"user"
>
<p
class=
"live"
></p>
<p
class=
"live"
></p>
...
...
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