Compare commits
No commits in common. "20ba2e4e8ff0e5d4f0059f635a14bf6d87d0c7bb" and "f83048e5c6c10f60c1eac0b47518b440d6db5631" have entirely different histories.
20ba2e4e8f
...
f83048e5c6
@ -13,10 +13,10 @@
|
||||
<view class="guanzhu" @click="guanzhu"><text style="color:#fff;font-size:24rpx">{{info.is_attention == 1 ? '已关注' : '关注'}}</text></view>
|
||||
</view>
|
||||
<view class="userlist" :style="{'top': top + 10 * rpx}">
|
||||
<image class="userlistitem" v-for="(i,j) in room.onlineUsers.users.slice(0,3)" :src="i.avatar" :style="{'right': (-j * 15 * rpx) + 'px'}" :key="j"></image>
|
||||
<image class="userlistitem" v-for="(i,j) in [0,1,2]" :style="{'right': (-j * 15 * rpx) + 'px'}" :key="j"></image>
|
||||
</view>
|
||||
<view class="hot" :style="{'top': top + 10 * rpx}">
|
||||
<text class="hottext">{{room.onlineUsers.users.length}}</text>
|
||||
<text class="hottext">2.8w</text>
|
||||
</view>
|
||||
<image class="cart" src="../../static/cart.png" @click="show = true">
|
||||
|
||||
@ -179,6 +179,7 @@
|
||||
height: 60rpx;
|
||||
position: relative;
|
||||
border-radius: 30rpx;
|
||||
background-color: #0f0;
|
||||
}
|
||||
.userlist{
|
||||
display: flex;
|
||||
@ -259,6 +260,7 @@
|
||||
height: 31rpx;
|
||||
position: fixed;
|
||||
right: 31rpx;
|
||||
background-color: #0f0;
|
||||
}
|
||||
.danmufasongbox{
|
||||
width: 308rpx;
|
||||
@ -446,7 +448,6 @@ export default {
|
||||
|
||||
//获取当前聊天室数据
|
||||
that.room = that.chatRoomService.room;
|
||||
console.log(that.room.onlineUsers)
|
||||
}, 2000);
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user