Commit 74719c90 by 李嘉林

修改

parent b3a04444
...@@ -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;
}, },
......
...@@ -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);
......
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