diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index 189189b..11b13bc 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -13,10 +13,10 @@ {{info.is_attention == 1 ? '已关注' : '关注'}} - + - 2.8w + {{room.onlineUsers.users.length}} @@ -179,7 +179,6 @@ height: 60rpx; position: relative; border-radius: 30rpx; - background-color: #0f0; } .userlist{ display: flex; @@ -260,7 +259,6 @@ height: 31rpx; position: fixed; right: 31rpx; - background-color: #0f0; } .danmufasongbox{ width: 308rpx; @@ -448,6 +446,7 @@ export default { //获取当前聊天室数据 that.room = that.chatRoomService.room; + console.log(that.room.onlineUsers) }, 2000); } })