From e354152bebe25abeb17a05cdffebcec50ad01505 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 4 Aug 2020 11:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/zhibo/index.nvue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); } })