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
74719c90
Commit
74719c90
authored
Mar 19, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b3a04444
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
src/components/livedModel/livedControls.vue
+1
-5
src/pages/lived/index.vue
+3
-3
No files found.
src/components/livedModel/livedControls.vue
View file @
74719c90
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<span>
来了
</span>
<span>
来了
</span>
</div>
</div>
<!-- 评论层 -->
<!-- 评论层 -->
<livedIsMsg
v-if=
"info.liveBroadcastState
==1
&&guestBookList"
:guestBookList=
"guestBookList"
:updateVal=
"updateVal"
></livedIsMsg>
<livedIsMsg
v-if=
"info.liveBroadcastState
<2
&&
guestBookList
"
:guestBookList=
"guestBookList"
:updateVal=
"updateVal"
></livedIsMsg>
<!-- 带货商品层 -->
<!-- 带货商品层 -->
<livedExplainingCommodities
v-if=
"info.liveBroadcastState==1&&list"
:updateGoods=
"updateGoods"
:goodsList=
"list"
></livedExplainingCommodities>
<livedExplainingCommodities
v-if=
"info.liveBroadcastState==1&&list"
:updateGoods=
"updateGoods"
:goodsList=
"list"
></livedExplainingCommodities>
<!-- 商品列表弹层 -->
<!-- 商品列表弹层 -->
...
@@ -212,10 +212,6 @@ export default {
...
@@ -212,10 +212,6 @@ export default {
},
},
// 发送评论
// 发送评论
toSendOut
()
{
toSendOut
()
{
if
(
this
.
info
.
liveBroadcastState
<
1
)
{
this
.
notAgainLive
();
return
;
}
this
.
isSend
=
true
;
this
.
isSend
=
true
;
this
.
getFocus
=
true
;
this
.
getFocus
=
true
;
},
},
...
...
src/pages/lived/index.vue
View file @
74719c90
...
@@ -209,7 +209,6 @@ export default {
...
@@ -209,7 +209,6 @@ export default {
}
等
${
resData
.
entryNoticeList
.
length
}
人`
;
//用户进入
}
等
${
resData
.
entryNoticeList
.
length
}
人`
;
//用户进入
}
}
}
}
this
.
guestBookList
=
resData
.
guestBookList
;
//评论列表
}
else
if
(
}
else
if
(
this
.
liveNoticeInfo
.
liveBroadcastState
==
1
&&
this
.
liveNoticeInfo
.
liveBroadcastState
==
1
&&
resData
.
liveState
==
"END_LIVE"
resData
.
liveState
==
"END_LIVE"
...
@@ -217,8 +216,9 @@ export default {
...
@@ -217,8 +216,9 @@ export default {
// 直播中且接口已结束
// 直播中且接口已结束
this
.
init
();
this
.
init
();
}
}
this
.
likeInfo
=
resData
.
likeInfo
;
this
.
guestBookList
=
resData
.
guestBookList
;
//评论列表
this
.
updateVal
=
Math
.
random
();
this
.
likeInfo
=
resData
.
likeInfo
;
//点赞信息
this
.
updateVal
=
Math
.
random
();
//监听使用数据
}
else
{
}
else
{
if
(
this
.
infoTiming
)
{
if
(
this
.
infoTiming
)
{
clearInterval
(
this
.
infoTiming
);
clearInterval
(
this
.
infoTiming
);
...
...
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