Commit 74719c90 by 李嘉林

修改

parent b3a04444
......@@ -8,7 +8,7 @@
<span>来了</span>
</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>
<!-- 商品列表弹层 -->
......@@ -212,10 +212,6 @@ export default {
},
// 发送评论
toSendOut() {
if (this.info.liveBroadcastState < 1) {
this.notAgainLive();
return;
}
this.isSend = true;
this.getFocus = true;
},
......
......@@ -209,7 +209,6 @@ export default {
}${resData.entryNoticeList.length}人`;//用户进入
}
}
this.guestBookList=resData.guestBookList;//评论列表
} else if (
this.liveNoticeInfo.liveBroadcastState == 1 &&
resData.liveState == "END_LIVE"
......@@ -217,8 +216,9 @@ export default {
// 直播中且接口已结束
this.init();
}
this.likeInfo=resData.likeInfo;
this.updateVal = Math.random();
this.guestBookList=resData.guestBookList;//评论列表
this.likeInfo=resData.likeInfo;//点赞信息
this.updateVal = Math.random();//监听使用数据
} else {
if (this.infoTiming) {
clearInterval(this.infoTiming);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment