直播人数

This commit is contained in:
luyuan 2020-08-14 14:38:43 +08:00
parent bfa4ed6edb
commit 74b10f4620
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -41,7 +41,7 @@
<image class="userhead" :src="info.member_avatar"></image> <image class="userhead" :src="info.member_avatar"></image>
<div class="userinfo"> <div class="userinfo">
<text class="username">{{info.member_nickname}}</text> <text class="username">{{info.member_nickname}}</text>
<text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length}}</text> <text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length - 1 < 0 ? 0 : room.onlineUsers.users.length - 1}}</text>
</div> </div>
</div> </div>
<image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image> <image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image>